Commit graph

20 commits

Author SHA1 Message Date
Alistair Riddoch
b4cc611176 Update tests to handle PropertyRuleHandler 2013-02-15 23:19:38 +00:00
Alistair Riddoch
f3d7b88f82 Add a virtual destructor as required 2012-09-26 21:41:19 +01:00
Alistair Riddoch
95b078249a Rename database variable for disambiguation 2012-08-13 20:01:27 +01:00
Alistair Riddoch
68494ba520 Use the ruleset global less often, making code more isolated 2012-01-19 19:34:20 +00:00
Alistair Riddoch
0ce8a5edf8 Broaden coverage of Rulesettest using test data
This can't entirely be stubbed out as the code access the directory
and uses that as a branch condition.
2012-01-05 18:05:33 +00:00
Alistair Riddoch
84ec65bf89 Move two methods out of the header
This allows much better stubbing
2012-01-05 12:53:10 +00:00
Alistair Riddoch
2d987ba116 Concert Database::getTable and Persistence::getRules 2011-09-29 10:12:00 +01:00
Alistair Riddoch
1c79a04701 Start cleaning up the Database API 2011-09-28 22:25:58 +01:00
Alistair Riddoch
00a841e4f1 Cover a bunc of useful cases 2011-09-22 17:37:29 +01:00
Alistair Riddoch
e0c92ebf39 Remove reference to BaseWorld in EntityBuilder 2011-09-21 12:45:18 +01:00
Alistair Riddoch
2ee0199902 Stub out and isolate Rulesettest 2011-09-18 14:58:38 +01:00
Alistair Riddoch
18609ac963 Strip out moved code, and get tests building. 2011-09-18 11:22:20 +01:00
Alistair Riddoch
b5011456b6 Fix up tests now checks are stricter 2011-09-18 11:13:24 +01:00
Alistair Riddoch
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
c3eec5ce7a Cover new checks for illegal type updates. 2009-11-25 03:31:27 +00:00
Alistair Riddoch
b053a75abe Update Ruleset test to insert valid updates. 2009-11-24 19:48:56 +00:00
Alistair Riddoch
f0e0cb43f8 Disable the database before running tests against the rule loader. 2009-11-07 05:30:35 +00:00
Alistair Riddoch
5ecb48ec4c Update the test to the modified interface. 2009-11-04 16:38:47 +00:00
Alistair Riddoch
57f358eda6 Update Ruleset tests. 2009-11-03 12:04:57 +00:00
Alistair Riddoch
0c75bd319e Add tests for Ruleset, based on the old EntityBuilder tests. 2009-08-21 01:02:13 +01:00