Commit Graph

16 Commits

Author SHA1 Message Date
Thomas Adamcik
66a89918c8 Add LineProtocol tests 2011-07-13 23:11:28 +02:00
Thomas Adamcik
ee6f5a651b Try to prevent recursive calls to stop 2011-07-13 22:43:57 +02:00
Thomas Adamcik
a49855abfa Improve error handling in connection code 2011-07-13 22:32:35 +02:00
Thomas Adamcik
51190c510a Switch to more robust checking of stop calls 2011-07-12 22:02:56 +02:00
Thomas Adamcik
b9286fb9ee Log why we are stopping 2011-07-12 03:48:02 +02:00
Thomas Adamcik
b5c6bc0442 Allways return true from recv_callback, rely on activly removing sources instead 2011-07-12 03:18:07 +02:00
Thomas Adamcik
8c9fc73550 Implement rest of connection tests 2011-07-12 03:15:30 +02:00
Thomas Adamcik
b14e019d98 Write up most of ConnectionTest, only callbacks to go 2011-07-12 02:10:42 +02:00
Thomas Adamcik
d9406420e3 Add missing reject_connection_test 2011-07-12 01:35:13 +02:00
Thomas Adamcik
6d7575a2db Changed test strategy to use mocks in better way, i.e. rewrote ServerTest 2011-07-12 01:32:14 +02:00
Thomas Adamcik
9b41eb17c5 Lint fixing 2011-07-11 23:55:33 +02:00
Thomas Adamcik
471ab6802a Add tests that backed the network.Server refactor 2011-07-11 18:57:03 +02:00
Thomas Adamcik
cf3b6dcb2b Add create socket test 2011-06-07 15:45:52 +02:00
Thomas Adamcik
14a9a3fb66 Use mocking for network.has_ipv6 monkey patching 2011-06-07 15:27:36 +02:00
Thomas Adamcik
ea9159a9ba Add test for try_ipv6_socket 2011-06-07 15:27:29 +02:00
Thomas Adamcik
d664c11e22 Pull network related functions out of mopidy.frontends.mpd.server 2011-06-07 14:09:15 +02:00