summaryrefslogtreecommitdiff
path: root/test/baseline
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-01-12 11:15:03 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-01-15 14:53:16 +0100
commit01252035cdc23ff64a593471e0272e7bbe9b1786 (patch)
tree2076af66e543401ef56630b9bb178d532926f4f7 /test/baseline
parentd5c1e05a59c7c1ec4654710377920a51327b9c17 (diff)
downloadfork-ledger-01252035cdc23ff64a593471e0272e7bbe9b1786.tar.gz
fork-ledger-01252035cdc23ff64a593471e0272e7bbe9b1786.tar.bz2
fork-ledger-01252035cdc23ff64a593471e0272e7bbe9b1786.zip
[doc] Add CheckTests to ctest
to check whether all available ledger options documented and are being tested. Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
Diffstat (limited to 'test/baseline')
-rw-r--r--test/baseline/opt-no-titles.test10
-rw-r--r--test/baseline/opt-values.test6
2 files changed, 16 insertions, 0 deletions
diff --git a/test/baseline/opt-no-titles.test b/test/baseline/opt-no-titles.test
index e69de29b..40a9b421 100644
--- a/test/baseline/opt-no-titles.test
+++ b/test/baseline/opt-no-titles.test
@@ -0,0 +1,10 @@
+test reg -f test/input/drewr3.dat --no-titles --group-by payee reg food
+11-Jan-02 Grocery Store Expense:Food:Groceries $ 65.00 $ 65.00
+11-Jan-19 Grocery Store Expense:Food:Groceries $ 44.00 $ 109.00
+10-Dec-20 Organic Co-op Expense:Food:Groceries $ 37.50 $ 37.50
+ Expense:Food:Groceries $ 37.50 $ 75.00
+ Expense:Food:Groceries $ 37.50 $ 112.50
+ Expense:Food:Groceries $ 37.50 $ 150.00
+ Expense:Food:Groceries $ 37.50 $ 187.50
+ Expense:Food:Groceries $ 37.50 $ 225.00
+end test
diff --git a/test/baseline/opt-values.test b/test/baseline/opt-values.test
new file mode 100644
index 00000000..35eeeaf6
--- /dev/null
+++ b/test/baseline/opt-values.test
@@ -0,0 +1,6 @@
+test tags -f test/input/drewr3.dat --values
+hastag: not block
+hastag: true
+nestedtag: true
+nobudget
+end test