Ben Noordhuis
f0ce98441f
fs: make fs.watchFile() work on windows
13 years ago
Igor Zinkovsky
61be6844aa
disable fs.watchFile tests on windows
13 years ago
Ben Noordhuis
018e110cd1
test: replace .addListener() calls with .on()
13 years ago
Ryan Dahl
7b4370e5f8
Fix test/pummel/test-watch-file.js
13 years ago
Ryan Dahl
4e1d6fca8e
Mark tests which are broken in libuv
13 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
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).
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Oleg Efimov
c0d69a4883
GJSLint part of tests
14 years ago
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
15 years ago
Ryan Dahl
ba792ea202
:%s/sys.puts/console.log/g
and there was much rejoicing
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
isaacs
5861db8a69
Remove process.mixin dependency from all tests.
15 years ago
Ryan Dahl
30b700ee22
Move watchFile into fs module
15 years ago
arlolra
04fac19822
Split tests.
15 years ago
Ryan Dahl
0314a10e10
Clean up and rename test-stat-handler
15 years ago
Tim Caswell
6115df6338
File API tweaks
- Rename fs.cat to fs.readFile
- Move file.write to fs.writeFile
- Allow strings for the flag argument to fs.open
("r", "r+", "w", "w+", "a", "a+")
- Remove the unused 'File' module / class
15 years ago
Felix Geisendörfer
530328f12b
CommonJS testing for node.js
Refactored test suite to use the assert module for testing rather than
mjsunit.
15 years ago
choonkeat
44d5f212fe
Stat::Callback has 2 arguments for callback: current stat info and previous stat info
http://groups.google.com/group/nodejs/msg/f8e51a8e0c74bd85
15 years ago
Ryan Dahl
6e6562e551
Fix stat handler test for macintosh
15 years ago
Ryan Dahl
8d2f9e83a4
Add process.watchFile() process.unwatchFile()
This is an interface to libev's ev_stat watcher.
15 years ago