summaryrefslogtreecommitdiff
path: root/test/regress
Commit message (Collapse)AuthorAgeFilesLines
* [python] Remove double quotes from unicode valuesAlexis Hildebrandt2016-01-112-0/+17
| | | | | When converting a ledger.Value to unicode the Python API added double quotes around it.
* Always use plurar Expenses: for consistencyMartin Michlmayr2015-12-142-4/+4
|
* [tests] Set timezone for running testsAlexis Hildebrandt2015-08-071-1/+1
| | | | so that the tests run with a consistent environment.
* Merge pull request #424 from thdox/bug-1057John Wiegley2015-08-041-0/+11
|\ | | | | Add regression test file for bug #1057
| * Modification to help fix issue when compiling with travisthdox2015-07-311-1/+1
| | | | | | | | | | -(("/home/travis/build/ledger/ledger/test/regress/1057.test" 1 (21308 34912 0) nil "www.amazon.fr" +(("/home/travis/build/ledger/ledger/test/regress/1057.test" 1 (21308 42112 0) nil "www.amazon.fr"
| * regression test file for bug 1057thdox2015-07-311-0/+11
| |
* | Fix test file regress/25A099C9.test.thdox2015-07-311-33/+51
| |
* | Revert "Disable three tests preventing Jenkins from succeeding"thdox2015-07-311-0/+0
|/ | | | This reverts commit 8d1067c89c1c283accfeebb1ff35276b8eb35749.
* Rename file from test/regress/634AA589.test tothdox2015-01-221-19/+0
| | | | | test/baseline/opt-permissive.test. Actually 634AA589 is the initial commit that created permissive option.
* [fix] Make trim function trim trailing whitespaceAlexis Hildebrandt2015-01-201-0/+11
| | | | | | std::isspace(*e) returns false for the end of c-string null-byte. Bugzilla: 1106
* Fix -i short-option for --init-fileAlexis Hildebrandt2015-01-151-0/+8
| | | | | | Bugfix for #1102 Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
* Bugfix 1038: empty reg report for this month periodAlexis Hildebrandt2014-12-293-0/+56
| | | | | when year was specified with literal Y or year directive, but not when using apply year.
* Fix crash when using -M with empty resultAlexis Hildebrandt2014-12-161-0/+37
| | | | | | | ledger -f /dev/null reg -M test causes a segmentation fault, see bug 730 and duplicates 1080 and 1084 for details. Kudos to Ikke for helping with debugging.
* Add test case for off by one error in textual.cc fixed in a013a73bMartin Michlmayr2014-12-111-0/+10
|
* Add ISO 8601 date as recognized date stringMartin Michlmayr2014-10-021-0/+31
| | | | | | | | Dates specified via --begin and --end are converted to a value expression using an ISO 8601 (yyyy-mm-dd) date, but this date was not recognized by ledger. Bug fix for #1072
* Fix period expression parsing for month to month without yearMartin Michlmayr2014-10-021-0/+161
| | | | Bug fix for #1074, a regression introduced by the fix for bug #375
* fix regression testJohann Klähn2014-09-101-1/+1
| | | | see pull request #320 / commit 4c8604266580b2
* Add a regression test for bug #712Martin Michlmayr2014-07-142-0/+22
|
* Add regression tests for bug #713Martin Michlmayr2014-07-142-0/+88
|
* Update tests for fix for bug #713Martin Michlmayr2014-07-143-7/+2
| | | | | | | John's fix for bug #713 changes the way basis cost are calculated. The patch also fixes #712, which caused ledger to create automatic Equity:Capital Gains that were not correct. Update the test cases accordingly after verifying the new output.
* Add regression test for commit de17ccf1Martin Michlmayr2014-06-301-0/+61
| | | | | Add regression test for commit de17ccf1 (" When a status flag (! or *) is explicitly specified for an individual…")
* Don't lose commodity when cost is not separated by whitespaceMartin Michlmayr2014-06-051-0/+39
| | | | | | | | When a cost was specified without a whitespace after the @ symbol, as in @$5.01, this was incorrectly parsed as 5.01 (losing the commodity) rather than $5.01. Bug fix for #1050
* Improve backwards compatibility with ledger2Martin Michlmayr2014-05-302-1/+91
| | | | | | | This brings some single character format strings in line with what they actually meant in ledger2. Bug fix for #755
* Handle POST_COST_VIRTUAL in printMartin Michlmayr2014-05-301-0/+35
| | | | Bug fix for #1046
* Check whether a month is followed by a yearMartin Michlmayr2014-05-301-0/+36
| | | | Bug fix for #375
* Add test case to test for invalid option embedded in journalMartin Michlmayr2014-05-261-0/+11
|
* Add test case for: option --permissive now quiets balance assertionsMartin Michlmayr2014-05-181-0/+19
| | | | | Add a test csae for the change "The option --permissive now quiets balance assertions" (634aa589)
* Fix bug introduced by commit AA2FF2Bthdox2014-05-171-0/+10
| | | | Correction is to not use uninitialized amount
* Ensure that high-levels directives have arguments if they need oneMartin Michlmayr2014-05-141-0/+80
| | | | | Ensure that high-levels directives, such as account, alias and commodity, have arguments if they need one. Bug fix for #1036
* Ensure that directives have arguments if they need oneMartin Michlmayr2014-05-141-0/+85
| | | | | Ensure that account, commodity and payee directives have arguments if they need one. Bug fix for #785
* Remove trailing whitespace from error messagesMartin Michlmayr2014-05-1312-15/+15
| | | | Fix for bug #867
* Add a test for an error in an included fileMartin Michlmayr2014-05-132-0/+22
|
* Update Python tests for fix for bug #383Martin Michlmayr2014-05-132-2/+2
|
* Add test cases for bug #494Martin Michlmayr2014-05-132-0/+27
| | | | | The issues raised in bug #494 are no longer there but let's add some test cases.
* Honour date-format for lot datesMartin Michlmayr2014-05-131-0/+29
| | | | Fixes bug #383
* Add another test case for bug #999Martin Michlmayr2014-05-122-0/+22
|
* Use the POST_COST_VIRTUAL flag when exchange commoditiesJohn Wiegley2014-05-081-0/+6
| | | | Fixes #999
* Fix apply_year_directiveAlexis Hildebrandt2014-02-121-0/+24
| | | | | | Using the Y 2014 syntax works fine, but using apply year 2014 resulted in the following error: Error: Year is out of valid range: 1400..10000 since part of the given year string was chopped off.
* Disable three tests preventing Jenkins from succeedingJohn Wiegley2013-06-191-0/+0
| | | | | | These aren't actually failures, just issues with the way that Jenkins works on my system (mainly because ~/.jenkins is a symlink pointing at another volume).
* Fix #784John Wiegley2013-05-231-1/+1
|
* Remove some unnecessary and complicated logicJohn Wiegley2013-05-191-0/+10
| | | | Fixes #712
* Add unit test for 686John Wiegley2013-05-191-0/+33
|
* Get the unit tests passing againJohn Wiegley2013-05-192-2/+2
|
* Divorces 25A099C9 from the actual amount.h source fileCraig Earls2013-01-301-21/+21
| | | | | | | This test appears to test the garbage input handling on ledger. garbage-input.dat has been added to the test directory for use by this test, allowing development with amount.h to proceed without tripping this particular test inappropriately
* Merge branch 'master' into nextJohann Klähn2013-01-186-0/+31
|\ | | | | | | | | | | Some commits were on the master branch but not yet on the next branch due to a pull request to master after those two branches diverged. This merge ensures that next ⊇ master.
| * ignore extra fields when converting csv filesJohann Klähn2012-10-132-0/+7
| | | | | | | | This fixes bug #736.
| * ignore (some) empty field when converting csvJohann Klähn2012-10-134-0/+24
| | | | | | | | This fixes bug #733 and bug #734.
* | change handling of standard inputJohann Klähn2013-01-172-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For `-f /dev/stdin`, the `pathname` of the parsing context will be empty as for any other streamed input. `instance_t::include_directive` did not work as expected for `-f /dev/stdin` and relative file names. One would expect them to be relative to the current directory rather than `/dev`. This will lead to `While parsing file ""` messages. This could be adjusted to read `While parsing standard input`, but maybe it's not worth the special cases. This commit also fixes bug 788: behaviour of source_context for '-f -'
* | fix ctest rulesJohann Klähn2013-01-171-19/+1
| |
* | Revert "fix bug 788: behaviour of source_context for '-f -'"John Wiegley2013-01-161-12/+0
| | | | | | | | This reverts commit 0a1ff035421d5f97675ad769a7fcdbc68399f3dc.