einaros
00f7ca1d02
fixed incorrect space chars
2011-10-01 14:45:20 +02:00
einaros
1874fd7c30
added transport option to websocket test client (for flashsocket testing)
2011-09-20 18:40:43 +02:00
Guillermo Rauch
fb5b9bc0b1
Made tests faster.
2011-07-12 03:42:05 -03:00
Arnout Kazemier
45f2718954
Cleaned up the websocket test
2011-06-28 21:05:53 +02:00
Guillermo Rauch
bafb347e4a
Changed console.error to console.log.
2011-06-22 23:56:14 -03:00
Guillermo Rauch
3bab44506b
Added header override support in test client.
2011-06-21 21:02:11 -03:00
Guillermo Rauch
b5b72bd212
Fixed; make sure handshake responses are not parsed.
2011-05-19 15:50:55 -07:00
Guillermo Rauch
3595cc4f0b
Added HTTPClient export in test utilities.
2011-05-17 16:12:06 -07:00
Guillermo Rauch
2bf65750f3
Added; test/common exports HTTPClient for transport inheritance.
...
Added the possibility of HTTPClient not buffering responses.
2011-05-17 11:22:03 -07:00
Guillermo Rauch
e6ad372ef3
Changed; finished refactoring tests. All passing.
2011-05-17 10:52:45 -07:00
Guillermo Rauch
8f0f71ac92
Changed; cleaned up test utilities:
...
- Moved all the logic into a reusable class.
- Minimize globals by only exposing `client` and `create`
- Separate `http.Agent` per clients so that we can terminate all sockets at once.
- Implemented `create` to easily spawn a socket.io server for a given client.
2011-05-16 19:45:03 -07:00
Guillermo Rauch
5a164ed053
Fixed tests helpers.
2011-05-14 20:25:46 -07:00
Guillermo Rauch
416cd66591
Fix for detecting HTTP-based transports for get() test shortcut.
2011-05-07 18:25:14 -07:00
Guillermo Rauch
0df8acc280
Fixed; ignore parser for empty GET responses.
...
Changed; style
2011-05-06 20:22:41 -07:00
Guillermo Rauch
4243ddfb89
Changed; utility functions signature now path, port, opts, fn, with opts being
...
optional.
Changed; parser override only for paths that include transports.
Changed; style.
2011-05-06 20:22:07 -07:00
Guillermo Rauch
9215d77898
Changed; make sure that get() decodes the payload and also preserves the frame parser.
2011-05-06 17:28:42 -07:00
Guillermo Rauch
deb45624ba
Changed; test utilities now expose get / post / req
...
Changed; req now accepts a response parser
2011-05-06 17:01:11 -07:00
Guillermo Rauch
c2d0774d46
Removed const (slow)
2011-05-06 15:12:51 -07:00
Guillermo Rauch
1514af064f
Socket.IO 0.7-pre
2011-05-05 08:49:40 -07:00