Taylor Etheredge
7c392f5a61
add helper function to degub tests
2016-08-02 21:00:42 -05:00
Thomas Jager
582bf80992
Changed the way Quit/Disconnect works to avoid possible DATA races.
...
Rewrote tests to be less spammy. Created REconnection test.
2016-07-27 22:55:55 +02:00
Thomas Jager
a6b1561a01
Redo and Clean up some tests
2016-07-25 13:27:37 +02:00
Thomas Jager
da78ed515c
BREAKING CHANGES: Run callbacks in main thread and int callback id.
...
Execute callbacks in main thread. This will break callbacks that
use a long time to execute. Create your own thread in AddCallback
using gorutines on long running callbacks.
Use deterministic IDs for AddCallback. Changes the id from SHA-hash
to int.
2016-02-06 21:38:53 +01:00
Thomas Jager
172717c0c5
Remove fuzzing testcases
2015-07-31 21:34:27 +02:00
Thomas Jager
e2be9c53c1
Test empty Action
2015-07-31 13:03:31 +02:00
Thomas Jager
414fe0a201
Fix testcase. Id can come in diffrent orders.
2015-07-31 08:28:54 +02:00
Thomas Jager
747806b8dd
Move connection tests last
2015-07-30 14:41:53 +02:00
Thomas Jager
9909b5a3d3
Modified test 1
2014-06-18 15:56:42 +02:00
tpltnt
f073b9b25c
style fixes
2014-02-16 14:20:13 +01:00
tpltnt
6e0280dae6
port range checking added
2014-02-16 11:41:38 +01:00
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