Commit graph

28 commits

Author SHA1 Message Date
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
John Wiegley
f6f4a46cf5 Moved around most of the files so that source code is in src/, documentation
is in doc/, etc.
2008-08-05 18:05:49 -04:00
John Wiegley
806be999ef A few small changes to regress.py to make pylint mostly happy. 2008-08-05 03:34:25 -04:00
John Wiegley
98c05e8eb2 Added infrastructure for running regression tests, since I would like to make
sure that nothing breaks again once a bug in closed.
2008-08-05 03:20:14 -04:00
John Wiegley
858978de89 Journal data structures now use date_t instead of datetime_t.
This means transactions can only have day-level granularity -- which has
always been the case from an data file point of view.  The advantage to this
restriction is that reports will now be immune from daylight savings related
bugs, where a transaction falls to the wrong side of a --monthly report, for
example.
2008-08-01 17:37:22 -04:00
John Wiegley
80f87bc100 Corrected a failing test. 2008-07-30 15:57:03 -04:00
John Wiegley
4518ea9540 Value expression architecture is now rewritten, but the functionality of the
old system (for example, the meaning of 'a') has yet to be restored.  In the
new scheme, this will be done by definition a function outside of the value
expression logic, rather than the tight coupling between journal innards and
value expressions that occurred in 2.x.
2008-07-29 05:59:38 -04:00
John Wiegley
63039ade92 Added the skeleton for the upcoming value_expr unit tests. 2008-07-28 03:42:18 -04:00
John Wiegley
9e9f25b566 'make check' is now working again. Also, conversion from amount_t to/from
double has been disabled, because I am no longer packaging the gdtoa library
with Ledger (because double conversion really has nothing to do with what
Ledger does).  If you wish to use it, you can find gdtoa in cpp-rewrite-2006,
under a sub-directory of the same name.
2008-07-27 01:03:41 -04:00
John Wiegley
daee971cbc Got the unit tests compiling again (though not running yet). 2008-05-09 05:17:44 -04:00
John Wiegley
289cc97d45 Exchanged old test files for the new testing code in was-v3.0. 2008-05-08 02:50:18 -04:00