Commit Graph

52 Commits

Author SHA1 Message Date
Guillermo Rauch
90641c1f34 Added test for emitting an event to server and sending back data. 2011-06-19 23:12:13 -03:00
Guillermo Rauch
0408725373 Added test for emitting an event from server and ACKing back data. 2011-06-19 23:08:16 -03:00
Guillermo Rauch
af258f48d9 Added test for emitting an event to server. 2011-06-19 23:05:46 -03:00
Guillermo Rauch
5e3d88d082 Added test for emitting an event from server. 2011-06-19 22:51:34 -03:00
Guillermo Rauch
57eedc0184 Added test for sending json from client. 2011-06-19 22:40:12 -03:00
Guillermo Rauch
883cddac0d Added test for sending json from server. 2011-06-19 22:30:40 -03:00
Guillermo Rauch
1f81e60c8c Added test for namespaces disconnection 2011-06-19 22:09:27 -03:00
Guillermo Rauch
28e6886ca1 Make sure to disconnect socket. 2011-06-19 21:41:26 -03:00
Guillermo Rauch
79b337125e Added Socket namespaces tests. Passes smoothly :D 2011-06-19 21:18:15 -03:00
Guillermo Rauch
bb9f6d9ed1 Added test for server-sent acks. 2011-06-19 21:08:24 -03:00
Guillermo Rauch
b399db0b95 Added client side ack test. 2011-06-19 20:59:41 -03:00
Guillermo Rauch
bbf4b061de Added test for sending messages from browser. 2011-06-19 19:55:00 -03:00
Guillermo Rauch
412341f713 Fixed builder test 2011-06-19 19:12:26 -03:00
Guillermo Rauch
42676b1972 Added client side integation test for messages reception. 2011-06-19 18:25:16 -03:00
Guillermo Rauch
3cdb331221 Adapted test. 2011-06-18 19:05:34 -03:00
Guillermo Rauch
7b7c3d2d36 Added first integration test. Disabled for node until we have node transports. 2011-06-18 17:46:42 -03:00
Guillermo Rauch
9b1e8bde13 Changed error detecting to throw upon finding a global leak. 2011-06-18 15:36:12 -03:00
Guillermo Rauch
6c14460c9f Removed old globals. 2011-06-18 15:36:02 -03:00
Guillermo Rauch
95025dcf97 Added flash socket globals to globals whitelist. 2011-06-18 15:35:35 -03:00
Guillermo Rauch
34634edf31 Fixed error handling. 2011-06-18 15:35:21 -03:00
Guillermo Rauch
1eba604dc1 Refactored if node static analysis test. 2011-06-18 15:34:18 -03:00
Guillermo Rauch
515e1e500b Leveraged better should idioms. 2011-06-18 15:33:43 -03:00
Guillermo Rauch
6a72bd17f9 Fixed error handling (to test for null).
Leveraged `should.strictEqual`.
2011-06-18 15:32:51 -03:00
Guillermo Rauch
962b31d6ab Removed legacy tests. 2011-06-18 15:31:59 -03:00
Guillermo Rauch
cb944140ef Removed assert dependency from builder test.
Added should dependency.
2011-06-18 15:30:41 -03:00
Guillermo Rauch
7e176219ee Fixed style in builder common file. 2011-06-18 15:29:23 -03:00
Guillermo Rauch
2b9b5493d0 Fixed; made removeAllListeners behavior with no arguments consistent between
browser and node 0.4.
2011-06-18 13:37:34 -03:00
Guillermo Rauch
570c41806e Fixed style. 2011-06-18 12:41:03 -03:00
Arnout Kazemier
e51368cdc4 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO into develop 2011-06-18 17:24:48 +02:00
Guillermo Rauch
895569693f Fixed tests I broke. 2011-06-18 12:23:17 -03:00
Arnout Kazemier
4a17931d37 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO into develop
Conflicts:
	dist/socket.io.js
	dist/socket.io.min.js
2011-06-18 16:56:51 +02:00
Guillermo Rauch
0559f0e7c0 Adapted tests to have different defaults for server and client side. 2011-06-18 11:31:51 -03:00
Arnout Kazemier
842b30a735 fixed version require 2011-06-15 21:08:40 +02:00
Arnout Kazemier
361b9e5804 set col 80 ;D 2011-06-13 18:35:36 +00:00
Arnout Kazemier
c151b78fc6 Merge branch 'develop' of https://github.com/LearnBoost/Socket.IO into develop
Conflicts:
	dist/socket.io.js
	dist/socket.io.min.js
2011-06-13 19:10:59 +02:00
Arnout Kazemier
bb13b50119 fixed path 2011-06-13 19:09:19 +02:00
Guillermo Rauch
addf31ab26 Adapted client encoder/decoder for event spec change. 2011-06-11 18:10:38 -03:00
Arnout Kazemier
ed9dae89a6 moved builder tests 2011-06-09 20:30:54 +02:00
Arnout Kazemier
aef8ed5409 Merge branch 'develop' of https://github.com/LearnBoost/Socket.IO into develop
Conflicts:
	Makefile
	test/index.html
2011-06-09 19:44:12 +02:00
Guillermo Rauch
629f2a189d Added new common.js tests (expresso-like), with browser-compliant should(). 2011-06-09 13:30:13 -03:00
Guillermo Rauch
579d816bac Removed old qunit tests. 2011-06-09 13:30:01 -03:00
Arnout Kazemier
a42496dd3c Added test suite for the builder 2011-06-09 10:35:11 +02:00
Arnout Kazemier
d2d6558f8f Fixed the test suite again after someone, *cough* @rauchg *cough* delete all the qunit files and moved the files to a /dist folder 2011-06-09 10:06:05 +02:00
Guillermo Rauch
2ccda648b4 Removed old tests location. 2011-06-07 17:00:48 -03:00
Guillermo Rauch
d4788e7e2a Replaced testing files. 2011-06-06 13:22:15 -03:00
Arnout Kazemier
e04f5e36b2 Use native JSON if it's supported
Updated reference in transport to the new location of the parser
Updated the test suite to use the io.JSON
2011-06-05 21:32:38 +02:00
Arnout Kazemier
0dae527615 Small refactor of the test suite to use equal instead of ok 2011-06-05 21:14:35 +02:00
Arnout Kazemier
766f5d595e Added qunit test suite for the parser 2011-06-05 20:58:53 +02:00
Arnout Kazemier
6451fd6b2c Added util qunit test 2011-06-02 22:41:20 +02:00
Arnout Kazemier
2de0561073 Added qunit test suite in /tests/qunit/qunit
Added io.qunit.js
Added event.qunit.js which follows the tests of the Node.js event emitter
2011-06-02 20:18:31 +02:00