added test cases for require() and friends
authorPatrick Mueller <pmuellr@apache.org>
Mon, 20 Feb 2012 23:00:46 +0000 (18:00 -0500)
committerPatrick Mueller <pmuellr@apache.org>
Mon, 20 Feb 2012 23:00:46 +0000 (18:00 -0500)
commitd7341998e657598a8419aa421d84e5bebbb26494
treed8e6fdada90fed889cfde1851aa5ef852486d017
parent8513d59c196340271468807c1822ac3ad3bc0664
added test cases for require() and friends

   https://issues.apache.org/jira/browse/CB-267

Added the commonjs test suite from:

   https://github.com/commonjs/commonjs

Those tests are now in

   thirdparty/commonjs-tests

Test scaffolding has been added to

   test/commonjs

See the README.txt file in that directory for
instructions on running the tests.

In addition, the LICENSE was modified to include
information on the commonjs tests and existing
jasmine usage.  A NOTICE file was also added,
since it was not available before.
48 files changed:
LICENSE
NOTICE [new file with mode: 0644]
test/commonjs/.gitignore [new file with mode: 0644]
test/commonjs/README.txt [new file with mode: 0644]
test/commonjs/build-tests.py [new file with mode: 0755]
test/commonjs/launcher-in-iframe.template.html [new file with mode: 0644]
test/commonjs/launcher-main.template.html [new file with mode: 0644]
test/commonjs/test.css [new file with mode: 0644]
thirdparty/commonjs-tests/README.txt [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/absolute/b.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/absolute/program.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/absolute/submodule/a.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/absolute/test.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/cyclic/a.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/cyclic/b.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/cyclic/program.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/cyclic/test.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/determinism/program.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/determinism/submodule/a.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/determinism/submodule/b.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/determinism/test.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/exactExports/a.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/exactExports/program.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/exactExports/test.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/hasOwnProperty/hasOwnProperty.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/hasOwnProperty/program.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/hasOwnProperty/test.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/hasOwnProperty/toString.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/method/a.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/method/program.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/method/test.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/missing/program.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/missing/test.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/monkeys/a.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/monkeys/program.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/monkeys/test.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/nested/a/b/c/d.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/nested/program.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/nested/test.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/relative/program.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/relative/submodule/a.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/relative/submodule/b.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/relative/test.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/transitive/a.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/transitive/b.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/transitive/c.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/transitive/program.js [new file with mode: 0644]
thirdparty/commonjs-tests/modules/1.0/transitive/test.js [new file with mode: 0644]