summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #317 from tripun/code_coverageJohn Wiegley2015-08-042-1/+715
|\ | | | | Add some unit tests for value_t
| * fix minor issuestripun2014-08-181-5/+8
| |
| * add additional tests for sequence_t and fix the old onestripun2014-08-181-22/+50
| |
| * add test for sequenc_t in value_ttripun2014-08-181-0/+32
| |
| * add unit test Negation for valuetripun2014-08-181-0/+46
| |
| * minor additionstripun2014-08-181-0/+1
| |
| * add test for zero for valuetripun2014-08-181-0/+57
| |
| * check Type unit test for valuetripun2014-08-181-0/+50
| |
| * add Division unit test for valuetripun2014-08-181-0/+63
| |
| * remove some statements until sequence multiplication run-time error is fixedtripun2014-08-181-11/+0
| |
| * add Multiplication unit test for valuetripun2014-08-181-0/+79
| |
| * add unit test subtraction for valuetripun2014-08-181-0/+93
| |
| * add whitespacestripun2014-08-171-4/+4
| |
| * add unit test Addition for valuetripun2014-08-171-0/+102
| |
| * add unit test of equality for valuetripun2014-08-171-0/+64
| |
| * add assignment unit test for valuetripun2014-08-171-0/+35
| |
| * add constructors unit test for valuetripun2014-08-171-0/+35
| |
| * initialize value fixturetripun2014-08-161-0/+37
| |
| * add t_value unit testtripun2014-08-152-1/+1
| |
* | 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
| |
| * add Equality unit test for balancetripun2014-08-111-2/+65
| |
| * added boost subtraction unit testtripun2014-08-111-0/+39
| |
| * added balance addition unit testtripun2014-08-111-4/+42
| |