summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Update test for --auto-match option.thdox2015-02-221-3/+44
|
* Improve documentation about --rich-data.thdox2015-02-211-0/+10
| | | | | Conflicts: doc/ledger.1
* [tests] Minor test/DocTests.py clean upAlexis Hildebrandt2015-02-201-16/+7
|
* [doc] Add support for additional input filesAlexis Hildebrandt2015-02-201-2/+12
| | | in test/DocTests.py by allowing file: and with_file: options on examples.
* [tests] Improve error reporting for test/DocTests.pyAlexis Hildebrandt2015-02-201-7/+9
|
* [tests] Add output when skipping incomplete testsAlexis Hildebrandt2015-02-201-1/+7
| | | in test/DocTests.py
* [tests] Clean-up test/DocTests.pyAlexis Hildebrandt2015-02-201-17/+19
| | | | * Replace hard-coded strings with token variables * Use os.path.join to create file paths
* [tests] Allow testing of multi-line examplesAlexis Hildebrandt2015-02-181-1/+1
|
* [doc] Report undocumented value expression functionsAlexis Hildebrandt2015-01-273-12/+78
| | | | in the manpage and texinfo manual.
* [doc] Improve @smallexample command line parsingAlexis Hildebrandt2015-01-271-2/+4
| | | | by using Python shlex.
* Merge pull request #383 from thdox/add-to-doc2Alexis Hildebrandt2015-01-272-19/+19
|\ | | | | | | | | Add documentation for option --permissive. [ci skip]
| * Rename file from test/regress/634AA589.test tothdox2015-01-222-19/+19
| | | | | | | | | | test/baseline/opt-permissive.test. Actually 634AA589 is the initial commit that created permissive option.
* | [tests] Grep for option alternates during checksAlexis Hildebrandt2015-01-251-11/+17
| |
* | [tests] Ignore comment lines when checking texinfoAlexis Hildebrandt2015-01-231-1/+2
| | | | | | | | so that "empty" options are also reported as undocumented.
* | [tests] Move untested_options to CheckBaselineTestsAlexis Hildebrandt2015-01-222-29/+29
|/
* [tests] Capture stderr when running DocTestsAlexis Hildebrandt2015-01-211-1/+1
|
* [tests] Improve option parsing in CheckTexinfo.pyAlexis Hildebrandt2015-01-211-0/+34
| | | | | | | * Replace @ftable @code argument with @option of @command depending on the documented items * Remove @c option comment from @items documenting options
* [tests] Refactor CheckTests.py into custom scriptsAlexis Hildebrandt2015-01-217-141/+244
|
* [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>
* [doc] Add CheckTests to ctestAlexis Hildebrandt2015-01-156-79/+156
| | | | | | | to check whether all available ledger options documented and are being tested. Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
* [tests] Fix compiler warningAlexis Hildebrandt2015-01-111-0/+3
|
* Merge pull request #358 from afh/pull/DocTestsJohn Wiegley2014-12-301-2/+15
|\ | | | | [tests] Add examples parameter to DocTests
| * [tests] Add examples parameter to DocTestsAlexis Hildebrandt2014-12-301-2/+15
| | | | | | to test the given examples only instead of every example.
* | 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.
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
* Merge pull request #346 from afh/pull/trace_levelJohn Wiegley2014-12-241-0/+15
|\ | | | | Fix crash when using --trace 10 or above
| * Fix crash when using --trace 10 or aboveAlexis Hildebrandt2014-12-231-0/+15
| | | | | | | | | | uint8_t is typedef'd to char, thus boost::lexical_cast treats it as such instead of a number.
* | [test] Use --args-only option in DocTests.pyAlexis Hildebrandt2014-12-241-1/+1
|/ | | | instead of --init-file /dev/null
* 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
|
* Fix DocTests running in non-standard width terminalAlexis Hildebrandt2014-12-031-2/+3
| | | | | | | | The changes introduced with 56976a127c081a6a008c81966360003a8711a319 make --columns default to terminal width, as returned by ioctl() break the DocTests when run in a terminal with a width different from the standard of 80 columns.
* Fix and re-enable DocTestsAlexis Hildebrandt2014-11-291-12/+11
|
* 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
* avoid policy warning with recent CMake versionsJohann Klähn2014-09-101-8/+6
| | | | See `cmake --help-policy CMP0026` with CMake ≥ 3.0.
* fix regression testJohann Klähn2014-09-101-1/+1
| | | | see pull request #320 / commit 4c8604266580b2
* Merge pull request #316 from tripun/code_coverageJohn Wiegley2014-08-121-2/+494
|\ | | | | expand unit tests in t_balance.cc
| * Revert "add unit test printing for balance_t" until issue is fixed.tripun2014-08-111-31/+0
| | | | | | | | | | | | Getting different output on system than travis-ci. This reverts commit 272e3cb3799937dcd3c379de56b299a3cbde52ca.
| * add unit test printing for balance_ttripun2014-08-111-0/+31
| |
| * add unit test of Zero for balance_ttripun2014-08-111-0/+26
| |
| * add unit test Truth for balance_ttripun2014-08-111-0/+20
| |
| * add unit test Round for balance_ttripun2014-08-111-0/+50
| |
| * add unit test Floor for balance_ttripun2014-08-111-0/+43
| |
| * add unit test Ceiling for balance_ttripun2014-08-111-0/+43
| |
| * add unit test Absolute for balance_ttripun2014-08-111-0/+25
| |
| * add unit test negation for balance_ttripun2014-08-111-0/+35
| |
| * add unit test for balance divisiontripun2014-08-111-0/+45
| |
| * add test for multiplicationtripun2014-08-111-0/+45
| |
| * edited subraction testtripun2014-08-111-1/+1
| |