summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixed tests relative to recent --pivot changeJohn Wiegley2010-02-046-28/+28
|
* Added baseline tests for unrealized optionsAristid Breitkreuz2009-11-253-0/+68
| | | | | This includes another baseline test for --unrealized, and also new ones for --unrealized-gains and --unrealized-losses.
* Fixed regression tests relating to b1d6ea876c5fJohn Wiegley2009-11-243-0/+6
|
* Fixed a regression test due to changes in amount.hJohn Wiegley2009-11-201-6/+6
|
* Updated test/input/sample.datJohn Wiegley2009-11-201-12/+22
|
* Added baseline test for "sample.dat" contentsJohn Wiegley2009-11-201-0/+91
|
* Many improvements to Ledger's Python bindingsJohn Wiegley2009-11-192-6/+8
|
* Added an --unrealized option, for use with bal -VJohn Wiegley2009-11-191-0/+20
| | | | | | When this option is on, then in balance report which show market values, any gains or losses in value will be balanced into a pair of accounts called Equity:Unrealized Gains and Equity:Unrealized Losses.
* The new period parser is passing all testsJohn Wiegley2009-11-182-14/+69
|
* Renamed date_interval_t::end to finishJohn Wiegley2009-11-172-6/+6
|
* Fixed one of the ExprTestsJohn Wiegley2009-11-151-0/+2
|
* Added baseline test for reg -nJohn Wiegley2009-11-141-0/+46
|
* Renamed the pricesdb command to pricedbJohn Wiegley2009-11-121-1/+1
|
* Automated postings defer amount expression calculationJohn Wiegley2009-11-111-6/+6
| | | | | | | | | | | | | | | | | This allows for value expressions to be used which reference the incoming posting, for example: = Income:Clients: (Liabilities:Taxes:VAT1) (floor(amount) * 1) (Liabilities:Taxes:VAT2) 0.19 2009/07/27 * Invoice Assets:Bank:Checking $1,190.45 Income:Clients:ACME_Inc The automated posting for VAT1 will use the floored amount multiplied by a factor, while the posting for VAT2 multiples the whole amount as before.
* All strings passed to Python are now Unicode objectsJohn Wiegley2009-11-101-0/+1
|
* Automated transactions now use report query syntaxJohn Wiegley2009-11-104-4/+4
| | | | This returns their behavior back very close to what 2.x accepts.
* Redesigned the expr_t, predicate_t, query_t classesJohn Wiegley2009-11-094-121/+133
|
* Column widths are always calculated nowJohn Wiegley2009-11-071-3/+3
|
* Renamed --set-reported-account to just --accountJohn Wiegley2009-11-0613-49/+27
| | | | | | | This fits better with the --amount and --total options, which both change the amount and total used for calculation. Same with --account: it happens after filtering, but before calculation so that balance reports look as you'd expect.
* Report sought magnitude when balancing errors occurJohn Wiegley2009-11-051-0/+2
|
* Only --args-only is needed in LedgerHarness.pyJohn Wiegley2009-11-021-4/+2
|
* Added a regression test relating to forecastingJohn Wiegley2009-11-021-0/+18
|
* Fixed issues with period strings like "2009/10"John Wiegley2009-11-023-120/+170
|
* Renamed the DocTests to ManualTestsJohn Wiegley2009-11-0210-0/+0
|
* Added "reported posts" into account xdataJohn Wiegley2009-11-021-0/+16
| | | | | | | | | This is necessary because sometimes, a post from one account will get reported as though it were in another account (this happens with --budget, to show child account postings within their parent account). In that case, the account needs to remember which postings have been reported as being within it, so that it can add these amounts to its own total in the balance report.
* Added several new regression testsJohn Wiegley2009-11-024-0/+178
|
* Make the source directory available to all testsJohn Wiegley2009-11-024-17/+26
|
* Fixed baseline tests relating to earlier changesJohn Wiegley2009-11-022-2/+10
|
* Added DocTests to verify documentation examplesJohn Wiegley2009-11-0110-0/+214
|
* Setting --date-format in ~/.ledgerrc works againJohn Wiegley2009-10-294-7/+9
|
* Fixes to the Python unit testsJohn Wiegley2009-10-281-16/+16
|
* Disabled some of the expression tests under PythonJohn Wiegley2009-10-281-0/+32
|
* Rewrote the report query parserJohn Wiegley2009-10-282-0/+307
| | | | | | It is now a full parser that parses report queries directly into value expression trees. These then get rendered into text so that other options may extend the expression.
* The test harness needs to run without the pagerJohn Wiegley2009-10-281-1/+1
|
* Colorization at the terminal now on by defaultJohn Wiegley2009-10-281-3/+2
|
* No more trailing spaces in the print reportJohn Wiegley2009-10-282-2/+2
|
* Sort by default unless --unsorted is selectedJohn Wiegley2009-10-289-87/+87
|
* Support a --now option, for testing purposesJohn Wiegley2009-10-271-1/+1
| | | | | | This sets Ledger's notion of the "current time" to the given date. This makes it possible to have stable output from budgeting and forecasting reports, for the sake of baseline tests.
* Call times_initialize/shutdown in the unit testsJohn Wiegley2009-10-256-2/+20
|
* Rewrote the way date and time I/O is managedJohn Wiegley2009-10-254-14/+14
|
* Removed reliance on strptime/strftimeJohn Wiegley2009-10-112-2/+2
| | | | | | | | The code now uses Boost's input and output facets for times and dates. This ensures completely consistency regarding timezones and times, and fixes the regression test that was broken while I was away coding in London (where it was GMT-0 and I didn't notice the difference between local and GMT).
* Disabled the --seed regression testJohn Wiegley2009-10-111-0/+0
| | | | There is already a much more comprehensive test for "generate --seed".
* Correctly align amounts formatted as "%12(amount)"John Wiegley2009-06-281-0/+35
|
* Added four missing baseline testsJohn Wiegley2009-06-284-0/+45
|
* Improved usefulness of the "print --anon" outputJohn Wiegley2009-06-271-2/+2
|
* Restored --price option, added baseline testJohn Wiegley2009-06-261-0/+47
| | | | | | | This option reports only in terms of the annotated price of the commodities involved, otherwise it reports the amounts themselves. It can be used in conjunction with other reports, as it applies to the displayed amounts, not the actual amounts being calculated.
* The --download option is now fully restoredJohn Wiegley2009-06-261-1/+1
|
* Added baseline test for --onlyJohn Wiegley2009-06-211-0/+236
|
* Restored the --truncate option, added baseline testJohn Wiegley2009-06-211-0/+144
|
* Added baseline: --sort, --sort-all, --sort-xactsJohn Wiegley2009-06-213-0/+544
|