Commit graph

5458 commits

Author SHA1 Message Date
Joe Gallo
d5592ea1e3 #if guards for boost 1.56 compatibility 2014-08-28 11:04:55 -04:00
John Wiegley
948f5fea28 Revert "fix "no viable conversion from ... to 'bool'""
This reverts commit df9ae3ab9b.
2014-08-27 11:56:14 -05:00
John Wiegley
4ed6599579 Revert "fix "type 'char' cannot be used prior to '::'""
This reverts commit 38557ee632.
2014-08-27 11:56:07 -05:00
John Wiegley
439923368b Merge pull request #318 from joegallo/master
Compilation errors with boost 1.56
2014-08-26 14:14:02 -05:00
Joe Gallo
38557ee632 fix "type 'char' cannot be used prior to '::'" 2014-08-26 09:09:06 -04:00
Joe Gallo
df9ae3ab9b fix "no viable conversion from ... to 'bool'" 2014-08-26 09:07:57 -04:00
Craig Earls
fa46f3442d fix rare bug in balance report output if the budgeted amount happens to be zero.
See emails in group from John Rakestraw circa November 2011
2014-08-24 18:40:00 -07:00
John Wiegley
ce31029236 Merge pull request #316 from tripun/code_coverage
expand unit tests in t_balance.cc
2014-08-12 11:46:32 -05:00
tripun
8dbeb91493 Add --actual-dates tests 2014-08-12 11:18:45 +02:00
tripun
1b84d960a3 Add test for primary-date option 2014-08-12 11:18:30 +02:00
tripun
0e1ced72bd Revert "add unit test printing for balance_t" until issue is fixed.
Getting different output on system than travis-ci.

This reverts commit 272e3cb3799937dcd3c379de56b299a3cbde52ca.
2014-08-11 21:01:26 +05:30
tripun
84b9ca73aa add unit test printing for balance_t 2014-08-11 21:01:26 +05:30
tripun
3c04ea50ac add unit test of Zero for balance_t 2014-08-11 21:01:26 +05:30
tripun
7e817d45d9 add unit test Truth for balance_t 2014-08-11 21:01:26 +05:30
tripun
c5f41b8519 add unit test Round for balance_t 2014-08-11 21:01:25 +05:30
tripun
3a35d16c28 add unit test Floor for balance_t 2014-08-11 21:01:25 +05:30
tripun
e94efddfb6 add unit test Ceiling for balance_t 2014-08-11 21:01:25 +05:30
tripun
264f8c553c add unit test Absolute for balance_t 2014-08-11 21:01:25 +05:30
tripun
c24fbd6dfb add unit test negation for balance_t 2014-08-11 21:01:25 +05:30
tripun
763c8c1162 add unit test for balance division 2014-08-11 21:01:25 +05:30
tripun
2db0bc9bf9 add test for multiplication 2014-08-11 21:01:25 +05:30
tripun
b9aef7b1ec edited subraction test 2014-08-11 21:01:24 +05:30
tripun
fe91656aa1 add Equality unit test for balance 2014-08-11 21:01:24 +05:30
tripun
57877bf062 added boost subtraction unit test 2014-08-11 21:01:24 +05:30
tripun
696440e735 added balance addition unit test 2014-08-11 21:01:24 +05:30
tripun
6f39d1169d add balance Test constructors 2014-08-11 21:01:24 +05:30
Martin Michlmayr
d6d37516fd Merge pull request #315 from tripun/options_tests
add test for --equity
2014-08-10 18:38:51 +02:00
tripun
35c7c516fc removing test with reg --lot-prices --equity until issue is fixed 2014-08-10 15:03:07 +05:30
tripun
4aedd41367 add test for --equity 2014-08-10 13:32:53 +05:30
Martin Michlmayr
29bd78ca4b Rename test since the equity command is being tested, not the option 2014-08-10 08:56:22 +02:00
Martin Michlmayr
97ab8d7aeb Define payees to get rid of trailing whitespace 2014-08-10 08:55:30 +02:00
Martin Michlmayr
45ace58847 Fix minor whitespace issues 2014-08-10 08:53:34 +02:00
tripun
5cfa1fd7c5 fixed --rich-data test 2014-08-10 08:43:26 +02:00
tripun
573fd8764b add test for --datetime-format 2014-08-10 08:43:18 +02:00
tripun
ebf9585d99 add test for --time-colon 2014-08-10 08:43:09 +02:00
tripun
095aacf39b add test for --time-report 2014-08-10 08:43:01 +02:00
tripun
e8be8f1a9b add test for --immediate 2014-08-10 08:42:55 +02:00
tripun
8eb83ecc9f add test for alternative of tail, i.e last 2014-08-10 08:42:40 +02:00
tripun
1132c78d34 add test for --date expr 2014-08-10 08:42:35 +02:00
tripun
c4ea52ac85 add tests for --detail and --rich-data 2014-08-10 08:42:28 +02:00
tripun
6ba74033de add alternative for --head , i.e --first 2014-08-10 08:42:09 +02:00
tripun
025d136974 added test for alternatives of --gain , i.e --change and -G 2014-08-10 08:41:50 +02:00
tripun
c05432b84f add test for --dc 2014-08-10 08:40:32 +02:00
Craig Earls
6ef7ed5c4b Merge commit '689112d3c0ffeb895ad4d8b9f61b50c5f537f0ed' 2014-07-29 18:12:33 -07:00
Craig Earls
39089a4882 Improve ledger-report-redo buffer type checking. 2014-07-29 18:12:07 -07:00
John Wiegley
689112d3c0 Merge pull request #311 from tripun/code_coverage
fix code coverage problem
2014-07-24 14:41:40 -05:00
tripun
54f8381e6a fix code coverage problem 2014-07-24 21:32:58 +05:30
Craig Earls
03de326eff For ledger-post-align-postings to run on xacts added with ledger-add 2014-07-15 20:44:32 -07:00
Martin Michlmayr
3f9fc276d3 Merge pull request #310 from tbm/712-713-costs
Change the definition of cost
2014-07-14 21:09:57 -04:00
Martin Michlmayr
b886342064 Preserve the given cost for print
Patch from John Wiegley
2014-07-14 21:05:54 -04:00