summaryrefslogtreecommitdiff
path: root/test/baseline/opt-rich-data.test
diff options
context:
space:
mode:
authortripun <tripun@gmail.com>2014-08-09 16:21:55 +0530
committerMartin Michlmayr <tbm@cyrius.com>2014-08-10 08:42:28 +0200
commitc4ea52ac85ddfc70a96d739b4d5d56177d96f792 (patch)
tree85987597068e0735d6afeb69413854b065eba19e /test/baseline/opt-rich-data.test
parent6ba74033de8b616007f5173c43da4b26e96d91c0 (diff)
downloadfork-ledger-c4ea52ac85ddfc70a96d739b4d5d56177d96f792.tar.gz
fork-ledger-c4ea52ac85ddfc70a96d739b4d5d56177d96f792.tar.bz2
fork-ledger-c4ea52ac85ddfc70a96d739b4d5d56177d96f792.zip
add tests for --detail and --rich-data
Diffstat (limited to 'test/baseline/opt-rich-data.test')
-rw-r--r--test/baseline/opt-rich-data.test32
1 files changed, 32 insertions, 0 deletions
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
+