Commit graph

11 commits

Author SHA1 Message Date
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
1bbb936555 Fill in copy methods on remaining properties 2013-01-08 00:19:23 +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
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
4af56c3ffd Update test stubs now that TerrainContext is used 2010-09-17 22:17:21 +01:00
Alistair Riddoch
5617a0c8e2 Add some test data to exercise coverage of terrain property 2010-09-12 21:19:08 +01:00
Alistair Riddoch
1a7ab4dde3 Update tests to pass in the right new arguments to property constructors 2009-05-13 23:47:39 +01:00
Alistair Riddoch
923eab01fd Update tests to work with updated terrain property interface 2009-05-13 17:19:39 +01:00
Alistair Riddoch
20335a9312 Add the necessary variables to get this one running 2009-05-06 17:51:24 +01:00
Alistair Riddoch
3bc3d0a017 Add partial coverage tests for most properties. 2009-05-06 15:06:33 +01:00