koichik
8293bb8a32
test: refactored http test.
...
Many http tests had used legacy http.Client.
This refactored it to use modern API.
Fixes #1528 .
2011-08-16 23:59:57 +09:00
Ryan Dahl
55048cdf79
Update copyright headers
2011-03-14 17:37:05 -07:00
Oleg Efimov
093dfaf801
GJSLint all tests, only 3 long lines left in test-url.js
...
test/simple/test-url.js:31:(0110) Line too long (82 characters).
test/simple/test-url.js:39:(0110) Line too long (85 characters).
test/simple/test-url.js:40:(0110) Line too long (92 characters).
2010-12-05 15:42:41 -08:00
Ryan Dahl
92789b16e5
Fix global leaks
2010-12-04 16:36:21 -08:00
Ryan Dahl
a0159b4b29
Fix global leaks
2010-12-04 15:58:50 -08:00
Micheil Smith
372a7c9a3e
Migrated from sys.p to console.dir
2010-10-11 16:21:45 -07:00
Ryan Dahl
44a287987e
Safe constructors: http.Server and http.Client
2010-08-27 13:58:52 -07:00
Herbert Vojčík
cf2b206a8e
More changes to tests so they really work under context module loader.
...
Plus, getting rid of test/common.js defining things in global.
2010-08-17 08:41:05 -07:00
Bert Belder
7059be19ec
Fix http and net tests failing due to race condition
...
Plus some minor cosmetic corrections
2010-08-11 17:27:44 -07:00
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
2010-07-15 14:21:31 -07:00
Ryan Dahl
cb79614f73
Don't encourage strange ideas about req race conditions
2010-06-20 11:56:48 -07:00
Ryan Dahl
74b7fa29a1
Refactor HTTP
...
Allow throttling from outgoing messages.
2010-05-27 20:41:57 -07:00
Ryan Dahl
50c70ac714
Update stream API: forceClose() -> destroy(), close() -> end()
2010-04-08 12:24:29 -07:00
isaacs
5861db8a69
Remove process.mixin dependency from all tests.
2010-03-08 17:57:04 -08:00
arlolra
724ccf10df
Tests on common port.
2010-02-26 12:20:10 -08:00
Benjamin Thomas
b1b84960ce
Rename writeHeader to writeHead
2010-02-25 13:01:21 -08:00
arlolra
04fac19822
Split tests.
2010-02-25 11:41:11 -08:00