Commit graph

13 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
e2dc4538bf Cover the exception check
Now that the FIXME has been resolved, there is actually an error set
2012-01-03 19:59:56 +00:00
Alistair Riddoch
2dfca34402 Conver this test to checking for exceptions
It is now much clearer that the right failure is being checked for
2012-01-03 19:56:39 +00:00
Alistair Riddoch
d02247121b Add macro to check python tests fail correctly
When a Python string fails in an expected way, we need to be able to
check that it raised the exception we were expecting. This combined
with the parser check implemented recently gives way better Python
testing.
2012-01-03 19:09:41 +00:00
Alistair Riddoch
f02d90e463 Fill out a bit of missed coverage 2012-01-03 16:45:34 +00:00
Alistair Riddoch
d0529011c3 Cover most of CreatorClient wrapper 2011-12-29 12:15:27 +01:00
Alistair Riddoch
b4791c8ba2 Allow creation of object for testing 2011-12-29 10:35:22 +01:00
Alistair Riddoch
b9831fc4b1 Fully stub out client code in this test too 2011-12-28 18:25:17 +01:00
Alistair Riddoch
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
994830d6c6 Fix tests for code move. 2010-07-27 18:05:34 +01:00
Alistair Riddoch
aa38c0e3ac Simplify the test code a bit. 2009-11-26 01:09:12 +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
b0f281bcfc Add a minimal coverage test for the Python CreatorClient bindings 2009-07-04 19:56:26 +01:00