summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Initial commit of ledger-mode documentation and demo fileCraig Earls2013-02-261-0/+63
|
* Divorces 25A099C9 from the actual amount.h source fileCraig Earls2013-01-302-21/+814
| | | | | | | 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
* Fixes bug 514. accounts and commodities output now sortsCraig Earls2013-01-293-8/+8
| | | | updated tests included.
* Merge branch 'master' into nextJohann Klähn2013-01-187-1/+32
|\ | | | | | | | | | | 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.
| * update baseline test for convert commandJohann Klähn2012-10-131-1/+1
| |
| * 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 -'
* | allow -f /dev/stdin in test runnerJohann Klähn2013-01-171-1/+1
| |
* | fix ctest rulesJohann Klähn2013-01-172-20/+2
| |
* | Revert "fix bug 788: behaviour of source_context for '-f -'"John Wiegley2013-01-161-12/+0
| | | | | | | | This reverts commit 0a1ff035421d5f97675ad769a7fcdbc68399f3dc.
* | fix bug 748: option aliases not recognizedJohann Klähn2013-01-151-1/+1
| |
* | 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.
* | add unit tests for amount_t→floor/ceilJohann Klähn2013-01-151-0/+54
| |
* | 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
|/ /
* | Merge pull request #92 from kljohann/bugs.bucketJohn Wiegley2012-10-251-0/+15
|\ \ | | | | | | fix bucket directive (bug 765)
| * | 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).
* | | provide immediate feedback in test runnerJohann Klähn2012-10-221-0/+2
|/ /
* | fix test runner if filename is specifiedJohann Klähn2012-10-181-2/+4
| | | | | | | | | | | | | | | | | | If the command line switch "-f" is used the test runner will not pass the file name of the test file to ledger. The line "test -f /dev/null" as used in test/baseline/cmd-convert.test did not work as intended before this. Also using "-f - " did not work as "$ledger" was noti prepended to the command.
* | fix account mapping in csv conversionJohann Klähn2012-10-182-0/+31
| | | | | | | | | | | | | | By using payees_for_unknown_accounts instead of account_mappings in csv.cc ledger will have the same behaviour as in `ledger -f - print` in that it uses payee fields in account directives to rewrite the account.
* | 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-023-23/+23
|/
* Enable the baseline and manual testsJohn Wiegley2012-05-203-3/+30
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-203-0/+52
|
* Fixed a test that was unknowingly time-basedJohn Wiegley2012-05-181-4/+4
|
* Fixes so that tests can run under distcheckJohn Wiegley2012-04-252-6/+6
|
* Resolve some issues with proof buildsJohn Wiegley2012-04-152-3/+4
|
* Allow --invert to work with --monthlyJohn Wiegley2012-04-061-0/+7
| | | | Fixes #770
* Added a test harness error diagnosticJohn Wiegley2012-03-302-0/+4
|
* Simplify feat-option_py.testJohn Wiegley2012-03-301-2/+2
|
* 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
|
* Removed the cmd-emacs baseline testJohn Wiegley2012-03-291-18/+0
| | | | The time issue causes too many false positives.
* Add more testsMartin Michlmayr2012-03-273-0/+55
|
* Fix some tests not to be time-sensitiveMartin Michlmayr2012-03-272-8/+8
|
* Add more baseline tests.Martin Michlmayr2012-03-256-1/+139
|
* Add more baseline testsMartin Michlmayr2012-03-2512-4/+583
|
* Add more baseline testsMartin Michlmayr2012-03-252-0/+105
|
* Add more baseline testsMartin Michlmayr2012-03-2513-0/+325
|
* Improve baseline/cmd-payees.testMartin Michlmayr2012-03-251-0/+6
|
* Fixed sorting of equity outputJohn Wiegley2012-03-231-2/+2
|
* Fixed output order in opt-equity.testJohn Wiegley2012-03-231-2/+2
|
* Add more baseline testsMartin Michlmayr2012-03-233-0/+110
|
* Add test case for bug #379Martin Michlmayr2012-03-231-5/+54
|