Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix crash when using -M with empty result | Alexis Hildebrandt | 2014-12-16 | 1 | -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 a013a73b | Martin Michlmayr | 2014-12-11 | 1 | -0/+10 |
| | |||||
* | Fix DocTests running in non-standard width terminal | Alexis Hildebrandt | 2014-12-03 | 1 | -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 DocTests | Alexis Hildebrandt | 2014-11-29 | 1 | -12/+11 |
| | |||||
* | Add ISO 8601 date as recognized date string | Martin Michlmayr | 2014-10-02 | 1 | -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 year | Martin Michlmayr | 2014-10-02 | 1 | -0/+161 |
| | | | | Bug fix for #1074, a regression introduced by the fix for bug #375 | ||||
* | avoid policy warning with recent CMake versions | Johann Klähn | 2014-09-10 | 1 | -8/+6 |
| | | | | See `cmake --help-policy CMP0026` with CMake ≥ 3.0. | ||||
* | fix regression test | Johann Klähn | 2014-09-10 | 1 | -1/+1 |
| | | | | see pull request #320 / commit 4c8604266580b2 | ||||
* | Merge pull request #316 from tripun/code_coverage | John Wiegley | 2014-08-12 | 1 | -2/+494 |
|\ | | | | | expand unit tests in t_balance.cc | ||||
| * | Revert "add unit test printing for balance_t" until issue is fixed. | tripun | 2014-08-11 | 1 | -31/+0 |
| | | | | | | | | | | | | Getting different output on system than travis-ci. This reverts commit 272e3cb3799937dcd3c379de56b299a3cbde52ca. | ||||
| * | add unit test printing for balance_t | tripun | 2014-08-11 | 1 | -0/+31 |
| | | |||||
| * | add unit test of Zero for balance_t | tripun | 2014-08-11 | 1 | -0/+26 |
| | | |||||
| * | add unit test Truth for balance_t | tripun | 2014-08-11 | 1 | -0/+20 |
| | | |||||
| * | add unit test Round for balance_t | tripun | 2014-08-11 | 1 | -0/+50 |
| | | |||||
| * | add unit test Floor for balance_t | tripun | 2014-08-11 | 1 | -0/+43 |
| | | |||||
| * | add unit test Ceiling for balance_t | tripun | 2014-08-11 | 1 | -0/+43 |
| | | |||||
| * | add unit test Absolute for balance_t | tripun | 2014-08-11 | 1 | -0/+25 |
| | | |||||
| * | add unit test negation for balance_t | tripun | 2014-08-11 | 1 | -0/+35 |
| | | |||||
| * | add unit test for balance division | tripun | 2014-08-11 | 1 | -0/+45 |
| | | |||||
| * | add test for multiplication | tripun | 2014-08-11 | 1 | -0/+45 |
| | | |||||
| * | edited subraction test | tripun | 2014-08-11 | 1 | -1/+1 |
| | | |||||
| * | add Equality unit test for balance | tripun | 2014-08-11 | 1 | -2/+65 |
| | | |||||
| * | added boost subtraction unit test | tripun | 2014-08-11 | 1 | -0/+39 |
| | | |||||
| * | added balance addition unit test | tripun | 2014-08-11 | 1 | -4/+42 |
| | | |||||
| * | add balance Test constructors | tripun | 2014-08-11 | 1 | -2/+22 |
| | | |||||
* | | Add --actual-dates tests | tripun | 2014-08-12 | 1 | -0/+18 |
| | | |||||
* | | Add test for primary-date option | tripun | 2014-08-12 | 1 | -0/+81 |
|/ | |||||
* | removing test with reg --lot-prices --equity until issue is fixed | tripun | 2014-08-10 | 1 | -13/+0 |
| | |||||
* | add test for --equity | tripun | 2014-08-10 | 1 | -0/+62 |
| | |||||
* | Rename test since the equity command is being tested, not the option | Martin Michlmayr | 2014-08-10 | 1 | -0/+0 |
| | |||||
* | Define payees to get rid of trailing whitespace | Martin Michlmayr | 2014-08-10 | 1 | -10/+10 |
| | |||||
* | Fix minor whitespace issues | Martin Michlmayr | 2014-08-10 | 3 | -7/+7 |
| | |||||
* | fixed --rich-data test | tripun | 2014-08-10 | 1 | -6/+6 |
| | |||||
* | add test for --datetime-format | tripun | 2014-08-10 | 1 | -0/+22 |
| | |||||
* | add test for --time-colon | tripun | 2014-08-10 | 1 | -0/+45 |
| | |||||
* | add test for --time-report | tripun | 2014-08-10 | 1 | -0/+44 |
| | |||||
* | add test for --immediate | tripun | 2014-08-10 | 1 | -0/+32 |
| | |||||
* | add test for alternative of tail, i.e last | tripun | 2014-08-10 | 1 | -0/+14 |
| | |||||
* | add test for --date expr | tripun | 2014-08-10 | 1 | -0/+50 |
| | |||||
* | add tests for --detail and --rich-data | tripun | 2014-08-10 | 1 | -0/+32 |
| | |||||
* | add alternative for --head , i.e --first | tripun | 2014-08-10 | 1 | -0/+14 |
| | |||||
* | added test for alternatives of --gain , i.e --change and -G | tripun | 2014-08-10 | 1 | -1/+10 |
| | |||||
* | add test for --dc | tripun | 2014-08-10 | 1 | -0/+22 |
| | |||||
* | Add a regression test for bug #712 | Martin Michlmayr | 2014-07-14 | 2 | -0/+22 |
| | |||||
* | Add regression tests for bug #713 | Martin Michlmayr | 2014-07-14 | 2 | -0/+88 |
| | |||||
* | Regenerate tests for fix for bug #713 | Martin Michlmayr | 2014-07-14 | 5 | -1799/+639 |
| | | | | | | | | | | | | | | | | | | | | | | | | | The fix for bug #713 changes the way capital gains as well as basis costs are shown. All of these tests use the same input file, which includes capital gains and losses. The tests are too long to update and verify manually but I verified some files and believe the output is correct. I've therefore updated the tests with the output of the fixed ledger. Let's take baseline/opt-lot-dates.test as one example. In the past, ledger generated the following incorrect Equity entries: 190.42G Equity 236.83G Capital Gains -46.41G Capital Losses If you compare the end of the diff of the test, you'll see: - 35.42G + -155.00G The difference is: 35.42 - -155.00 = 190.42 This matches exactly the Equity entries previously generated, which shouldn't be there. | ||||
* | Update tests for fix for bug #713 | Martin Michlmayr | 2014-07-14 | 6 | -42/+37 |
| | | | | | | | 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 de17ccf1 | Martin Michlmayr | 2014-06-30 | 1 | -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 whitespace | Martin Michlmayr | 2014-06-05 | 1 | -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 ledger2 | Martin Michlmayr | 2014-05-30 | 2 | -1/+91 |
| | | | | | | | This brings some single character format strings in line with what they actually meant in ledger2. Bug fix for #755 |