From e7ed8898725638f2ea47c9480f7ea24b0629eb83 Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Mon, 30 Jun 2014 19:41:38 -0400 Subject: Add regression test for commit de17ccf1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add regression test for commit de17ccf1 (" When a status flag (! or *) is explicitly specified for an individual…") --- test/regress/DE17CCF1.test | 61 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 test/regress/DE17CCF1.test (limited to 'test/regress/DE17CCF1.test') diff --git a/test/regress/DE17CCF1.test b/test/regress/DE17CCF1.test new file mode 100644 index 00000000..00d4184b --- /dev/null +++ b/test/regress/DE17CCF1.test @@ -0,0 +1,61 @@ + +--date-format %Y-%m-%d + +2014-06-30 Uncleared + U:U 10.00 EUR + ! U:P 10.00 EUR + * U:C 10.00 EUR + Equity -30.00 EUR + +2014-06-30 ! Pending + P:U 10.00 EUR + ! P:P 10.00 EUR + * P:C 10.00 EUR + Equity -30.00 EUR + +2014-06-30 * Cleared + C:C 10.00 EUR + ! C:P 10.00 EUR + * C:P 10.00 EUR + Equity -30.00 EUR + +test reg u: --uncleared +2014-06-30 Uncleared U:U 10.00 EUR 10.00 EUR + U:P 10.00 EUR 20.00 EUR +end test + +test reg u: --pending +2014-06-30 Uncleared U:P 10.00 EUR 10.00 EUR +end test + +test reg u: --cleared +2014-06-30 Uncleared U:C 10.00 EUR 10.00 EUR +end test + +test reg p: --uncleared +2014-06-30 Pending P:U 10.00 EUR 10.00 EUR + P:P 10.00 EUR 20.00 EUR +end test + +test reg p: --pending +2014-06-30 Pending P:U 10.00 EUR 10.00 EUR + P:P 10.00 EUR 20.00 EUR +end test + +test reg p: --cleared +2014-06-30 Pending P:C 10.00 EUR 10.00 EUR +end test + +test reg c: --uncleared +2014-06-30 Cleared C:P 10.00 EUR 10.00 EUR +end test + +test reg c: --pending +2014-06-30 Cleared C:P 10.00 EUR 10.00 EUR +end test + +test reg c: --cleared +2014-06-30 Cleared C:C 10.00 EUR 10.00 EUR + C:P 10.00 EUR 20.00 EUR +end test + -- cgit v1.2.3