Commit graph

39 commits

Author SHA1 Message Date
Alistair Riddoch
b4cc611176 Update tests to handle PropertyRuleHandler 2013-02-15 23:19:38 +00:00
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
ec03a3b546 Remove Thing_parent typedef 2012-12-04 23:48:40 +00:00
Alistair Riddoch
73b81a6ff7 Remove Character_parent typedef 2012-12-04 23:39:22 +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
fdeab1eda6 Complete remove unused, obolste connectAvatar() 2012-11-27 18:31:03 +00:00
Alistair Riddoch
1eea99fdf2 Move CommSocket and Link classes into common 2012-11-23 11:05:59 +00:00
Alistair Riddoch
9d0852f47f Move virtual functions out of the headers 2012-11-19 13:42:02 +00:00
Alistair Riddoch
23ebd9d6f5 Add externalOperation to the Router interface 2012-11-19 13:42:02 +00:00
Alistair Riddoch
6d8bb9ccd8 Merge pull request #12 from anthonypesce/salt_shaker
Salt shaker
2012-11-15 15:33:15 -08:00
Alistair Riddoch
6998d59ecd Rename ConnectedRouter to ConnectableRouter
Objects using this base class are all long lived, so while they are
often associated with a connection, they most commonly will outlive
that connection, and be unconnected.
2012-11-13 00:09:05 +00:00
anthonypesce
345fcdd00b Added Shaker.h stub. 2012-10-25 10:39:34 -04:00
Alistair Riddoch
b958006a93 Fix an bug where test was checking the wrong thing 2012-09-21 11:05:04 +01:00
Alistair Riddoch
5d959dfeaf Cover createObject() 2012-09-20 19:52:25 +01:00
Alistair Riddoch
1086a93cdb Cover other operations 2012-09-20 14:55:18 +01:00
Alistair Riddoch
e636dba408 Cover SetOperation 2012-09-20 00:20:33 +01:00
Alistair Riddoch
1b90d246b4 Cover GetOperation 2012-09-19 10:07:47 +01:00
Alistair Riddoch
4e2e0a1c47 Cover LogoutOperation 2012-09-18 11:42:46 +01:00
Alistair Riddoch
2129480bb8 Cover more of Admin 2012-09-18 08:49:23 +01:00
Alistair Riddoch
d4e8692a0c Start adding test stubs 2012-09-16 21:41:52 +01:00
Alistair Riddoch
cf98f9e204 Cover most of LookOp 2012-09-13 00:02:41 +01:00
Alistair Riddoch
677544e399 Correct the pointer type 2012-09-12 15:10:11 +01:00
Alistair Riddoch
970de887fe Replace Admin test with a new style unit test 2012-09-12 14:38:41 +01: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
a122db8b51 Fix up a bunch of tests to use CommClient template 2012-08-01 19:42:36 +01:00
Alistair Riddoch
68494ba520 Use the ruleset global less often, making code more isolated 2012-01-19 19:34:20 +00:00
Alistair Riddoch
e944b6c999 Update tests for modified interface 2011-10-31 13:04:55 +00:00
Alistair Riddoch
31bfb426af Fix up tests for modified interface 2011-10-31 12:47:56 +01:00
Alistair Riddoch
8a4fcc6ff6 Fix up the tests 2011-10-30 01:04:54 +02:00
Alistair Riddoch
5cb0ac6ae5 Force asserts on in all tests. 2011-02-15 09:30:46 +00:00
Alistair Riddoch
004678592b Fix tests for modified characterError signature 2010-12-03 22:01:22 +00:00
Alistair Riddoch
195861afc0 Fix Admin test for the same issue 2010-11-26 16:10:05 +00:00
Alistair Riddoch
15d61d280f Modify tests to cover the updated Account interface. 2010-01-02 23:58:22 +00:00
Alistair Riddoch
5856472574 Do a second pass of all operations, connected and disconnected. 2009-11-18 17:50:24 +00:00
Alistair Riddoch
63e34656ff Cover a bunch more admin operation possibilities. 2009-11-18 02:42:25 +00:00
Alistair Riddoch
5dcf96b3e4 Add start of coverage test for Admin 2009-11-17 15:13:20 +00:00