summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-28 15:51:05 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-28 15:51:05 +0100
commit6e582a87774140337b56568358e27e7cfe09514c (patch)
tree07b27a38c5f929cb2d7a2193f6917b671e4dcd21 /test
parent6fbce9dd1aefb08b42a4f800e7c702679f39d6d5 (diff)
downloadfork-ledger-6e582a87774140337b56568358e27e7cfe09514c.tar.gz
fork-ledger-6e582a87774140337b56568358e27e7cfe09514c.tar.bz2
fork-ledger-6e582a87774140337b56568358e27e7cfe09514c.zip
Added four missing baseline tests
Diffstat (limited to 'test')
-rw-r--r--test/baseline/opt-color.test13
-rw-r--r--test/baseline/opt-comm-as-account.test11
-rw-r--r--test/baseline/opt-comm-as-payee.test11
-rw-r--r--test/baseline/opt-no-total.test10
4 files changed, 45 insertions, 0 deletions
diff --git a/test/baseline/opt-color.test b/test/baseline/opt-color.test
new file mode 100644
index 00000000..169c46ae
--- /dev/null
+++ b/test/baseline/opt-color.test
@@ -0,0 +1,13 @@
+bal --color
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+ 0.350 VMMXX Assets:Investments:Vanguard:VMMXX
+ $-0.35 Income:Dividends:Vanguard:VMMXX
+--------------------
+ $-0.35
+ 0.350 VMMXX
+>>>2
+=== 0
diff --git a/test/baseline/opt-comm-as-account.test b/test/baseline/opt-comm-as-account.test
new file mode 100644
index 00000000..c92a47fd
--- /dev/null
+++ b/test/baseline/opt-comm-as-account.test
@@ -0,0 +1,11 @@
+reg --comm-as-account
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+07-Feb-02 RD VMMXX VMMXX 0.350 VMMXX 0.350 VMMXX
+07-Feb-02 RD VMMXX $ $-0.35 $-0.35
+ 0.350 VMMXX
+>>>2
+=== 0
diff --git a/test/baseline/opt-comm-as-payee.test b/test/baseline/opt-comm-as-payee.test
new file mode 100644
index 00000000..94b37b85
--- /dev/null
+++ b/test/baseline/opt-comm-as-payee.test
@@ -0,0 +1,11 @@
+reg --comm-as-payee
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+07-Feb-02 VMMXX As:In:Vanguard:VMMXX 0.350 VMMXX 0.350 VMMXX
+07-Feb-02 $ In:Di:Vanguard:VMMXX $-0.35 $-0.35
+ 0.350 VMMXX
+>>>2
+=== 0
diff --git a/test/baseline/opt-no-total.test b/test/baseline/opt-no-total.test
new file mode 100644
index 00000000..d1a11485
--- /dev/null
+++ b/test/baseline/opt-no-total.test
@@ -0,0 +1,10 @@
+bal --no-total
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+ 0.350 VMMXX Assets:Investments:Vanguard:VMMXX
+ $-0.35 Income:Dividends:Vanguard:VMMXX
+>>>2
+=== 0