Guillermo Rauch
ca3f3379cb
Fixed race condition in redis test.
2011-07-12 04:29:30 -03:00
Guillermo Rauch
fb5b9bc0b1
Made tests faster.
2011-07-12 03:42:05 -03:00
Arnout Kazemier
9cfdb8ed97
Expose socket.transport
2011-07-06 00:10:25 +02:00
Arnout Kazemier
d39d1401c4
Fixed broken test suite
2011-07-05 00:59:31 +02:00
Arnout Kazemier
159c75096d
Removed console statement
2011-07-05 00:38:24 +02:00
Arnout Kazemier
a70347b15f
Fixed #285
2011-07-05 00:37:19 +02:00
Arnout Kazemier
1a2c8aa31f
It was emitting uknown room, so the messages where never send fixes #291
2011-07-05 00:17:02 +02:00
Arnout Kazemier
af5960bc28
address.remoteAddress -> address.address just like node's
2011-07-02 19:50:18 +02:00
Arnout Kazemier
65d7229079
.address() returned server ip >_<, solved with this patch and adjusted the test
...
suite
2011-07-02 17:49:32 +02:00
Arnout Kazemier
16518c0715
Added a small indicator + test suite so you can see how a user is disconnected
2011-06-29 21:45:14 +02:00
Guillermo Rauch
d3d2a70944
Added MemoryStore expiration tests.
2011-06-29 11:38:28 -03:00
Guillermo Rauch
1bcf87eb14
Added RedisStore expiration tests.
2011-06-29 11:38:18 -03:00
Arnout Kazemier
d47bcd51ba
Merge branch 'master' of github.com:LearnBoost/socket.io into namespace.auth
2011-06-29 13:10:23 +02:00
Guillermo Rauch
6a83d6879c
Added redis store tests
2011-06-29 07:54:26 -03:00
Guillermo Rauch
56f5911b60
Added memory store tests
2011-06-29 07:54:13 -03:00
Arnout Kazemier
299e097fa7
Added storage for socket.handshake & updated test suite to check for it
2011-06-28 23:50:33 +02:00
Arnout Kazemier
a1963fcf7d
Added missing test suite
2011-06-28 21:49:45 +02:00
Arnout Kazemier
45f2718954
Cleaned up the websocket test
2011-06-28 21:05:53 +02:00
Guillermo Rauch
4e4199c15e
Added test for SocketNamespace#clients
2011-06-28 13:33:09 -03:00
Guillermo Rauch
c9d21c5ff5
Fixed tests
2011-06-28 08:29:42 -03:00
Guillermo Rauch
9740b42866
Added test for Socket#handshake.
2011-06-28 07:37:25 -03:00
Guillermo Rauch
76e6b9ea6f
Removed comments in xhr-polling test.
2011-06-27 15:53:15 -03:00
Guillermo Rauch
a517efcaca
Fixed signature of Socket#join in tests
...
Fixed style
2011-06-27 15:52:35 -03:00
Guillermo Rauch
8f6860b155
Make sure to close websocket clients on session tests
2011-06-27 15:52:17 -03:00
Guillermo Rauch
72283a9078
Removed comments from tests
2011-06-27 15:51:59 -03:00
Guillermo Rauch
bafb347e4a
Changed console.error to console.log.
2011-06-22 23:56:14 -03:00
Guillermo Rauch
802da70bf7
Fixed; bind both servers at the same time do that the test never times out.
2011-06-22 22:18:51 -03:00
Arnout Kazemier
b348f4de99
Style
2011-06-23 00:23:18 +02:00
Arnout Kazemier
6f93bb2ec7
Added 304 support
2011-06-23 00:20:28 +02:00
Guillermo Rauch
36ecd49ad2
Updated tests.
2011-06-22 04:09:19 -03:00
Guillermo Rauch
0b9bc61ff1
Added CORS test to xhr-polling suite.
2011-06-21 21:02:22 -03:00
Guillermo Rauch
3bab44506b
Added header override support in test client.
2011-06-21 21:02:11 -03:00
Guillermo Rauch
903f7ec9ff
Fixed cross-domain POST XHR requests for Firefox.
2011-06-21 20:17:24 -03:00
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