Commit graph

19 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
f27f4e509e Simplify the Task interface to take any op 2012-07-02 23:19:59 -07:00
Alistair Riddoch
d13e48d49d Task can now be attached to any Entity 2011-12-02 23:10:41 +00:00
Alistair Riddoch
0a37a97e26 Move startTask functionality into TasksProperty 2011-11-17 10:41:47 +00:00
Alistair Riddoch
a516f55197 Remove TaskScript subclass
This class really wasn't used. Task had pure virtual methods, and TaskScript
was the only subclass
2011-11-03 22:57:46 +00:00
Alistair Riddoch
848f1f7973 Move remaining task script code into base class 2011-11-03 21:42:12 +00:00
Alistair Riddoch
035cdad470 Move script member into base class 2011-11-03 21:31:09 +00:00
Alistair Riddoch
24a6936499 Remove TaskScript irrelevant
It just called the method it overloaded
2011-11-03 20:40:32 +00:00
Alistair Riddoch
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
8348ef1a62 Remove test stubs for Task::addToEntity 2010-07-15 14:15:24 +01:00
Alistair Riddoch
6f10c9171f Isolate all the property coverage tests. 2010-04-08 23:57:49 +01:00
Alistair Riddoch
19f042a7fd Modify test to use startTask instead of the obsolete setTask. 2009-07-29 12:53:22 +01:00
Alexey Torkhov
2c8ce595da Performing basic coverage too for tasks property test. 2009-06-30 18:09:38 +04:00
Alexey Torkhov
803b266e21 Add almost 100% coverage for TasksProperty. 2009-06-30 18:09:38 +04:00
Alexey Torkhov
6b42b8b73e Tasks property does not support lists, so disable test for now. 2009-06-30 18:09:38 +04:00
Alistair Riddoch
3817623aa1 Add a new property for tasks, to allow them to be manipulated from the client. 2009-06-17 19:32:57 +01:00