From ddf17b62460f17e0cca3b01a40e838544d683f91 Mon Sep 17 00:00:00 2001 From: thdox Date: Tue, 24 Feb 2015 10:46:18 +0100 Subject: Add baseline test for --init-file option. --- test/CheckBaselineTests.py | 1 - 1 file changed, 1 deletion(-) (limited to 'test/CheckBaselineTests.py') diff --git a/test/CheckBaselineTests.py b/test/CheckBaselineTests.py index 3c3e590b..dd6f4702 100755 --- a/test/CheckBaselineTests.py +++ b/test/CheckBaselineTests.py @@ -33,7 +33,6 @@ class CheckBaselineTests (CheckOptions): 'help-comm', 'help-disp', 'import', - 'init-file', 'no-color', 'options', 'price-db', -- cgit v1.2.3 From fce467fba9ebce81c0235916ff4848f50f1f1f21 Mon Sep 17 00:00:00 2001 From: thdox Date: Tue, 24 Feb 2015 10:49:16 +0100 Subject: Remove --cache from untested options in CheckBaselinetests.py As per commit d5e1308d07e9a7d9da33aed6f7f617b2209cba40 --- test/CheckBaselineTests.py | 1 - 1 file changed, 1 deletion(-) (limited to 'test/CheckBaselineTests.py') diff --git a/test/CheckBaselineTests.py b/test/CheckBaselineTests.py index dd6f4702..e44c576d 100755 --- a/test/CheckBaselineTests.py +++ b/test/CheckBaselineTests.py @@ -21,7 +21,6 @@ class CheckBaselineTests (CheckOptions): self.untested_options = [ 'anon', 'args-only', - 'cache', 'debug', 'download', 'file', -- cgit v1.2.3 From 83bde60ec1c8bb7efcb9145ee8ebb4b3bceb3789 Mon Sep 17 00:00:00 2001 From: thdox Date: Tue, 24 Feb 2015 10:52:56 +0100 Subject: Remove --*help* from untested options in CheckBaselineTests.py As per commit f59abd4c765b08cbd5f18ec851b1d78a766a1c93 --- test/CheckBaselineTests.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/CheckBaselineTests.py') diff --git a/test/CheckBaselineTests.py b/test/CheckBaselineTests.py index e44c576d..e3c8f385 100755 --- a/test/CheckBaselineTests.py +++ b/test/CheckBaselineTests.py @@ -26,11 +26,7 @@ class CheckBaselineTests (CheckOptions): 'file', 'force-color', 'force-pager', - 'full-help', 'help', - 'help-calc', - 'help-comm', - 'help-disp', 'import', 'no-color', 'options', -- cgit v1.2.3 From 72cb48727d979c8a20298ccdb9c711b0ce7a8a03 Mon Sep 17 00:00:00 2001 From: thdox Date: Tue, 24 Feb 2015 10:54:57 +0100 Subject: Add --no-pager to untested options of CheckBaselineTests.py As per comment in Pull Request #382 --- test/CheckBaselineTests.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/CheckBaselineTests.py') diff --git a/test/CheckBaselineTests.py b/test/CheckBaselineTests.py index e3c8f385..1bef0aa0 100755 --- a/test/CheckBaselineTests.py +++ b/test/CheckBaselineTests.py @@ -29,6 +29,7 @@ class CheckBaselineTests (CheckOptions): 'help', 'import', 'no-color', + 'no-pager' 'options', 'price-db', 'price-exp', -- cgit v1.2.3 From e6a967b860d529137df11b2a79b2153c68e48b96 Mon Sep 17 00:00:00 2001 From: thdox Date: Tue, 24 Feb 2015 18:47:40 +0100 Subject: Add baseline test for --script option. --- test/CheckBaselineTests.py | 1 - test/baseline/opt-script.dat | 3 +++ test/baseline/opt-script.test | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 test/baseline/opt-script.dat create mode 100644 test/baseline/opt-script.test (limited to 'test/CheckBaselineTests.py') diff --git a/test/CheckBaselineTests.py b/test/CheckBaselineTests.py index 1bef0aa0..563f8aa5 100755 --- a/test/CheckBaselineTests.py +++ b/test/CheckBaselineTests.py @@ -34,7 +34,6 @@ class CheckBaselineTests (CheckOptions): 'price-db', 'price-exp', 'revalued-total', - 'script', 'seed', 'trace', 'verbose', diff --git a/test/baseline/opt-script.dat b/test/baseline/opt-script.dat new file mode 100644 index 00000000..ac6085d5 --- /dev/null +++ b/test/baseline/opt-script.dat @@ -0,0 +1,3 @@ +--no-pager --columns=80 bal +--no-pager --columns=80 reg +--no-pager --columns=80 print diff --git a/test/baseline/opt-script.test b/test/baseline/opt-script.test new file mode 100644 index 00000000..041c15ee --- /dev/null +++ b/test/baseline/opt-script.test @@ -0,0 +1,15 @@ +2012-03-17 KFC + Expenses:Food 20 CAD + Assets:Cash + +test --script test/baseline/opt-script.dat + -20 CAD Assets:Cash + 20 CAD Expenses:Food +-------------------- + 0 +12-Mar-17 KFC Expenses:Food 20 CAD 20 CAD + Assets:Cash -20 CAD 0 +2012/03/17 KFC + Expenses:Food 20 CAD + Assets:Cash +end test -- cgit v1.2.3 From df944929f82b473bbd155eac826420f0b38644eb Mon Sep 17 00:00:00 2001 From: thdox Date: Tue, 24 Feb 2015 10:42:37 +0100 Subject: Add baseline test for --price-db option. --- test/CheckBaselineTests.py | 1 - test/baseline/opt-price-db.dat | 2 ++ test/baseline/opt-price-db.test | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 test/baseline/opt-price-db.dat create mode 100644 test/baseline/opt-price-db.test (limited to 'test/CheckBaselineTests.py') diff --git a/test/CheckBaselineTests.py b/test/CheckBaselineTests.py index 563f8aa5..8c51ddef 100755 --- a/test/CheckBaselineTests.py +++ b/test/CheckBaselineTests.py @@ -31,7 +31,6 @@ class CheckBaselineTests (CheckOptions): 'no-color', 'no-pager' 'options', - 'price-db', 'price-exp', 'revalued-total', 'seed', diff --git a/test/baseline/opt-price-db.dat b/test/baseline/opt-price-db.dat new file mode 100644 index 00000000..abc51a0a --- /dev/null +++ b/test/baseline/opt-price-db.dat @@ -0,0 +1,2 @@ +P 2012-03-16 06:47:12 CAD $2.50 +P 2012-03-17 06:47:12 CAD $3.50 diff --git a/test/baseline/opt-price-db.test b/test/baseline/opt-price-db.test new file mode 100644 index 00000000..06021e4a --- /dev/null +++ b/test/baseline/opt-price-db.test @@ -0,0 +1,8 @@ +2012-03-17 KFC + Expenses:Food 20 CAD + Assets:Cash + +test pricedb --price-db test/baseline/opt-price-db.dat +P 2012/03/16 06:47:12 CAD $2.5 +P 2012/03/17 06:47:12 CAD $3.5 +end test -- cgit v1.2.3