v8/test/unittests
jameslahm e2679ec79a [test] Migrate TEST(TryCatch...) in cctest/test-api to unittests.
- Add RunJSNoChecked to run the script which possibly throws.
- Add CompileRun to run the script outside TEST_F, e.g., in
FunctionTemplate and helpers etc.

Bug: v8:12781
Change-Id: Ibab2e19cf1f7c76f7a81a90fc5894e7e6bfb7cdf
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3586770
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: 王澳 <wangao.james@bytedance.com>
Cr-Commit-Position: refs/heads/main@{#80025}
2022-04-19 15:11:37 +00:00
..
api [test] Migrate TEST(TryCatch...) in cctest/test-api to unittests. 2022-04-19 15:11:37 +00:00
asmjs [Respect] Prefer inclusive terms 2020-06-22 18:11:23 +00:00
assembler Reland "[rwx][mac] Introduce RwxMemoryWriteScope" 2022-04-19 08:48:47 +00:00
base [builtins] Remap builtins on Linux 2022-04-19 13:35:07 +00:00
codegen [riscv64][register-alloc] Implement vector register independently allocating 2022-03-11 05:07:45 +00:00
compiler [wasm-simd][arm64] Use Bic(x, imm) for And(x, [Not](imm)) when possible 2022-04-19 10:09:37 +00:00
compiler-dispatcher [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
date Reland "[d8] Remove maximum workers limitation" 2019-07-30 07:56:17 +00:00
debug [inspector] Speed up DebugPropertyIterator. 2021-09-13 12:52:11 +00:00
diagnostics [gdbjit] Fix overlapping AddressRegion check 2021-08-19 17:29:57 +00:00
execution [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
heap cppgc: young-gen: Pack AgeTable knowing allocation granularity 2022-04-13 14:58:17 +00:00
interpreter [ic] name Set/Define/Store property operations more consistently 2022-03-08 18:48:16 +00:00
libplatform [test] Fix missing GC in SingleThreadedDefaultPlatformTest 2022-04-07 12:03:25 +00:00
logging [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
numbers [fastcall] Support JSArray as arguments 2021-06-23 14:01:40 +00:00
objects [valueserializer] Implement a compatibility mode for deserializing broken data 2022-04-13 13:58:49 +00:00
parser [cleanup] Remove DISALLOW_COPY_AND_ASSIGN in test/{common,unittests} 2020-11-06 06:07:54 +00:00
profiler [cpu-profiler] Add method to estimate mem size of ProfilerCodeObserver 2021-08-23 19:07:15 +00:00
regexp [regexp] Hide the generic JSRegExp::DataAt/SetDataAt accessors 2021-09-29 11:37:41 +00:00
regress [heap] Remove Factory::NewUninitializedFixedArray 2021-04-26 13:52:38 +00:00
runtime Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
sandbox [base] Don't return bool from VirtualAddressSpace::Free* routines 2022-03-07 16:53:23 +00:00
strings [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
tasks [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
utils [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
wasm [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
zone [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
avoid-windows-h-includes.cc Test that heap-inl.h doesn't include windows.h 2021-10-14 21:18:51 +00:00
BUILD.gn [heap] Convert test-lab.cc -> lab-unittest.cc 2022-04-13 13:30:59 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
run-all-unittests.cc [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
test-helpers.cc [compiler-dispatcher] Move Job pointer to SFI 2021-12-08 16:03:35 +00:00
test-helpers.h [compiler] Introduce ReusableUnoptimizedCompileState 2021-12-08 11:14:27 +00:00
test-utils.cc heap: Convert embedder tracing tests to unittests 2022-04-08 12:43:55 +00:00
test-utils.h [test] Migrate TEST(TryCatch...) in cctest/test-api to unittests. 2022-04-19 15:11:37 +00:00
testcfg.py [test] Clean up Py2 code 2022-03-17 09:12:36 +00:00
unittests.status [test] skip all Torque unittests on Mac Arm64 2022-04-14 08:49:11 +00:00