Commit graph

13 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
68bd0c6e25 Refactor TaskFactory for more flexible activation matching
We can now match the target based on different critea by configuring the
factory to do different checks
2011-12-06 10:07:25 +00:00
Alistair Riddoch
eb9c58c153 Refactor the task setup interface to use LocatedEntity 2011-12-02 23:42:24 +00:00
Alistair Riddoch
31bfb426af Fix up tests for modified interface 2011-10-31 12:47:56 +01:00
Alistair Riddoch
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
87474d8ffc Return null in test BaseWorld implementation to fix warning. 2010-08-17 19:21:03 +01:00
Alistair Riddoch
a3c2014d5f Update test for changes to BaseWorld interface 2010-07-13 18:02:30 +01:00
Alistair Riddoch
708d8a3963 Complete coverage of BaseWorld test. 2010-03-20 16:17:48 +00:00
Alistair Riddoch
e3c7416f0f Make a bunch of tests more unity. 2010-03-20 16:15:34 +00:00
Alistair Riddoch
8c3c70b48a Fix an incorrect assumption about TestWorld. 2009-11-13 03:10:40 +00:00
Alistair Riddoch
ddfd586324 Complete coverage of BaseWorld.cpp 2009-05-05 23:02:34 +01:00
Alistair Riddoch
665993f638 Update IDs 2009-04-09 12:42:44 +01:00
Al Riddoch
16c7506ef6 2006-12-06 Al Riddoch <alriddoch@zepler.org>
* tests/BaseWorldtest.cpp: Add a comprehensive unit test for all
	  non virtual parts of the BaseWorld class.
2006-12-06 07:48:01 +00:00