Ryan Dahl
a8c2bb41af
Fix tests
14 years ago
Ryan Dahl
9395786d11
Fix race conditions in tests
14 years ago
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
15 years ago
Ryan Dahl
5f30377bbc
Load modules in individual contexts
Add NODE_MODULE_CONTEXTS env var
Only one test was modified to check that this works. NEED to go through all
tests and modify them so that
NODE_MODULE_CONTEXTS=1 make test
passes.
15 years ago
Blake Mizerany
8c8534046c
fix whitespace errors
15 years ago
Ryan Dahl
ba792ea202
:%s/sys.puts/console.log/g
and there was much rejoicing
15 years ago
Ryan Dahl
cb79614f73
Don't encourage strange ideas about req race conditions
15 years ago
Micheil Smith
e0d30b545a
Renaming tcp tests to net tests
15 years ago
Ryan Dahl
14414f81f3
Soft deprecation of 'listening' event.
Add callback param to listen() instead
15 years ago
Ryan Dahl
67eeedd602
Disable test-signal-unregister.js as functionality doesn't exist yet
15 years ago
Ryan Dahl
d2cff34fa3
Idle timeout changes
- setTimeout should active the timeout too. (test-net-set-timeout tests
this.)
- 'timeout' event is not automatically followed by an 'error' event. That
is the user is now responsible for destroying the stream if there is an
idle timeout.
15 years ago
Jonas Pfenniger
df07a713bd
New test-case: signal unregistration
The default signal-handler should be restored if no handlers are
assigned.
15 years ago
Ryan Dahl
6abdf051d3
Unhandled 'error' events kill program
By default 'error' throws. addListener to prevent this.
15 years ago
Ryan Dahl
d2e1b0855f
Move two broken tests to disabled folder
15 years ago
Ryan Dahl
b549b3fcce
Fix test case style
15 years ago
Ryan Dahl
6732e7fa17
Add big proxy failing test
GH-77. Code by Robert Newson <robert.newson@gmail.com>
15 years ago
Ryan Dahl
50c70ac714
Update stream API: forceClose() -> destroy(), close() -> end()
15 years ago
Ryan Dahl
0301adf9b4
In tests, wait for 'listening' before connecting
15 years ago
Ryan Dahl
94644d743c
Remove multipart library
Too messy, unmaintainable. Pull it out of the history if you need it.
15 years ago
Ryan Dahl
b9106b0ecd
Use AF_INET sockets instead of always AF_INET6
You can get AF_INET6 still, it's just not the only choice.
15 years ago
Johan Dahlberg
18de108e4c
Bugfix: watchFile, unwatch, watch causes error
Fixed bug that caused application to cast a "TypeError: Cannot call method
'addListener' of undefined" when first watching a file, unwatching and then
watching same file again.
15 years ago
Ryan Dahl
70ffdf5db9
Fix HTTP keep-alive
15 years ago
Ryan Dahl
6b6dcf4aad
Move test-child-process-spawn-loop to pummel/
15 years ago
Ryan Dahl
8e9ec4abea
Fix idle timeouts
Remove process.now because it doesn't provide enough precision.
15 years ago
Ryan Dahl
a01d8a0d68
Timer clean ups
Also bugfix getting pointer to C++ class in watcher
15 years ago
Ryan Dahl
4278f35e89
Add support for Buffer to fs.write
15 years ago
Ryan Dahl
04c06b9149
child process now use net.Socket
15 years ago
Ryan Dahl
0918bb2070
Adjust a few more tests to work with net2
15 years ago
Ryan Dahl
c1a0ade7e7
Further net2 compatibilities
15 years ago
isaacs
5861db8a69
Remove process.mixin dependency from all tests.
15 years ago
Ryan Dahl
0e844d3bcb
tcp.Connection.prototype.write should return boolean
15 years ago
Ryan Dahl
776b099d75
Disable ipv6 test on solaris
15 years ago
Ryan Dahl
30b700ee22
Move watchFile into fs module
15 years ago
arlolra
724ccf10df
Tests on common port.
15 years ago
Benjamin Thomas
b1b84960ce
Rename writeHeader to writeHead
15 years ago
arlolra
04fac19822
Split tests.
15 years ago