Guillermo Rauch
4f0f811001
test: make sure the many messages test has the right timeout config
2012-10-21 09:21:58 -07:00
Guillermo Rauch
1aa47406fd
test: improve ping timeout tests
2012-10-21 09:16:44 -07:00
Guillermo Rauch
33c5806864
test: make client ping timeout test more reliable
2012-10-21 09:10:23 -07:00
Fedor Indutny
be7b4e7478
socket: reset ping timeout on incoming data
2012-10-16 23:39:57 +07:00
cadorn
6a8a77a65e
remove console.log
2012-10-15 17:29:36 -07:00
cadorn
c4bf8edf43
mass data test
2012-10-15 17:11:27 -07:00
Guillermo Rauch
092576990a
test: fixed tests not passing with node-xmlhttprequest 1.5.0
2012-10-07 17:33:26 -07:00
Guillermo Rauch
d32c9c1a80
test: fixed style
2012-10-04 09:21:09 -07:00
Guillermo Rauch
2f806d35b4
Merge pull request #84 from c9/better-pings2
...
Better pings 2
2012-10-04 08:41:27 -07:00
Dan Zajdband
3344ac4ed9
query instead of send get parameters in test/server.js tests. It was breaking tests
2012-09-21 15:44:07 -03:00
cadorn
16650233d9
ping from client
2012-09-12 16:12:46 -07:00
cadorn
0b9f7809bc
changes for #78
2012-09-12 13:17:48 -07:00
Afshin Mehrabani
dd3440ced7
rebase with master
2012-09-10 21:01:20 +04:30
Afshin Mehrabani
a318a30ced
fix code styling, bad indentation
2012-09-05 00:58:33 +04:30
Guillermo Rauch
95303cb3f3
test: fixed test for clearing callback references
2012-09-04 12:06:57 -07:00
Guillermo Rauch
eeacea93ff
test: fix style, removed test that's not passing
2012-09-04 12:06:41 -07:00
Guillermo Rauch
6b725eb349
Merge pull request #71 from afshinm/master
...
add `send` callback feature
2012-09-04 11:12:22 -07:00
Afshin Mehrabani
b7ac48941e
fix double \n
2012-09-04 22:40:46 +04:30
Afshin Mehrabani
8af0e2a253
two new test for send callback
...
in this new tests we assert that:
1- when socket get closed and one or more packet(s) are in writeBuffer,
callback references get cleaned to avoid memory leak.
2- callbacks still execute in polling mode
2012-09-04 21:32:25 +04:30
Afshin Mehrabani
37c91fc822
fix tests + code styling
2012-08-26 19:32:59 +04:30
Afshin Mehrabani
837ba76477
add new test
...
test the callback while polling
2012-08-26 00:42:21 +04:30
Afshin Mehrabani
c81cf614e1
fix code style problems, remove unnecessary clearing
2012-08-25 21:09:21 +04:30
Afshin Mehrabani
23004e8b6e
fix code styling issues
2012-08-21 00:23:14 +04:30
Afshin Mehrabani
347639b117
add new send callback tests
2012-08-20 12:16:33 +04:30
Afshin Mehrabani
1434eaf78f
add send callback tests + a little change in function
2012-08-15 22:27:03 +04:30
Guillermo Rauch
81a6e76426
test: added flush/drain events tests
2012-08-10 10:46:00 -07:00
Guillermo Rauch
02573b0652
test: added Connection: close test.
2012-08-06 15:08:43 -07:00
Guillermo Rauch
1d580fef07
test: added closing connection test
2012-08-06 11:51:35 -07:00
Guillermo Rauch
fb522c46fa
test: updated tests
2012-08-06 09:18:39 -07:00
Guillermo Rauch
a86e1aeba1
server: added failing test courtesy of Contra
2012-08-01 16:10:28 -07:00
Guillermo Rauch
21f3e7033a
Adapted test to new API
2012-07-03 14:20:16 -07:00
Guillermo Rauch
2edf01dd2c
Added thorough cookie tests.
2012-07-03 14:20:05 -07:00
Guillermo Rauch
4fd56bf3f6
test: added io cookie handshake test
2012-07-02 11:03:24 -07:00
Guillermo Rauch
3a2b592398
test: added onopen and onclose to test
2012-07-02 07:43:15 -07:00
Guillermo Rauch
7b0699b10f
Added default resource to test URLs.
2012-04-03 08:18:11 -03:00
Guillermo Rauch
722ee5b5e4
Fixed parser reference.
2012-03-03 18:48:43 -03:00
einaros
89a30ec268
avoid suggesting upgrades which arent enabled on the server
2012-01-26 09:28:35 -08:00
einaros
b983b1a063
fix tests for latest superagent
2012-01-25 13:14:32 -08:00
Guillermo Rauch
dfb3e1fa1d
Removed test for client ping interval awareness.
2012-01-17 09:57:21 -08:00
Guillermo Rauch
96aa932bea
Fixed ping tests.
2012-01-17 09:55:57 -08:00
Guillermo Rauch
081e304d7d
Refactored (now passing) upgrade test.
2012-01-15 22:21:49 -08:00
Guillermo Rauch
4e8b650561
Removed test no longer valid in 0.6
2012-01-15 22:21:39 -08:00
Guillermo Rauch
b2c249e7ef
Slown down some tests since they were pretty extreme.
...
The blocking `console.error` behavior of debug was making the tests not
pass sometimes.
2012-01-14 11:36:16 -08:00
Guillermo Rauch
aab09b04bc
Refactored server tests with listen shortcut and sprintf.
2012-01-14 09:42:18 -08:00
Guillermo Rauch
0c79fcacbc
Added starts of upgrade tests.
2012-01-09 08:35:39 -08:00
Guillermo Rauch
475826e69a
Added messages ws tests
2012-01-04 17:56:03 -08:00
Guillermo Rauch
f2459424c1
Added tricky xhr-polling test.
2012-01-04 17:48:11 -08:00
Guillermo Rauch
593db7192f
Added first message test
2012-01-04 17:47:52 -08:00
Guillermo Rauch
7a4e0c086a
Added client close test for websocket.
2012-01-04 14:03:50 -08:00
Guillermo Rauch
38d644ef76
Added client close test.
2012-01-04 13:57:55 -08:00