• dusan.simicic's avatar
    [test] Clear unhandled scheduled exceptions from ValueSerializerTest · 73281702
    dusan.simicic authored
    This patch adds destructor to ValueSerializerTest test fixture class
    which reset unhandled scheduled exceptions thrown from the current test.
    In some cases unhandled scheduled exceptions from current test (eg.
    from one test from ValueSerializerTestWithWasm test case) produce that
    Context::New(isolate()) from next test's constructor returns NULL.
    
    This error is easily reproduced when unittest file (compiled for ARM or
    MIPS simulator) is directly executed (not by tools/run_tests.py script),
    so all tests are executed together. When the script is used, each test
    from ValueSerializerTestWithWasm test case is separately executed and
    unhandled exception from one test doesn't efect to another test from
    the same test case.
    
    BUG=
    
    Review-Url: https://codereview.chromium.org/2644083002
    Cr-Commit-Position: refs/heads/master@{#42547}
    73281702
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...