From c4ea52ac85ddfc70a96d739b4d5d56177d96f792 Mon Sep 17 00:00:00 2001 From: tripun Date: Sat, 9 Aug 2014 16:21:55 +0530 Subject: add tests for --detail and --rich-data --- test/baseline/opt-rich-data.test | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'test') diff --git a/test/baseline/opt-rich-data.test b/test/baseline/opt-rich-data.test index e69de29b..c59d2306 100644 --- a/test/baseline/opt-rich-data.test +++ b/test/baseline/opt-rich-data.test @@ -0,0 +1,32 @@ +test -f /dev/null convert test/baseline/feat-convert-with-directives.dat --detail +2012/01/01 * KFC + ; CSV: 2012/01/01,KFC,$10 + ; Imported: 2014/08/09 + ; UUID: 4352cc5a03f882f6f159b90a518667bde7200351 + Expenses:Unknown $10 + Equity:Unknown + +2012/01/02 * REWE SAGT DANKE 123454321 + ; CSV: 2012/01/02,"REWE SAGT DANKE 123454321",10€ + ; Imported: 2014/08/09 + ; UUID: 4d04439fba0c7336377d1191c545efd0cfa15437 + Expenses:Unknown 10€ + Equity:Unknown +end test + +test -f /dev/null convert test/baseline/feat-convert-with-directives.dat --rich-data --date-format %d-%m-%Y +01-01-2012 * KFC + ; CSV: 2012/01/01,KFC,$10 + ; Imported: 2014/08/09 + ; UUID: 4352cc5a03f882f6f159b90a518667bde7200351 + Expenses:Unknown $10 + Equity:Unknown + +02-01-2012 * REWE SAGT DANKE 123454321 + ; CSV: 2012/01/02,"REWE SAGT DANKE 123454321",10€ + ; Imported: 2014/08/09 + ; UUID: 4d04439fba0c7336377d1191c545efd0cfa15437 + Expenses:Unknown 10€ + Equity:Unknown +end test + -- cgit v1.2.3