Commit Graph

21 Commits

Author SHA1 Message Date
StalkR 74716ceb70 state/tracker_test: remove undefined init 2014-05-15 13:28:57 +02:00
Alex Bramley 5bb0c8278d Minimally invasive change to put logging behind a user-replaceable interface.
This could probably be done better, and there are probably awful caveats
and hidden gotchas with this approach. I REGRET NOTHING.
2013-09-27 22:19:40 +01:00
Alex Bramley ca46884c72 Remove embedded logger from state tracker. Hmmmm. 2013-01-23 22:33:01 +00:00
Alex Bramley c85f891c6b Bah, dsymonds moved gomock again. 2012-06-26 11:20:57 +01:00
Alex Bramley 3387f6fb99 Correct import path. 2012-02-03 23:45:41 +00:00
Alex Bramley 4e4c4b6798 Migrate to split logging pkg. 2011-11-13 14:02:12 +00:00
Alex Bramley 69d52270b6 Convert state tracker to use gomock logging for tests. 2011-11-05 12:22:04 +00:00
Alex Bramley fdba74e8c0 Shave the yaks in state's tests. 2011-11-05 06:06:40 +00:00
Alex Bramley cfffcf2a85 Add a method to wipe a state tracker clean. 2011-11-05 02:25:25 +00:00
Alex Bramley 1c39dbecbb Remove extraneous logging level setting. 2011-10-27 18:43:08 +01:00
Alex Bramley 748db6b5d2 Test for dissociation, also ensure both nick and channel passed to {A,Di}ssociate are currently tracked. 2011-10-27 17:54:23 +01:00
Alex Bramley 47dd5b3430 We need to be able to get at ChanPrivs easily. 2011-10-27 17:03:01 +01:00
Alex Bramley 2603e0984c Test nick <-> channel association. 2011-10-27 16:55:33 +01:00
Alex Bramley 93508c79f1 Similar nick <-> channel dissociation tests in DelChannel(). 2011-10-27 16:41:56 +01:00
Alex Bramley 8771f1db77 Test nick<->channel dissociation in DelNick(). 2011-10-27 16:04:45 +01:00
Alex Bramley 6ded98b9e5 Moar testing and updates. 2011-10-22 23:58:06 +01:00
Alex Bramley 111a23d87c Epic refactor of the refactor. 2011-10-20 00:10:33 +01:00
Alex Bramley 7f6e5fc7d9 Use NewNick and NewChannel in tests. 2011-10-13 23:19:31 +01:00
Alex Bramley 6266eba245 Slight fixes to NewChannel and tests for st's Channel methods. 2011-10-13 22:31:09 +01:00
Alex Bramley 9163b9af7a Slight fixes to ReNick and tests for the rest of st's Nick methods. 2011-10-13 20:44:44 +01:00
Alex Bramley 4c6c503069 Beginning of state tracker unit tests. 2011-10-12 23:06:46 +01:00