Alistair Riddoch
3d6f39cdee
Modify Property install method to take name
...
This change also switches DecaysProperty to using delegates as a proof of
concept.
2013-02-13 00:45:36 +00:00
Alistair Riddoch
4a9c7078f7
Refactor to use LocatedEntity as base class
...
All IG code should use the interface of LocatedEntity when dealing
with any entity, rather than sometimes requiring Entity. Add virtual
functions to the interface where required, and modify all other interfaces
to stop them using Entity. This makes the code way cleaner, and much better
de-coupled.
2013-01-17 10:17:07 +00:00
Alistair Riddoch
d9fb87d2e0
Cover SetOperation
2012-09-11 22:53:15 +01:00
Alistair Riddoch
6537e5da79
Break out the TestWorld::addNewEntity method
...
This allows tests to cover the case where an Entity is created by this
function if necessary
2012-09-06 13:48:40 +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
30115b4ad5
Expect the right errors in script failure tests
2012-01-04 16:01:37 +00:00
Alistair Riddoch
a8dfc319df
Implement better type checks in Python wrappers
...
These now take into account inheritance, allowing simpler code
and better type safety.
2011-12-13 19:39:09 +00:00
Alistair Riddoch
5cb0ac6ae5
Force asserts on in all tests.
2011-02-15 09:30:46 +00:00
Alistair Riddoch
cedf73ec62
Create a test world now that StatisticsProperty uses the BaseWorld interface
2010-07-13 18:39:03 +01: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
e6de6dae15
Add coverage test for Py_Property functions.
2009-11-16 03:14:53 +00:00