Arnout Kazemier
043b5e8063
Only require flashpolicy when the we create a function
...
Fixes for handshakes
2011-06-20 10:04:01 +02:00
Guillermo Rauch
75f54a56e1
Merge pull request #259 from 3rd-Eden/master
...
Update unit test + send buffers instead of strings
2011-06-18 12:45:06 -07:00
Arnout Kazemier
78285af72f
Fix for encoding of the static serve and we should send buffers instead of strings
2011-06-18 21:37:54 +02:00
Guillermo Rauch
d90014f4ee
Merge pull request #258 from 3rd-Eden/master
...
Improved static serving
2011-06-18 12:20:38 -07:00
Arnout Kazemier
32db05d178
Passes test suite + 2 new tests
2011-06-18 21:12:11 +02:00
Guillermo Rauch
13e7f4087a
Exports WSClient
2011-06-18 10:13:38 -03:00
Guillermo Rauch
4079da41f3
Changed; simplified flash socket client by inheriting from websocket test client.
...
Removed usage of assert
Improved usage of should.js
- leveraged should.include.string for strings `indexOf`
- leveraged should.contain for arrays `indexOf`
- removed usage of `ok` and `!!`
- added better error checks
Fixed style.
2011-06-18 04:45:14 -03:00
Arnout Kazemier
ab0c0d110c
Added tests for the policy file server
...
Changed `update:` back to `set:` because it's more pretty
2011-06-18 01:13:44 +02:00
Guillermo Rauch
e16f1832ac
Merge branch 'master' of github.com:LearnBoost/Socket.IO-node
2011-06-17 16:14:40 -03:00
Guillermo Rauch
2a3e10f95d
Updated jsonp-polling testing client POST.
2011-06-17 15:51:12 -03:00
Arnout Kazemier
070d76d1d5
Added test suite, updated set to update and enabled it in enable and disable commands
2011-06-16 22:51:25 +02:00
Guillermo Rauch
99ab97af6d
Changed; custom browser client handler is now a middleware-like function.
...
Changed; client can be disabled altogether.
Changed; made client minification optional.
Changed; made client etag serving optional.
Added appropriate new tests.
2011-06-16 13:37:26 -03:00
Guillermo Rauch
32d50f77c7
Added Manager#configure callbacks scope test.
2011-06-16 13:37:00 -03:00
Guillermo Rauch
c6185ebb0d
Adapted tests.
2011-06-12 19:50:40 -03:00
Guillermo Rauch
b9ab031f0e
Added callback to io.listen.
...
Removed race condition in websocket room tests (for real this time)
2011-06-12 12:35:18 -03:00
Guillermo Rauch
7d2efd99ab
Added timeout for room messages.
2011-06-12 09:03:44 -03:00
Guillermo Rauch
4bd5805a32
Removed 2 extra tests (manual ACKs with .send)
2011-06-12 08:38:20 -03:00
Guillermo Rauch
e7b4d6a38d
Fixed race condition in tests.
2011-06-12 08:38:06 -03:00
Guillermo Rauch
f40e9bde23
Fixed xhr-polling tests.
2011-06-12 07:58:35 -03:00
Guillermo Rauch
1db340aad5
Adapted server encoder/decoder for event spec change.
2011-06-11 18:10:03 -03:00
Guillermo Rauch
7433e58908
Adapted xhr-polling tests.
2011-06-11 17:34:20 -03:00
Guillermo Rauch
3091490cc2
Fixed style.
2011-06-11 17:34:10 -03:00
Guillermo Rauch
50413024bc
Adapted jsonp-polling tests.
2011-06-11 16:41:51 -03:00
Guillermo Rauch
a5a7ec4dbd
Adapted websocket tests for connect packet.
2011-06-10 18:16:37 -03:00
Guillermo Rauch
3a22ab097e
Adapted htmlfile tests.
2011-06-10 12:07:37 -03:00
Guillermo Rauch
50f6645e0b
Renamed Manager#for with Manager#of in tests.
2011-06-09 19:46:44 -03:00
Guillermo Rauch
f306870246
Added failing test: serving the client once it's been cached.
2011-06-09 08:49:02 -03:00
Guillermo Rauch
f8697e22ff
Fix json-p handshake.
2011-06-02 16:43:13 -03:00
Guillermo Rauch
6ab0a4cea5
Updated tests for jsonp callback format.
2011-05-30 11:38:36 -03:00
Guillermo Rauch
14c96c143c
Removed console.log statements
2011-05-25 01:29:15 -07:00
Guillermo Rauch
bd1970606c
Adjusted timeouts in websocket tests to avoid race conditions.
2011-05-25 01:27:01 -07:00
Guillermo Rauch
faa00b8b2d
Added test for broadcasting events in rooms.
2011-05-25 00:57:37 -07:00
Guillermo Rauch
62d3e6341e
Added test for broadcasting json to a room.
2011-05-25 00:54:57 -07:00
Guillermo Rauch
7678acc8e6
Added broadcast with to test.
2011-05-25 00:51:10 -07:00
Guillermo Rauch
d2d481ca8b
Added test for broadcasting an event.
2011-05-25 00:33:01 -07:00
Guillermo Rauch
9f4f52beb4
Added test for broadcasting json.
...
Removed unnecessary connections counter in broadcast tests.
2011-05-25 00:28:54 -07:00
Guillermo Rauch
41ab26b202
Added broadcast test.
2011-05-25 00:21:42 -07:00
Guillermo Rauch
be21ca2f19
Added test for sending json to all clients in a namespace.
2011-05-24 23:55:15 -07:00
Guillermo Rauch
60dec3dd83
Add test for sending json to a room.
2011-05-24 23:52:54 -07:00
Guillermo Rauch
0f0abab380
Added test for emitting an event to a room.
2011-05-24 23:50:18 -07:00
Guillermo Rauch
c3936cb5f9
Add test for sending to all clients in a given room.
2011-05-24 23:47:41 -07:00
Guillermo Rauch
4e2941fc05
Added test for SocketNamespace#emit.
2011-05-24 23:30:09 -07:00
Guillermo Rauch
d29c0bce7b
Added test for SocketNamespace#send.
2011-05-24 23:27:13 -07:00
Guillermo Rauch
d1dfcf4172
Fixed test jsonp handshake parser.
2011-05-24 22:53:53 -07:00
Guillermo Rauch
71ed07d458
Added missing tests for Socket#emit ACK callbacks with endpoint ''.
2011-05-24 22:45:40 -07:00
Guillermo Rauch
2083fca33a
Fixed event data ack for endpoint test.
2011-05-24 22:31:06 -07:00
Guillermo Rauch
11c1dda0c8
Fixed test for data acks from the client for endpoint messages.
2011-05-24 22:26:03 -07:00
Guillermo Rauch
3593916578
Fixed test for automatic client acknowledgements to an endpoint.
2011-05-24 22:21:41 -07:00
Guillermo Rauch
8c302fc323
Fixed test for manual data acks with events associated with an endpoint.
2011-05-24 22:17:15 -07:00
Guillermo Rauch
28c9d03dfa
Fixed manual data ack test with endpoint.
2011-05-24 22:11:32 -07:00