From 7c57cf4e5409a8addc4256293b34defffd762adc Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Thu, 6 Sep 2012 19:57:22 -0400 Subject: Initial test data for the non-profit-audit-reports contrib application. The basic idea here is that given non-profit-test-data.ledger herein, there should be a script that I could run, in this fashion: $ general-ledger-report -b 2011/03/01 -e 2012/03/01 -f tests/non-profit-test-data.ledger that would generate: non-profit-test-data_chart-of-accounts.txt non-profit-test-data_general-ledger.ods Note that the ODS file currently has placeholders, as I haven't fully figured out how to use the =hyperlink() function to make relative hyperlinks. --- .../tests/non-profit-test-data.ledger | 22 +++++++++++++++++++++ .../non-profit-test-data_chart-of-accounts.txt | 4 ++++ .../tests/non-profit-test-data_general-ledger.ods | Bin 0 -> 11412 bytes 3 files changed, 26 insertions(+) create mode 100644 contrib/non-profit-audit-reports/tests/non-profit-test-data.ledger create mode 100644 contrib/non-profit-audit-reports/tests/non-profit-test-data_chart-of-accounts.txt create mode 100644 contrib/non-profit-audit-reports/tests/non-profit-test-data_general-ledger.ods (limited to 'contrib') diff --git a/contrib/non-profit-audit-reports/tests/non-profit-test-data.ledger b/contrib/non-profit-audit-reports/tests/non-profit-test-data.ledger new file mode 100644 index 00000000..4eeabcf5 --- /dev/null +++ b/contrib/non-profit-audit-reports/tests/non-profit-test-data.ledger @@ -0,0 +1,22 @@ + +2010/01/01 A Donation to Project Foo + Income:Foo:Donation $-100.00 + ;INVOICE: Projects/Foo/Invoices/Invoice20110315.pdf + Assets:Checking $100.00 + + +2011/03/15 A Later Donation to Project Foo + Income:Foo:Donation $-400.00 + Assets:Checking $400.00 + +2011/04/20 (1) A Later Donation to Project Foo + Expenses:Foo:Hosting $250.00 + ;RECEIPT: Projects/Foo/Expenses/hosting/AprilHostingReceipt.pdf + Assets:Checking $-250.00 + +2011/05/10 Donation to General Fund + Income:Donation $-50.00 + ;INVOICE: Financial/Invoices/Invoice20110510.pdf + Assets:Checking $50.00 + + diff --git a/contrib/non-profit-audit-reports/tests/non-profit-test-data_chart-of-accounts.txt b/contrib/non-profit-audit-reports/tests/non-profit-test-data_chart-of-accounts.txt new file mode 100644 index 00000000..57e636b9 --- /dev/null +++ b/contrib/non-profit-audit-reports/tests/non-profit-test-data_chart-of-accounts.txt @@ -0,0 +1,4 @@ +Assets:Checking +Expenses:Foo:Hosting +Income:Donation +Income:Foo:Donation diff --git a/contrib/non-profit-audit-reports/tests/non-profit-test-data_general-ledger.ods b/contrib/non-profit-audit-reports/tests/non-profit-test-data_general-ledger.ods new file mode 100644 index 00000000..80771a6d Binary files /dev/null and b/contrib/non-profit-audit-reports/tests/non-profit-test-data_general-ledger.ods differ -- cgit v1.2.3