summaryrefslogtreecommitdiff
path: root/test/baseline/cmd-csv.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-26 16:39:25 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-26 16:39:25 -0500
commit64a9b42381c26baf24e58b40f50f0b253e551811 (patch)
tree5447a29dff64c3a8b7be8100a01bcb4a2d73b0bb /test/baseline/cmd-csv.test
parent7cc550fc22357e2ded194d3e65287c6b3317f5ae (diff)
parentb4407c10c0071365322b2963747bf42a57fd7304 (diff)
downloadfork-ledger-64a9b42381c26baf24e58b40f50f0b253e551811.tar.gz
fork-ledger-64a9b42381c26baf24e58b40f50f0b253e551811.tar.bz2
fork-ledger-64a9b42381c26baf24e58b40f50f0b253e551811.zip
Merge branch 'release/v3.0.0-20120426'
Diffstat (limited to 'test/baseline/cmd-csv.test')
-rw-r--r--test/baseline/cmd-csv.test53
1 files changed, 53 insertions, 0 deletions
diff --git a/test/baseline/cmd-csv.test b/test/baseline/cmd-csv.test
new file mode 100644
index 00000000..110e3d58
--- /dev/null
+++ b/test/baseline/cmd-csv.test
@@ -0,0 +1,53 @@
+
+2012-01-01 * Opening balances
+ Assets:A 10.00
+ Equity:Opening balances -10.00
+
+2012-01-02 * Cleared posting
+ Assets:A -10.00
+ Assets:B 10.00
+
+2012-01-03 Uncleared posting
+ Assets:B -5.00
+ Assets:C 5.00
+
+2012-01-04=2012-01-05 * aux date
+ Assets:A 10.00
+ Liabilities:A -10.00
+
+2012-01-05 * (100) Code
+ Assets:A -10.00
+ Liabilities:A 10.00
+
+2012-01-06 * (100) Specify commodity
+ Assets:A $-10.00
+ Liabilities:A $10.00
+
+2012-01-07 * (100) Specify commodity
+ Assets:A -10.00 EUR
+ Liabilities:A 10.00 EUR
+
+2012-01-08 * (100) With note
+ ;This is an xact note
+ Assets:A -10.00 EUR
+ Liabilities:A 10.00 EUR
+
+test csv
+"2012/01/01","","Opening balances","Assets:A","","10","*",""
+"2012/01/01","","Opening balances","Equity:Opening balances","","-10","*",""
+"2012/01/02","","Cleared posting","Assets:A","","-10","*",""
+"2012/01/02","","Cleared posting","Assets:B","","10","*",""
+"2012/01/03","","Uncleared posting","Assets:B","","-5","",""
+"2012/01/03","","Uncleared posting","Assets:C","","5","",""
+"2012/01/04","","aux date","Assets:A","","10","*",""
+"2012/01/04","","aux date","Liabilities:A","","-10","*",""
+"2012/01/05","100","Code","Assets:A","","-10","*",""
+"2012/01/05","100","Code","Liabilities:A","","10","*",""
+"2012/01/06","100","Specify commodity","Assets:A","$","-10","*",""
+"2012/01/06","100","Specify commodity","Liabilities:A","$","10","*",""
+"2012/01/07","100","Specify commodity","Assets:A","EUR","-10","*",""
+"2012/01/07","100","Specify commodity","Liabilities:A","EUR","10","*",""
+"2012/01/08","100","With note","Assets:A","EUR","-10","*","This is an xact note"
+"2012/01/08","100","With note","Liabilities:A","EUR","10","*","This is an xact note"
+end test
+