mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
f5e46c9bf2
This looks like a massive PR, but it's only a move from cli/tests -> tests, and updates of relative paths for files. This is the first step towards aggregate all of the integration test files under tests/, which will lead to a set of integration tests that can run without the CLI binary being built. While we could leave these tests under `cli`, it would require us to keep a more complex directory structure for the various test runners. In addition, we have a lot of complexity to ignore various test files in the `cli` project itself (cargo publish exclusion rules, autotests = false, etc). And finally, the `tests/` folder will eventually house the `test_ffi`, `test_napi` and other testing code, reducing the size of the root repo directory. For easier review, the extremely large and noisy "move" is in the first commit (with no changes -- just a move), while the remainder of the changes to actual files is in the second commit.
175 lines
6.1 KiB
Text
175 lines
6.1 KiB
Text
[WILDCARD]
|
|
running 63 tests from ./node/test.js
|
|
sync pass todo ...
|
|
------- output -------
|
|
Warning: Not implemented: test.TestContext.todo
|
|
----- output end -----
|
|
sync pass todo ... ok [WILDCARD]
|
|
sync pass todo with message ...
|
|
------- output -------
|
|
Warning: Not implemented: test.TestContext.todo
|
|
----- output end -----
|
|
sync pass todo with message ... ok [WILDCARD]
|
|
sync fail todo ...
|
|
------- output -------
|
|
Warning: Not implemented: test.TestContext.todo
|
|
----- output end -----
|
|
sync fail todo ... FAILED [WILDCARD]
|
|
sync fail todo with message ...
|
|
------- output -------
|
|
Warning: Not implemented: test.TestContext.todo
|
|
----- output end -----
|
|
sync fail todo with message ... FAILED [WILDCARD]
|
|
sync skip pass ...
|
|
------- output -------
|
|
Warning: Not implemented: test.TestContext.skip
|
|
----- output end -----
|
|
sync skip pass ... ok [WILDCARD]
|
|
sync skip pass with message ...
|
|
------- output -------
|
|
Warning: Not implemented: test.TestContext.skip
|
|
----- output end -----
|
|
sync skip pass with message ... ok [WILDCARD]
|
|
sync pass ...
|
|
------- output -------
|
|
DIAGNOSTIC: this test should pass
|
|
----- output end -----
|
|
sync pass ... ok [WILDCARD]
|
|
sync throw fail ... FAILED [WILDCARD]
|
|
async skip pass ...
|
|
------- output -------
|
|
Warning: Not implemented: test.TestContext.skip
|
|
----- output end -----
|
|
async skip pass ... ok [WILDCARD]
|
|
async pass ... ok [WILDCARD]
|
|
async throw fail ... FAILED [WILDCARD]
|
|
nested test ...
|
|
nested 1 ...
|
|
nested 2 ... ok [WILDCARD]
|
|
nested 1 ... ok [WILDCARD]
|
|
nested test ... ok [WILDCARD]
|
|
async skip fail ...
|
|
------- output -------
|
|
Warning: Not implemented: test.TestContext.skip
|
|
----- output end -----
|
|
async skip fail ... FAILED [WILDCARD]
|
|
async assertion fail ... FAILED [WILDCARD]
|
|
resolve pass ... ok [WILDCARD]
|
|
reject fail ... FAILED [WILDCARD]
|
|
unhandled rejection - passes but warns ...
|
|
Uncaught error from ./node/test.js FAILED
|
|
unhandled rejection - passes but warns ... cancelled ([WILDCARD])
|
|
async unhandled rejection - passes but warns ... cancelled ([WILDCARD])
|
|
immediate throw - passes but warns ... cancelled ([WILDCARD])
|
|
immediate reject - passes but warns ... cancelled ([WILDCARD])
|
|
immediate resolve pass ... cancelled ([WILDCARD])
|
|
subtest sync throw fail ... cancelled ([WILDCARD])
|
|
sync throw non-error fail ... cancelled ([WILDCARD])
|
|
level 0a ... cancelled ([WILDCARD])
|
|
top level ... cancelled ([WILDCARD])
|
|
invalid subtest - pass but subtest fails ... cancelled ([WILDCARD])
|
|
sync skip option ... ignored ([WILDCARD])
|
|
sync skip option with message ... cancelled ([WILDCARD])
|
|
sync skip option is false fail ... cancelled ([WILDCARD])
|
|
noop ... cancelled ([WILDCARD])
|
|
functionOnly ... cancelled ([WILDCARD])
|
|
<anonymous> ... cancelled ([WILDCARD])
|
|
test with only a name provided ... cancelled ([WILDCARD])
|
|
noop ... cancelled ([WILDCARD])
|
|
noop ... ignored ([WILDCARD])
|
|
test with a name and options provided ... ignored ([WILDCARD])
|
|
functionAndOptions ... ignored ([WILDCARD])
|
|
escaped skip message ... cancelled ([WILDCARD])
|
|
escaped todo message ... cancelled ([WILDCARD])
|
|
escaped diagnostic ... cancelled ([WILDCARD])
|
|
callback pass ... cancelled ([WILDCARD])
|
|
callback fail ... cancelled ([WILDCARD])
|
|
sync t is this in test ... cancelled ([WILDCARD])
|
|
async t is this in test ... cancelled ([WILDCARD])
|
|
callback t is this in test ... cancelled ([WILDCARD])
|
|
callback also returns a Promise ... cancelled ([WILDCARD])
|
|
callback throw ... cancelled ([WILDCARD])
|
|
callback called twice ... cancelled ([WILDCARD])
|
|
callback called twice in different ticks ... cancelled ([WILDCARD])
|
|
callback called twice in future tick ... cancelled ([WILDCARD])
|
|
callback async throw ... cancelled ([WILDCARD])
|
|
callback async throw after done ... cancelled ([WILDCARD])
|
|
custom inspect symbol fail ... cancelled ([WILDCARD])
|
|
custom inspect symbol that throws fail ... cancelled ([WILDCARD])
|
|
subtest sync throw fails ... cancelled ([WILDCARD])
|
|
timed out async test ... cancelled ([WILDCARD])
|
|
timed out callback test ... cancelled ([WILDCARD])
|
|
large timeout async test is ok ... cancelled ([WILDCARD])
|
|
large timeout callback test is ok ... cancelled ([WILDCARD])
|
|
successful thenable ... cancelled ([WILDCARD])
|
|
rejected thenable ... cancelled ([WILDCARD])
|
|
unfinished test with uncaughtException ... cancelled ([WILDCARD])
|
|
unfinished test with unhandledRejection ... cancelled ([WILDCARD])
|
|
|
|
ERRORS
|
|
|
|
sync fail todo => ./node/test.js:20:1
|
|
error: Error: thrown from sync fail todo
|
|
throw new Error("thrown from sync fail todo");
|
|
[WILDCARD]
|
|
|
|
sync fail todo with message => ./node/test.js:25:1
|
|
error: Error: thrown from sync fail todo with message
|
|
throw new Error("thrown from sync fail todo with message");
|
|
[WILDCARD]
|
|
|
|
sync throw fail => ./node/test.js:42:1
|
|
error: Error: thrown from sync throw fail
|
|
throw new Error("thrown from sync throw fail");
|
|
[WILDCARD]
|
|
|
|
async throw fail => ./node/test.js:53:1
|
|
error: Error: thrown from async throw fail
|
|
throw new Error("thrown from async throw fail");
|
|
[WILDCARD]
|
|
|
|
async skip fail => ./node/test.js:64:1
|
|
error: Error: thrown from async throw fail
|
|
throw new Error("thrown from async throw fail");
|
|
[WILDCARD]
|
|
|
|
async assertion fail => ./node/test.js:69:1
|
|
error: AssertionError: Values are not strictly equal:
|
|
|
|
|
|
[Diff] Actual / Expected
|
|
|
|
|
|
- true
|
|
+ false
|
|
|
|
at [WILDCARD]
|
|
|
|
reject fail => ./node/test.js:78:1
|
|
error: Error: rejected from reject fail
|
|
return Promise.reject(new Error("rejected from reject fail"));
|
|
^
|
|
at [WILDCARD]
|
|
|
|
./node/test.js (uncaught error)
|
|
error: (in promise) Error: rejected from unhandled rejection fail
|
|
Promise.reject(new Error("rejected from unhandled rejection fail"));
|
|
^
|
|
at [WILDCARD]
|
|
This error was not caught from a test and caused the test runner to fail on the referenced module.
|
|
It most likely originated from a dangling promise, event/timeout handler or top-level code.
|
|
|
|
FAILURES
|
|
|
|
sync fail todo => ./node/test.js:20:1
|
|
sync fail todo with message => ./node/test.js:25:1
|
|
sync throw fail => ./node/test.js:42:1
|
|
async throw fail => ./node/test.js:53:1
|
|
async skip fail => ./node/test.js:64:1
|
|
async assertion fail => ./node/test.js:69:1
|
|
reject fail => ./node/test.js:78:1
|
|
./node/test.js (uncaught error)
|
|
|
|
FAILED | 9 passed (2 steps) | 51 failed | 4 ignored [WILDCARD]
|
|
|
|
error: Test failed
|