Commit graph

16 commits

Author SHA1 Message Date
Alistair Riddoch
68494ba520 Use the ruleset global less often, making code more isolated 2012-01-19 19:34:20 +00:00
Alistair Riddoch
3290ee23c8 Expect correct errors in script failure tests 2012-01-04 16:27:29 +00:00
Alistair Riddoch
bc0349ece0 Use Python generic behavior for attributes
Remove the dictionary for storing arbitrary Python attributes on the
task, as the underlying generic calls do this for subclasses, and it
is undesirable to be able to store attributes on the bare wrapper
2011-12-27 07:14:32 +00:00
Alistair Riddoch
7a6a653fe1 Relax type checks as appropriate 2011-12-14 02:02:20 +00:00
Alistair Riddoch
17db661c23 Test to ensure tasks don't store pointers to core objects 2011-12-13 19:02:58 +00:00
Alistair Riddoch
a516f55197 Remove TaskScript subclass
This class really wasn't used. Task had pure virtual methods, and TaskScript
was the only subclass
2011-11-03 22:57:46 +00:00
Alistair Riddoch
fec0896c51 Better testing through more asserts 2011-09-03 09:49:30 +01:00
Alistair Riddoch
3c86882f42 Add a define to indicate to test code that the main tree was build in debug
This allows testing of assert protection in the main code which is only
included in a debug build, but will crash in an non-debug build
2011-02-16 09:00:40 +00:00
Alistair Riddoch
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
0658f14751 Convert all Python tests to use macros, so they work with NDEBUG 2009-11-20 20:18:53 +00:00
Alistair Riddoch
9e637c98ae Add coverage for copy constructor, compare and assert checks. 2009-11-12 21:07:41 +00:00
Alistair Riddoch
8984529e51 Modify Task.init so it can take Character. Re-enable Py_Task tests. 2009-07-01 00:56:43 +01:00
Alistair Riddoch
ea2c56e059 Disable for now a bunch of tests which won't pass now that Task.init is useful. 2009-06-30 23:55:58 +01:00
Alistair Riddoch
6ce202f2f2 Change test to use a more distinctive string 2009-06-16 01:35:15 +01:00
Alistair Riddoch
86380ceb71 Fill out test coverage for PyTask 2009-05-26 15:46:52 +01:00
Alistair Riddoch
eae3d69885 Add initial coverage test for PyMap, PyMind and PyTask 2009-05-25 16:35:25 +01:00