node/test/fixtures
Nick Stenning 0a3eff8021 Standardise module load order for native and registered file extensions.
This patch standardises the load order for modules. Highest priority is trying to load exactly the file the user specified, followed by native extensions, followed by registered extra extensions, etc.

In full, if we require('foo') having registered '.coffee' as an alternative extension, we try and load the following files in order:

    foo
    foo.js
    foo.node
    foo.coffee
    foo/index.js
    foo/index.node
    foo/index.coffee
2010-08-04 16:03:08 -07:00
..
b fix whitespace errors 2010-06-29 23:59:24 -07:00
cycles :%s/sys.puts/console.log/g 2010-06-23 20:05:29 -07:00
empty Don't attempt to load a directory. 2010-08-04 15:55:47 -07:00
module-load-order Standardise module load order for native and registered file extensions. 2010-08-04 16:03:08 -07:00
nested-index Split tests. 2010-02-25 11:41:11 -08:00
readdir Decoupled readdir test. 2010-02-25 18:49:10 -08:00
require-path Cache modules based on filename rather than ID 2010-07-19 14:17:22 -07:00
a.js Update tests to work with module contexts 2010-07-15 14:21:31 -07:00
a1.js Better require.async tests 2010-04-07 11:47:45 -07:00
cert.pem Add SSL tests 2010-04-02 17:14:03 -07:00
child_process_should_emit_error.js fix whitespace errors 2010-06-29 23:59:24 -07:00
echo.js Update tests to work with module contexts 2010-07-15 14:21:31 -07:00
elipses.txt Bugfix: fs.ReadStream.setEncoding 2010-05-26 18:33:38 -07:00
empty.txt Handle empty files with fs.readFile 2010-05-13 12:42:17 -07:00
exit.js :%s/sys.puts/console.log/g 2010-06-23 20:05:29 -07:00
fixture.ini More ini parser features. 2010-03-10 21:44:59 -08:00
foo Support including modules that don't have an extension. 2010-07-20 10:26:24 -07:00
msca.pem Add SSL tests 2010-04-02 17:14:03 -07:00
net-fd-passing-receiver.js Move Buffer into own module 2010-03-19 20:58:24 -07:00
print-10-lines.js :%s/sys.puts/console.log/g 2010-06-23 20:05:29 -07:00
print-chars-from-buffer.js Update tests to work with module contexts 2010-07-15 14:21:31 -07:00
print-chars.js Update tests to work with module contexts 2010-07-15 14:21:31 -07:00
recvfd.js Send and receive file descriptors through net.Stream. 2010-06-02 18:16:53 -07:00
registerExt.test Add require.registerExtension 2010-03-11 22:00:55 -08:00
registerExt2.test Add require.registerExtension 2010-03-11 22:00:55 -08:00
sample.png added test for Issue #214 2010-07-19 10:16:31 -07:00
should_exit.js New test-case: signal unregistration 2010-04-25 23:14:07 -07:00
stdio-filter.js Add a parameter to spawn() that sets the child's stdio file descriptors. 2010-06-02 10:41:24 -07:00
test_ca.pem Split tests. 2010-02-25 11:41:11 -08:00
test_cert.pem Split tests. 2010-02-25 11:41:11 -08:00
test_key.pem Split tests. 2010-02-25 11:41:11 -08:00
throws_error.js Split tests. 2010-02-25 11:41:11 -08:00
throws_error1.js Better require.async throw test 2010-04-08 08:17:58 -07:00
throws_error2.js Improve error reporting 2010-05-09 13:55:42 -07:00
throws_error3.js Improve error reporting 2010-05-09 13:55:42 -07:00
x.txt Split tests. 2010-02-25 11:41:11 -08:00