Commit graph

15 commits

Author SHA1 Message Date
Alistair Riddoch
fa9687ad57 Remove unused includes 2011-12-20 23:58:26 +00:00
Alistair Riddoch
85eebbb5b1 Clean out noScript from the tests 2011-10-13 15:19:18 +01:00
Alistair Riddoch
bc41769565 Fix another logic error, and add tests to verify 2011-09-29 20:59:14 +01:00
Alistair Riddoch
ac37383d8a Convery all the property get functions 2011-09-29 17:36:26 +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
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
45c5e4f151 Initialise Location.loc in all tests 2010-09-16 05:14:35 +01:00
Alistair Riddoch
331d50d94e Make EntityExerciser so it is not a template. 2010-03-31 01:01:30 +01:00
Alistair Riddoch
c4569ded0c Isolate LocatedEntity test. 2010-03-26 01:57:15 +00:00
Alistair Riddoch
2abbb9208b Add coverage for scripts, event functions and deleting the entity 2009-05-06 22:45:30 +01:00
Alistair Riddoch
e62751dbba Move functionality around to make EntityExerciser usable on LocatedEntity 2009-05-06 19:20:08 +01:00
Al Riddoch
ab54d0fea2 2009-02-02 Al Riddoch <alriddoch@googlemail.com>
* common/Identified.cpp, common/Identified.h:
	  Flatten down the base classes into one called Router.

	* client/CharacterClient.cpp, client/CreatorClient.cpp,
	  rulesets/BaseMind.cpp, rulesets/Character.cpp,
	  rulesets/Creator.cpp, rulesets/Entity.cpp,
	  rulesets/LocatedEntity.cpp, rulesets/MemEntity.cpp,
	  rulesets/Plant.cpp, rulesets/Stackable.cpp,
	  rulesets/Thing.cpp, rulesets/World.cpp,
	  server/Account.cpp, server/Admin.cpp,
	  server/Connection.cpp, server/ExternalMind.cpp,
	  server/Lobby.cpp, server/Master.cpp,
	  server/Peer.cpp, server/Player.cpp,
	  server/ServerRouting.cpp, server/SlaveClientConnection.cpp,
	  server/TrustedConnection.cpp, tests/LocatedEntitytest.cpp,
	  tests/ThingupdatePropertiestest.cpp: Update all the operation
	  routing classes to use the modified base class correctly.
2009-02-02 02:28:45 +00:00
Al Riddoch
e08c71d71d 2008-01-28 Al Riddoch <alriddoch@googlemail.com>
* common/BaseEntity.cpp, common/BaseEntity.h,
	  common/OOGThing.cpp, common/OOGThing.h: Make files as removed.

	* tests/BaseEntitytest.cpp, tests/Makefile.am, tests/OOGThingtest.cpp:
	  Remove the tests for the above removed files.

	* tests/LocatedEntitytest.cpp, tests/ThingupdatePropertiestest.cpp:
	  Update the tests to call the right base class constructors.
2008-01-29 01:48:51 +00:00
Al Riddoch
b6e877c617 2008-01-14 Al Riddoch <alriddoch@googlemail.com>
* tests/BaseEntitytest.cpp, tests/EntityExerciser.h,
	  tests/LocatedEntitytest.cpp, tests/Makefile.am,
	  tests/OOGThingtest.cpp, tests/OperationExerciser.cpp,
	  tests/OperationExerciser.h, tests/inheritancetest.cpp: Fix tests
	  to account for header changes, and the fact that some of the
	  base classes are now abstract.
2008-01-14 16:10:18 +00:00
Al Riddoch
ede01c427c 2007-12-02 Al Riddoch <alriddoch@zepler.org>
* tests/LocatedEntitytest.cpp: Add full coverage for current code
	  in LocatedEntity.
2007-12-02 20:54:51 +00:00