Commit graph

15 commits

Author SHA1 Message Date
Alistair Riddoch
5eceba40cf Remove unused handler mechanism 2013-02-14 10:01:20 +00:00
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
4e66987bad Consolidate flags into one place 2013-01-14 09:59:54 +00:00
Alistair Riddoch
71cbcdcfc1 Modify externalOperation to include Link
The Link reference provided is the object allowing direct communication
back to the external source of the operation. This allows us to handle
things more cleanly in some cases.
2012-12-04 20:39:35 +00:00
Alistair Riddoch
bc001bfe76 Add Get/Info to the IG op dispatch 2012-06-30 01:06:14 -07:00
Alistair Riddoch
ac37383d8a Convery all the property get functions 2011-09-29 17:36:26 +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
d1e64b7f0d Isolate EntityProperty test. 2010-04-06 01:48:34 +01:00
Alistair Riddoch
665993f638 Update IDs 2009-04-09 12:42:44 +01:00
Al Riddoch
2c37aa5554 2008-01-07 Al Riddoch <alriddoch@googlemail.com>
* tests/EntityPropertytest.cpp: Fix the test to account for the
	  new dynamic nature of this property.
2008-01-07 01:18:26 +00:00
Al Riddoch
29f3a129e3 2006-12-31 Al Riddoch <alriddoch@zepler.org>
* common/Database.cpp: Replace asserts with critical error messages,
	  so tests can run without a Database connection.

	* tests/EntityPropertytest.cpp: Re-write test cases to deal with
	  modified behavoir if the Entity reference is null.
2006-12-31 15:56:35 +00:00
Al Riddoch
d52e6f0fb4 2006-12-05 Al Riddoch <alriddoch@zepler.org>
* tests/EntityPropertytest.cpp: Add a complete set of unit tests for
	  EntityProperty.

	* rulesets/EntityProperty.cpp: Fix and instrument the code based
	  on the findings from the unit test.
2006-12-05 06:48:57 +00:00