Commit graph

110 commits

Author SHA1 Message Date
John Wiegley
4ff8087815 Restored the --deviation option 2009-02-21 00:48:12 -04:00
John Wiegley
23725ffafb Restored --forecast, now also --forecast-while 2009-02-21 00:12:22 -04:00
John Wiegley
3c18d3054f Restored the --base option 2009-02-20 23:42:48 -04:00
John Wiegley
fc349389e3 Restored the --budget option 2009-02-20 23:12:23 -04:00
John Wiegley
96ff798736 Added more option baseline tests 2009-02-20 20:30:43 -04:00
John Wiegley
8ed4f3562f Added more option baseline tests, enabled --dow 2009-02-20 19:36:28 -04:00
John Wiegley
96782df17c Enabled --current option 2009-02-20 19:10:34 -04:00
John Wiegley
8483ea16e2 Added more option baseline tests 2009-02-20 18:36:47 -04:00
John Wiegley
b94512e4cc Added several more option baseline tests 2009-02-20 18:15:43 -04:00
John Wiegley
a13cafa2f7 Added more option baseline tests 2009-02-20 16:36:49 -04:00
John Wiegley
95a3788fa7 Restored the --basis option 2009-02-20 15:41:49 -04:00
John Wiegley
04bbf2ba96 Added test for --balance-format 2009-02-20 15:41:49 -04:00
John Wiegley
40f2ff6d6f Added several new regression tests 2009-02-20 15:41:49 -04:00
John Wiegley
42f94d2b8b Added several new baseline tests 2009-02-20 15:41:49 -04:00
John Wiegley
740cd8e8f1 Added feature baseline tests
These are like regression tests to confirm the basic functionality of
every Ledger feature.  Also, made the release-distcheck target less
sensitive.
2009-02-20 13:31:01 -04:00
John Wiegley
3826cb1bee Re-enabled parsing of timelog data 2009-02-19 15:50:24 -04:00
John Wiegley
bc2983928d Compilation verification code only with debugging
Previously, --verify would work even if the sources were built with
default options.  However, in the interests of performance, --verify is
now only available if --enable-debug was passed to configure.
2009-02-16 17:15:52 -04:00
John Wiegley
d0a664d102 Fixed several unused value and param warnings 2009-02-16 16:55:18 -04:00
John Wiegley
59aefb5a3b Inverted the default display mode for balance reports. Use -n to collapse
them, as this fits better with what -n does for register reports.
2009-02-08 05:18:46 -04:00
John Wiegley
d1f13be1d2 Fixed some incorrect #includes. 2009-02-07 19:48:29 -04:00
John Wiegley
7b24e8f8e3 Moved some files around. 2009-02-05 21:18:25 -04:00
John Wiegley
2d941730b1 Largely removed all of Ledger's use of global variables, for the REPL's sake. 2009-02-04 19:55:27 -04:00
John Wiegley
bee8e50166 Removed serialization tests from the amount_t unit tests. 2009-02-03 19:06:56 -04:00
John Wiegley
cce65b8dd2 Added a more efficient amount_t::operator==, which changed semantics slightly. 2009-01-31 04:58:16 -04:00
John Wiegley
e9ff5caa13 Rationals based math is now passing the unit tests. 2009-01-31 04:25:05 -04:00
John Wiegley
5ec98f3ed3 Several corrections to the way rationals are handled. 2009-01-31 01:25:29 -04:00
John Wiegley
e4c7df4002 Don't perform rounding tests in Python. 2009-01-31 01:22:51 -04:00
John Wiegley
b42ef31d93 Make amounts output fullstrings in the commodity unit tests. 2009-01-31 01:22:23 -04:00
John Wiegley
75f1cd727c Corrected Python reference to the AmountParse enum. 2009-01-31 01:20:34 -04:00
John Wiegley
f1257cbc3e Removed all dependency on gdtoa. 2009-01-30 16:19:31 -04:00
John Wiegley
9495ca740b Fixed the amount_t unit test. 2009-01-30 00:43:54 -04:00
John Wiegley
ef934efb3a Added a slew of date/time format tests (inactive, however). 2009-01-30 00:41:23 -04:00
John Wiegley
e851c02d27 Unit test for Python are now auto-generated from the C++ tests. 2009-01-28 20:49:26 -04:00
John Wiegley
3020f0f851 Removed temporary file. 2009-01-28 18:00:31 -04:00
John Wiegley
79a7976600 Reorganized Ledger so that it builds as 7 separate libraries. This is mainly
to prove to myself that it has proper decoupling between prior code areas.
2009-01-25 01:10:05 -04:00
John Wiegley
49b83c0d6f Further extended commodities unit test. 2009-01-19 20:05:18 -04:00
John Wiegley
85be211f99 Extended commodities unit test. 2009-01-19 19:58:59 -04:00
John Wiegley
009dd3969a Added a recursive, date-based commodity price searching capability. This
makes it possible to find all possible prices for a commodity by walking the
map of pricing relationships to all other commodities, even if the relation is
distant.
2009-01-19 17:48:27 -04:00
John Wiegley
855ac383d8 Set LD_LIBRARY_PATH in addition to DYLD_LIBRARY_PATH. 2008-08-31 21:01:19 -04:00
John Wiegley
274552f2f9 As the 'bal' command is working again as it should, one of the regression
tests needed to change back to expecting 2.6.1-like behavior.
2008-08-14 04:15:11 -04:00
John Wiegley
9c1389f423 Increase code coverage of the unit tests. 2008-08-13 18:21:39 -04:00
John Wiegley
3231e380bb The balance output now includes the final total. 2008-08-13 05:48:32 -04:00
John Wiegley
572a37a9c6 Use $PYTHON to locate which Python interpretor to use during a build. 2008-08-10 00:56:28 -04:00
John Wiegley
3f7430bd81 Don't include gdtoa/.libs anymore, it's not being used. 2008-08-08 03:13:29 -04:00
John Wiegley
925387d7c0 The Python interface code is now building again and passes its unit tests. 2008-08-07 03:28:48 -04:00
John Wiegley
71e0491aec Added a module init file (__init__.py) for the test directory. 2008-08-07 02:58:27 -04:00
John Wiegley
c0e7315467 Changed tests module reference to just test. 2008-08-07 02:58:15 -04:00
John Wiegley
6ddc21dc5f 'make distcheck' now works. 2008-08-06 23:21:06 -04:00
John Wiegley
54f2a8012f Moved several tests around again (python/test -> test/python). 2008-08-06 18:23:50 -04:00
John Wiegley
36cd816404 Moved the test sources around, so that all the unit tests are in test/unit. 2008-08-05 19:48:42 -04:00