Commit Graph

68 Commits

Author SHA1 Message Date
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
dc8ceca3d1 test: clean up common 2012-10-04 09:07:37 -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
Guillermo Rauch
c906e5800e Revert "test: tweaked timers that were making tests not pass on mountain lion"
This reverts commit fefb643c4a.
2012-09-06 11:55:58 -07:00
Afshin Mehrabani
a318a30ced fix code styling, bad indentation 2012-09-05 00:58:33 +04:30
Guillermo Rauch
fefb643c4a test: tweaked timers that were making tests not pass on mountain lion 2012-09-04 12:08:19 -07:00
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
Guillermo Rauch
2c61e40537 test: removed flash policy buffering test
- it was a false positive (it was all being written in one packet despite
  the callback).
- node will discard subsequent packets anyways as they're not a valid
  request. we can only hope(?) that flash's request comes all in one packet
2012-08-26 18:14:01 -07:00
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
1c0a3e69ad Removed engine version test. 2012-07-03 14:19:49 -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
825a489e9e Added default resource to URLs. 2012-04-03 08:16:14 -03:00
Guillermo Rauch
e4ca71c84e Fixed ambiguous requirement. 2012-03-03 19:05:05 -03:00
Guillermo Rauch
722ee5b5e4 Fixed parser reference. 2012-03-03 18:48:43 -03:00
Guillermo Rauch
7784d48838 Fixed eio requirement to require lib-cov if needed. 2012-03-03 18:41:33 -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
fdd4faa180 Refactored tests with new listen, sprintf & fixed potential leaks of errors to different tests. 2012-01-14 09:41:44 -08:00
Guillermo Rauch
3f3da53491 Added listen utilit for ephemeral ports listening & sprintf. 2012-01-14 09:41:10 -08:00