MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / test_run_with_catch_clear.cpp

File test_run_with_catch_clear.cpp

tests-cpp/small/test_run_with_catch_clear.cpp:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Test for issue #2523: Context::runWithCatch leaves exception/stopFlags set;
2// C++ bindings have to clean up by hand.
3//
4// Verifies the contract of:

Callers

nothing calls this directly

Calls 9

compileDaScriptFunction · 0.85
getDasRootFunction · 0.85
toFunction · 0.85
getContextStackSizeMethod · 0.80
runWithCatchMethod · 0.80
clearExceptionMethod · 0.80
runWithCatchAndClearMethod · 0.80
simulateMethod · 0.45
findFunctionMethod · 0.45

Tested by

no test coverage detected