deno/cli/tests
Bartek Iwańczuk 7966bf14c0
refactor: split worker and worker host logic (#3722)
* split ops/worker.rs into ops/worker_host.rs and ops/web_worker.rs

* refactor js/workers.ts and factor out js/worker_main.ts - entry point for WebWorker runtime

* BREAKING CHANGE: remove support for blob: URL in Worker

* BREAKING CHANGE: remove Deno namespace support and noDenoNamespace option in Worker constructor

* introduce WebWorker struct which is a stripped down version of cli::Worker
2020-01-21 09:49:47 +01:00
..
034_onload Move deno_std to a more convenient location. (#3057) 2019-10-04 14:49:32 -04:00
039_worker_deno_ns Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
051_wasm_import Loader: support .wasm imports (#3328) 2019-11-14 08:31:39 -05:00
053_import_compression Add gzip, brotli and ETag support for file fetcher (#3597) 2020-01-11 11:11:05 +01:00
importmaps Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
subdir refactor: split worker and worker host logic (#3722) 2020-01-21 09:49:47 +01:00
tls feat: Deno.listenTLS (#3152) 2019-10-21 14:38:28 -04:00
type_definitions Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
001_hello.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
001_hello.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
002_hello.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
002_hello.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
003_relative_import.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
003_relative_import.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
004_set_timeout.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
004_set_timeout.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
005_more_imports.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
005_more_imports.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
006_url_imports.ts Remove test.py, use cargo test as test frontend (#2967) 2019-09-19 14:48:05 -04:00
006_url_imports.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
012_async.ts Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
012_async.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
013_dynamic_import.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
013_dynamic_import.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
014_duplicate_import.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
014_duplicate_import.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
015_duplicate_parallel_import.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
015_duplicate_parallel_import.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
016_double_await.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
016_double_await.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
017_import_redirect.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
017_import_redirect.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
018_async_catch.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
018_async_catch.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
019_media_types.ts Remove test.py, use cargo test as test frontend (#2967) 2019-09-19 14:48:05 -04:00
019_media_types.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
020_json_modules.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
020_json_modules.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
021_mjs_modules.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
021_mjs_modules.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
022_info_flag_script.out Remove test.py, use cargo test as test frontend (#2967) 2019-09-19 14:48:05 -04:00
023_no_ext_with_headers Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
023_no_ext_with_headers.headers.json Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
023_no_ext_with_headers.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
024_import_no_ext_with_headers.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
024_import_no_ext_with_headers.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
025_hrtime.ts Use web standard Permissions API (#3200) 2019-10-27 11:22:53 -04:00
025_hrtime.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
025_reload_js_type_error.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
025_reload_js_type_error.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
026_redirect_javascript.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
026_redirect_javascript.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
026_workers.ts refactor: split worker and worker host logic (#3722) 2020-01-21 09:49:47 +01:00
026_workers.ts.out workers: minimal error handling and async module loading (#3665) 2020-01-17 18:43:53 -05:00
027_redirect_typescript.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
027_redirect_typescript.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
028_args.ts Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
028_args.ts.out feat: Deno.args now does not include script (#3628) 2020-01-09 11:37:01 -07:00
029_eval.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
033_import_map.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
034_onload.out feat: window.onunload (#3023) 2019-10-02 11:32:51 -04:00
035_cached_only_flag.out feat: Add --no-remote, rename --no-fetch to --cached-only (#3417) 2019-12-03 17:48:53 -05:00
036_import_map_fetch.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
038_checkjs.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
038_checkjs.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
038_checkjs.tsconfig.json Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
039_worker_deno_ns.ts refactor: split worker and worker host logic (#3722) 2020-01-21 09:49:47 +01:00
039_worker_deno_ns.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
040_worker_blob.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
040_worker_blob.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
041_dyn_import_eval.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
041_info_flag.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
042_dyn_import_evalcontext.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
042_dyn_import_evalcontext.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
044_bad_resource.ts fix: run missing integration tests (#2997) 2019-09-24 10:46:57 -04:00
044_bad_resource.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
045_proxy_client.ts Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
045_proxy_test.ts Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
045_proxy_test.ts.out test: improve http_proxy test (#3185) 2019-10-22 09:52:41 -04:00
046_jsx_test.tsx feat: JSX Support (#3038) 2019-10-02 10:46:36 -04:00
046_jsx_test.tsx.out feat: JSX Support (#3038) 2019-10-02 10:46:36 -04:00
047_jsx_test.jsx feat: JSX Support (#3038) 2019-10-02 10:46:36 -04:00
047_jsx_test.jsx.out feat: JSX Support (#3038) 2019-10-02 10:46:36 -04:00
048_media_types_jsx.ts fix: remote jsx/tsx files were compiled as js/ts (#3125) 2019-10-16 13:35:04 -04:00
048_media_types_jsx.ts.out fix: remote jsx/tsx files were compiled as js/ts (#3125) 2019-10-16 13:35:04 -04:00
049_info_flag_script_jsx.out fix: remote jsx/tsx files were compiled as js/ts (#3125) 2019-10-16 13:35:04 -04:00
050_more_jsons.ts Support named imports/exports for subset of properties in JSON modules (#3210) 2019-10-26 21:04:34 -04:00
050_more_jsons.ts.out Support named imports/exports for subset of properties in JSON modules (#3210) 2019-10-26 21:04:34 -04:00
051_wasm_import.ts Loader: support .wasm imports (#3328) 2019-11-14 08:31:39 -05:00
051_wasm_import.ts.out Loader: support .wasm imports (#3328) 2019-11-14 08:31:39 -05:00
052_no_remote_flag.out feat: Add --no-remote, rename --no-fetch to --cached-only (#3417) 2019-12-03 17:48:53 -05:00
053_import_compression.out Add gzip, brotli and ETag support for file fetcher (#3597) 2020-01-11 11:11:05 +01:00
async_error.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
async_error.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
badly_formatted.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
badly_formatted_fixed.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
bundle.test.out feat: Support named exports on bundles. (#3352) 2019-11-20 11:02:08 -05:00
cat.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
circular1.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
circular1.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
circular2.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
config.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
config.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
config.tsconfig.json Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
echo_server.ts Use 0.0.0.0 for servers in benchmarks and tests (#3010) 2019-09-30 12:35:48 -04:00
error_001.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_001.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_002.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_002.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_003_typescript.ts Update to TypeScript 3.6.3 (#2969) 2019-09-17 12:24:44 -04:00
error_003_typescript.ts.out Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
error_004_missing_module.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_004_missing_module.ts.out better error message for missing module (#3402) 2019-11-25 09:33:23 -05:00
error_005_missing_dynamic_import.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_005_missing_dynamic_import.ts.out better error message for missing module (#3402) 2019-11-25 09:33:23 -05:00
error_006_import_ext_failure.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_006_import_ext_failure.ts.out better error message for missing module (#3402) 2019-11-25 09:33:23 -05:00
error_007_any.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_007_any.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_008_checkjs.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_008_checkjs.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_009_missing_js_module.disabled Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
error_009_missing_js_module.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_009_missing_js_module.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_010_nonexistent_arg.disabled Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_010_nonexistent_arg.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_011_bad_module_specifier.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_011_bad_module_specifier.ts.out Runtime Compiler API (#3442) 2020-01-08 09:17:44 -05:00
error_012_bad_dynamic_import_specifier.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_012_bad_dynamic_import_specifier.ts.out Runtime Compiler API (#3442) 2020-01-08 09:17:44 -05:00
error_013_missing_script.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_014_catch_dynamic_import_error.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_014_catch_dynamic_import_error.js.out better error messages for 'relative import path not prefixed with / or ./ or ../' (#3405) 2019-11-26 09:14:04 -08:00
error_015_dynamic_import_permissions.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_015_dynamic_import_permissions.out remove --no-prompt flag, fail on missing permissions (#3183) 2019-10-22 19:35:43 -04:00
error_016_dynamic_import_permissions2.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_016_dynamic_import_permissions2.out remove --no-prompt flag, fail on missing permissions (#3183) 2019-10-22 19:35:43 -04:00
error_stack.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_stack.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_syntax.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_syntax.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_type_definitions.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
error_type_definitions.ts.out Runtime Compiler API (#3442) 2020-01-08 09:17:44 -05:00
error_worker_dynamic.ts Handle uncaught worker errors without panicking (#3019) 2019-09-25 10:46:58 -04:00
error_worker_dynamic.ts.out Handle uncaught worker errors without panicking (#3019) 2019-09-25 10:46:58 -04:00
esm_imports_a.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
esm_imports_b.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
exec_path.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
exit_error42.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
exit_error42.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
fixture.json Upgrade node_modules, change tagline, clean up root directory (#3247) 2019-10-31 19:33:27 -07:00
hello.txt Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
https_import.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
https_import.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
if_main.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
if_main.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
import_meta.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
import_meta.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
import_meta2.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
integration_tests.rs refactor: split worker and worker host logic (#3722) 2020-01-21 09:49:47 +01:00
lock_check_err.json feat: lockfiles (#3231) 2019-11-03 10:39:27 -05:00
lock_check_err.out Use async-await at few places, fix spelling mistake (#3499) 2019-12-15 06:12:34 +08:00
lock_check_err2.json feat: lockfiles (#3231) 2019-11-03 10:39:27 -05:00
lock_check_err2.out Use async-await at few places, fix spelling mistake (#3499) 2019-12-15 06:12:34 +08:00
lock_check_ok.json feat: lockfiles (#3231) 2019-11-03 10:39:27 -05:00
lock_check_ok2.json feat: lockfiles (#3231) 2019-11-03 10:39:27 -05:00
no_color.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
README.md Remove test.py, use cargo test as test frontend (#2967) 2019-09-19 14:48:05 -04:00
seed_random.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
seed_random.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
std_tests.rs Revert "feat(flags): script arguments come after '--'" (#3681) 2020-01-15 19:21:35 -05:00
symlink_to_subdir Upgrade node_modules, change tagline, clean up root directory (#3247) 2019-10-31 19:33:27 -07:00
text_decoder_perf.js Add TextDecoder benchmark (#3180) 2019-10-22 18:50:56 -04:00
text_encoder_perf.js Added textencoder benchmark (#3589) 2020-01-04 05:21:06 -05:00
top_level_await.js Upgrade V8 for top-level-await (#3015) 2019-09-24 18:37:04 -04:00
top_level_await.out Upgrade V8 for top-level-await (#3015) 2019-09-24 18:37:04 -04:00
top_level_await.ts Support top-level-await in TypeScript (#3024) 2019-09-30 12:38:23 -04:00
top_level_for_await.js feat: top-level-for-await (#3212) 2019-10-27 09:04:42 -04:00
top_level_for_await.out feat: top-level-for-await (#3212) 2019-10-27 09:04:42 -04:00
top_level_for_await.ts feat: top-level-for-await (#3212) 2019-10-27 09:04:42 -04:00
type_definitions.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
type_definitions.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
types.out Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
unbuffered_stderr.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
unbuffered_stderr.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
unbuffered_stdout.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
unbuffered_stdout.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
v8_flags.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
v8_flags.js.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
v8_help.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
wasm.ts Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
wasm.ts.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
wasm_async.js Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
wasm_async.out Move integration tests to //cli/tests/ (#2964) 2019-09-16 21:05:14 -04:00
workers_round_robin_bench.ts refactor: split worker and worker host logic (#3722) 2020-01-21 09:49:47 +01:00
workers_startup_bench.ts refactor: split worker and worker host logic (#3722) 2020-01-21 09:49:47 +01:00

Integration Tests

This path contains integration tests. See integration_tests.rs for the index.

TODO(ry) Currently //tests is a symlink to //cli/tests, to simplify transition. In the future the symlink should be removed when all the many references have been updated to the new path.