diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-21 13:25:17 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-21 13:25:17 -0400 |
commit | 009e07690db50b4e0fb85a2e5ed876bb0dc4235e (patch) | |
tree | 0aff36f7de175f4936ce99bb3d0762540e089ee1 /test | |
parent | 9d9a8bd83d324ab5169f01f675d62844964dbd4f (diff) | |
download | fork-ledger-009e07690db50b4e0fb85a2e5ed876bb0dc4235e.tar.gz fork-ledger-009e07690db50b4e0fb85a2e5ed876bb0dc4235e.tar.bz2 fork-ledger-009e07690db50b4e0fb85a2e5ed876bb0dc4235e.zip |
Added tests for sole budget/forecast reports
Diffstat (limited to 'test')
-rw-r--r-- | test/baseline/opt-budget_only.test | 22 | ||||
-rw-r--r-- | test/baseline/opt-forecast_only.test | 64 |
2 files changed, 86 insertions, 0 deletions
diff --git a/test/baseline/opt-budget_only.test b/test/baseline/opt-budget_only.test new file mode 100644 index 00000000..b052ed36 --- /dev/null +++ b/test/baseline/opt-budget_only.test @@ -0,0 +1,22 @@ +reg income --budget --now=2010/06/20 +<<< +~ Monthly since 2010/01/01 + Expenses:Bills:Rent $873.00 + Expenses:Household $200.00 + Income:Salary -$2491.60 + Assets:Bank:Checking + +~ biweekly from 2010/02/23 + Expenses:Bills:Housecleaning $85.00 + Assets:Bank:Checking + +2010/06/22 c897683b + Expenses:Household $100.00 + Assets:Bank:Checking +>>> +10-Jan-01 Budget transaction Income:Salary $2491.60 $2491.60 +10-Feb-01 Budget transaction Income:Salary $2491.60 $4983.20 +10-Mar-01 Budget transaction Income:Salary $2491.60 $7474.80 +10-Apr-01 Budget transaction Income:Salary $2491.60 $9966.40 +10-May-01 Budget transaction Income:Salary $2491.60 $12458.00 +10-Jun-01 Budget transaction Income:Salary $2491.60 $14949.60 diff --git a/test/baseline/opt-forecast_only.test b/test/baseline/opt-forecast_only.test new file mode 100644 index 00000000..c63ab2a9 --- /dev/null +++ b/test/baseline/opt-forecast_only.test @@ -0,0 +1,64 @@ +reg --forecast 'date <[2011]' --now=2010/06/21 +<<< +~ Monthly since 2010/01/01 + Expenses:Bills:Rent $873.00 + Expenses:Household $200.00 + Income:Salary -$2491.60 + Assets:Bank:Checking + +~ biweekly from 2010/02/23 + Expenses:Bills:Housecleaning $85.00 + Assets:Bank:Checking +>>> +10-Jul-01 Forecast transaction Expenses:Bills:Rent $873.00 $873.00 +10-Jul-01 Forecast transaction Expenses:Household $200.00 $1073.00 +10-Jul-01 Forecast transaction Income:Salary $-2491.60 $-1418.60 +10-Jul-01 Forecast transaction Assets:Bank:Checking $1418.60 0 +10-Jun-27 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Jun-27 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Jul-11 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Jul-11 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Aug-01 Forecast transaction Expenses:Bills:Rent $873.00 $873.00 +10-Aug-01 Forecast transaction Expenses:Household $200.00 $1073.00 +10-Aug-01 Forecast transaction Income:Salary $-2491.60 $-1418.60 +10-Aug-01 Forecast transaction Assets:Bank:Checking $1418.60 0 +10-Jul-25 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Jul-25 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Aug-08 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Aug-08 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Sep-01 Forecast transaction Expenses:Bills:Rent $873.00 $873.00 +10-Sep-01 Forecast transaction Expenses:Household $200.00 $1073.00 +10-Sep-01 Forecast transaction Income:Salary $-2491.60 $-1418.60 +10-Sep-01 Forecast transaction Assets:Bank:Checking $1418.60 0 +10-Aug-22 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Aug-22 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Sep-05 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Sep-05 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Oct-01 Forecast transaction Expenses:Bills:Rent $873.00 $873.00 +10-Oct-01 Forecast transaction Expenses:Household $200.00 $1073.00 +10-Oct-01 Forecast transaction Income:Salary $-2491.60 $-1418.60 +10-Oct-01 Forecast transaction Assets:Bank:Checking $1418.60 0 +10-Sep-19 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Sep-19 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Oct-03 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Oct-03 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Nov-01 Forecast transaction Expenses:Bills:Rent $873.00 $873.00 +10-Nov-01 Forecast transaction Expenses:Household $200.00 $1073.00 +10-Nov-01 Forecast transaction Income:Salary $-2491.60 $-1418.60 +10-Nov-01 Forecast transaction Assets:Bank:Checking $1418.60 0 +10-Oct-17 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Oct-17 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Oct-31 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Oct-31 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Nov-14 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Nov-14 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Dec-01 Forecast transaction Expenses:Bills:Rent $873.00 $873.00 +10-Dec-01 Forecast transaction Expenses:Household $200.00 $1073.00 +10-Dec-01 Forecast transaction Income:Salary $-2491.60 $-1418.60 +10-Dec-01 Forecast transaction Assets:Bank:Checking $1418.60 0 +10-Nov-28 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Nov-28 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Dec-12 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Dec-12 Forecast transaction Assets:Bank:Checking $-85.00 0 +10-Dec-26 Forecast transaction Exp:Bill:Housecleaning $85.00 $85.00 +10-Dec-26 Forecast transaction Assets:Bank:Checking $-85.00 0 |