Commit Graph

13 Commits

Author SHA1 Message Date
tpltnt
48983c2abf refactoring: hasConnectionValues() integrated into Connection() + more detailed errors 2014-02-16 02:01:53 +01:00
tpltnt
4dcf7d03c5 hasValidValues() -> has ConnectionValues() 2014-02-16 01:10:08 +01:00
tpltnt
4ba3d1c0d2 more hasValidValues() 2014-02-16 00:56:21 +01:00
tpltnt
28bf282924 hasValidValues() + tests started 2014-02-16 00:32:02 +01:00
tpltnt
a4d40a90d5 catching empty arguments in IRC() + tests 2014-02-15 23:42:54 +01:00
Thomas Jager
84a0cb60ed Fix test cases. Added sleep before Quit 2014-02-12 08:40:30 +01:00
Andrew Montgomery-Hurrell
bf01c6c9e2 Added ClearCallback method for clearing all callbacks for an event 2014-02-11 23:57:08 +00:00
Andrew Montgomery-Hurrell
6edb7ec06e Added unique id to callbacks so they can be referenced. Since Go doens't actually provide unique function pointers, we use the closest we can get by grabbing the pointer for the function and slapping a random int on the end. Does it guarantee there will never be a collision? No, but it makes it's pretty damn unlikely that you'll get one during the lifetime of an app unless you are generating millions and millions of callbacks and never, ever deleting them, in which case you probably have something else to worry about 2014-02-11 23:35:13 +00:00
Thomas Jager
0e84fb331a Remove garbage 2013-03-13 12:56:47 +01:00
Thomas Jager
def8cd55a7 Add testcase for crash on nick change 2013-03-13 12:50:29 +01:00
Thomas Jager
588a268192 Fix test 2012-11-11 10:51:02 +01:00
Thomas Jager
7e83b51915 Fix tests. Add SSL test. 2012-11-06 00:40:00 +01:00
Thomas Jager
a5f3a91fd1 go get not working quite as i thought 2012-11-05 23:46:47 +01:00