summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBradley M. Kuhn <bkuhn@ebb.org>2012-09-06 19:57:22 -0400
committerBradley M. Kuhn <bkuhn@ebb.org>2012-09-06 20:31:48 -0400
commit7c57cf4e5409a8addc4256293b34defffd762adc (patch)
treea0e7b03176ad0e056f869b4fde353a4c399dc1df /contrib
parente98fcf3cb91b60a83d7881c6310887809d2cd9ca (diff)
downloadfork-ledger-7c57cf4e5409a8addc4256293b34defffd762adc.tar.gz
fork-ledger-7c57cf4e5409a8addc4256293b34defffd762adc.tar.bz2
fork-ledger-7c57cf4e5409a8addc4256293b34defffd762adc.zip
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.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/non-profit-audit-reports/tests/non-profit-test-data.ledger22
-rw-r--r--contrib/non-profit-audit-reports/tests/non-profit-test-data_chart-of-accounts.txt4
-rw-r--r--contrib/non-profit-audit-reports/tests/non-profit-test-data_general-ledger.odsbin0 -> 11412 bytes
3 files changed, 26 insertions, 0 deletions
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
--- /dev/null
+++ b/contrib/non-profit-audit-reports/tests/non-profit-test-data_general-ledger.ods
Binary files differ