summaryrefslogtreecommitdiff
path: root/test/regress
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* | fix bug 788: behaviour of source_context for '-f -'Johann Klähn2013-01-151-0/+12
| | | | | | | | | | | | `session_t::read_data` did not set context.pathname to `/dev/stdin` for the special case `-f -`. I chose to adjust `source_context` too as there is no sensible context if no file name is provided.
* | Merge branch 'next' of github.com:ledger/ledger into nextJohn Wiegley2012-11-263-0/+10
|\ \
| * | Fix crash when accessing the transaction code via post.xact.code using pythonAlexis Hildebrandt2012-11-193-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ledger would abort with the following error message: TypeError: No Python class registered for C++ class boost::optional<std::string> The changes pass a CallPolicy to make_getter when adding the transaction code property for python, so that the correct to_python conversion is made. For details see: http://www.boost.org/doc/libs/1_52_0/libs/python/doc/v2/faq.html#topythonconversionfailed
* | | Fixed a regression testJohn Wiegley2012-11-121-10/+10
|/ /
* | fix bucket directive (bug 765)Johann Klähn2012-10-231-0/+15
| | | | | | | | | | | | | | | | This was caused by both 'A' and 'bucket' using default_account_directive. This function was still stripping the 'A' directive, so the first character of the account name used with 'bucket' was cut off. Maybe the code for the other directives should be changed accordingly for consistency (put line + 1 in call instead of function).
* | Rounding is different for balance totals vs. postings when using posting costs.Bradley M. Kuhn2012-09-302-0/+30
| | | | | | | | | | | | | | | | | | | | test/regress/CAE63F5C-b.test and test/regress/CAE63F5C-c.test should both pass, but test/regress/CAE63F5C-c.test does not, because the total line of $6.46 is rounded wrong; it should be $6.45. There seems to be different rounding occurring for totals vs. postings. This seems to be related to Bug #492.
* | Running totals on a report including automated transactions are computed ↵Paolo Capriotti2012-09-301-0/+17
| | | | | | | | | | | | with extra precision, resulting in balances differing from the sum of their components.
* | Always store absolute paths internallyJohn Wiegley2012-08-021-20/+20
|/
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-0/+19
|
* Allow --invert to work with --monthlyJohn Wiegley2012-04-061-0/+7
| | | | Fixes #770
* Fix to Python value() method handlingJohn Wiegley2012-03-302-0/+42
|
* Added another Python support regression testJohn Wiegley2012-03-303-0/+56
|
* Added the first Python support regression testJohn Wiegley2012-03-303-0/+11
|
* Never price commodities using annotated commoditiesJohn Wiegley2012-03-301-10/+10
|
* Add a regression testMartin Michlmayr2012-03-291-0/+13
|
* Add more testsMartin Michlmayr2012-03-272-0/+32
|
* Fixed an interaction with equity and virtual accountsJohn Wiegley2012-03-221-0/+24
| | | | Fixes #686
* Renamed F32DBEF1.test to CEECC0B0.testJohn Wiegley2012-03-221-0/+0
|
* Simply regression tests by using $FILEMartin Michlmayr2012-03-225-5/+5
|
* Add more test casesMartin Michlmayr2012-03-223-0/+50
|
* Add more regression testsMartin Michlmayr2012-03-229-0/+298
|