Commit graph

31 commits

Author SHA1 Message Date
Alistair Riddoch
577539aa6e Make installing types a little more consistent 2011-12-17 18:37:28 +00:00
Alistair Riddoch
d7b1f5eca4 Change include to avoid depending on ScriptFactory 2011-12-16 08:14:36 +00:00
Alistair Riddoch
0e8f9ccc95 Replace abstract script factories with common template 2011-12-14 14:26:01 +00:00
Alistair Riddoch
8b9cd49dfd Strip out unused populate() method from EntityFactory 2011-12-13 11:50:46 +00:00
Alistair Riddoch
e47076482c Remove obsolete method 2011-12-11 05:26:37 +00:00
Alistair Riddoch
d13e48d49d Task can now be attached to any Entity 2011-12-02 23:10:41 +00:00
Alistair Riddoch
a8fb1c8c89 Fix up some tests 2011-11-08 20:32:35 +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
85eebbb5b1 Clean out noScript from the tests 2011-10-13 15:19:18 +01:00
Alistair Riddoch
ac37383d8a Convery all the property get functions 2011-09-29 17:36:26 +01:00
Alistair Riddoch
e0c92ebf39 Remove reference to BaseWorld in EntityBuilder 2011-09-21 12:45:18 +01:00
Alistair Riddoch
07201f1358 Handle Inheritance more consistently
Add an internal method for base classes, allowing the code that manipulates
the inheritance tree to be in a consistent place.
2011-09-18 17:26:26 +01:00
Alistair Riddoch
253828ae7c Stub out new TypeNode constructor 2011-09-17 19:09:28 +01:00
Alistair Riddoch
43455a6035 Use new TypeNode constructor where appropriate in tests 2011-09-17 18:54:37 +01:00
Alistair Riddoch
fa4ae198b1 TypeNode takes a name on construction
One is always required, and it's just bloaty to set separately
2011-09-16 18:30:22 +01:00
Alistair Riddoch
d86905b021 Fix up test stubs 2011-09-16 16:52:45 +01:00
Alistair Riddoch
72ea3c70e1 Fix up tests 2011-02-28 00:28:25 +00:00
Alistair Riddoch
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
16ba830c42 Fixes for gcc 4.5, thanks to Alfredo Tupone 2010-10-20 22:51:42 +01:00
Alistair Riddoch
45c5e4f151 Initialise Location.loc in all tests 2010-09-16 05:14:35 +01:00
Alistair Riddoch
9644258726 Add coverage for all code paths in newEntity() 2010-07-16 02:12:53 +01:00
Alistair Riddoch
2e0c00f287 Isolate EntityBuilder unit test 2010-07-15 23:46:06 +01:00
Alistair Riddoch
6e6ff8acba Remove out the rest of the test code, as it was really testing Ruleset code. 2009-08-21 00:29:37 +01:00
Alistair Riddoch
7ea86db794 Get the first phase of the EntityBuildertest passing. 2009-08-21 00:23:47 +01:00
Alistair Riddoch
51fcbb46fc Strip down EntityBuilder test to remove the interface moved to Ruleset. 2009-08-20 23:13:15 +01:00
Alistair Riddoch
376c2cb3b2 Rename file from PersistentThingFactory to EntityFactory to match class. 2009-03-22 15:30:23 +00:00
Alistair Riddoch
cd1f42c3f9 Rename Inheritance class files to match class name. 2009-03-20 15:31:38 +00:00
Alistair Riddoch
6d8baebf5c Update tests for renamed EntityBuilder filename. 2009-03-14 04:21:31 +00:00
Renamed from tests/EntityFactorytest.cpp (Browse further)