From 01252035cdc23ff64a593471e0272e7bbe9b1786 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Mon, 12 Jan 2015 11:15:03 +0100 Subject: [doc] Add CheckTests to ctest to check whether all available ledger options documented and are being tested. Signed-off-by: Alexis Hildebrandt --- test/baseline/opt-no-titles.test | 10 ++++++++++ test/baseline/opt-values.test | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100644 test/baseline/opt-values.test (limited to 'test/baseline') 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 -- cgit v1.2.3