Home
last modified time | relevance | path

Searched refs:DebugEvent (Results 1 – 21 of 21) sorted by relevance

/arkcompiler/toolchain/tooling/test/utils/
Dtest_util.cpp22 DebugEvent TestUtil::lastEvent_ = DebugEvent::UNINITIALIZED;
29 std::ostream &operator<<(std::ostream &out, DebugEvent value) in operator <<()
39 ADD_CASE(DebugEvent::BREAKPOINT); in operator <<()
40 ADD_CASE(DebugEvent::LOAD_MODULE); in operator <<()
41 ADD_CASE(DebugEvent::PAUSED); in operator <<()
42 ADD_CASE(DebugEvent::EXCEPTION); in operator <<()
43 ADD_CASE(DebugEvent::STEP_COMPLETE); in operator <<()
44 ADD_CASE(DebugEvent::METHOD_ENTRY); in operator <<()
45 ADD_CASE(DebugEvent::SINGLE_STEP); in operator <<()
46 ADD_CASE(DebugEvent::VM_START); in operator <<()
[all …]
Dtest_util.h60 WaitForEvent(DebugEvent::BREAKPOINT, predicate, onSuccess); in WaitForBreakpoint()
65 auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::DROPFRAME; }; in WaitForDropframe()
66 return WaitForEvent(DebugEvent::DROPFRAME, predicate, [] {}); in WaitForDropframe()
71 … auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::CHECK_COMPLETE; }; in WaitForCheckComplete()
72 return WaitForEvent(DebugEvent::CHECK_COMPLETE, predicate, [] {}); in WaitForCheckComplete()
77 return WaitForEvent(DebugEvent::VM_DEATH, in WaitForExit()
79 return lastEvent_ == DebugEvent::VM_DEATH; in WaitForExit()
91 WaitForEvent(DebugEvent::STEP_COMPLETE, predicate, onSuccess); in WaitForStepComplete()
96 auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::EXCEPTION; }; in WaitForException()
97 return WaitForEvent(DebugEvent::EXCEPTION, predicate, [] {}); in WaitForException()
[all …]
Dtest_events.h35 enum class DebugEvent { enum
51 std::ostream &operator<<(std::ostream &out, DebugEvent value);
Dtest_hooks.h95 TestUtil::Event(DebugEvent::VM_DEATH); in VmDeath()
103 TestUtil::Event(DebugEvent::VM_START); in VmStart()
/arkcompiler/toolchain/tooling/test/testcases/
Djs_syntax_exception_test.h37 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsSyntaxExceptionTest()
53 TestUtil::SuspendUntilContinue(DebugEvent::EXCEPTION, location); in JsSyntaxExceptionTest()
62 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsSyntaxExceptionTest()
Djs_range_error_test.h37 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsRangeErrorTest()
53 TestUtil::SuspendUntilContinue(DebugEvent::EXCEPTION, location); in JsRangeErrorTest()
62 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsRangeErrorTest()
Djs_exception_test.h37 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsExceptionTest()
53 TestUtil::SuspendUntilContinue(DebugEvent::EXCEPTION, location); in JsExceptionTest()
62 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsExceptionTest()
Djs_step_into_test.h42 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsStepIntoTest()
57 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsStepIntoTest()
68 TestUtil::SuspendUntilContinue(DebugEvent::STEP_COMPLETE, location); in JsStepIntoTest()
Djs_throw_exception_test.h37 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsThrowExceptionTest()
54 TestUtil::SuspendUntilContinue(DebugEvent::EXCEPTION, location); in JsThrowExceptionTest()
65 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsThrowExceptionTest()
Djs_step_out_test.h40 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsStepOutTest()
55 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsStepOutTest()
66 TestUtil::SuspendUntilContinue(DebugEvent::STEP_COMPLETE, location); in JsStepOutTest()
Djs_step_over_test.h40 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsStepOverTest()
55 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsStepOverTest()
66 TestUtil::SuspendUntilContinue(DebugEvent::STEP_COMPLETE, location); in JsStepOverTest()
Djs_breakpoint_async_test.h30 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsBreakpointAsyncTest()
39 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsBreakpointAsyncTest()
Djs_breakpoint_test.h30 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsBreakpointTest()
39 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsBreakpointTest()
Djs_breakpoint_arrow_test.h30 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsBreakpointArrowTest()
39 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsBreakpointArrowTest()
Djs_dropframe_test.h34 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsDropFrameTest()
42 TestUtil::SuspendUntilContinue(DebugEvent::CHECK_COMPLETE); in JsDropFrameTest()
44 TestUtil::SuspendUntilContinue(DebugEvent::DROPFRAME); in JsDropFrameTest()
57 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsDropFrameTest()
Djs_local_variable_scope_test.h31 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsLocalVariableScopeTest()
43 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsLocalVariableScopeTest()
Djs_single_step_test.h38 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsSingleStepTest()
Djs_variable_second_test.h31 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsVariableSecondTest()
43 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsVariableSecondTest()
Djs_container_test.h31 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsContainerTest()
43 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsContainerTest()
Djs_variable_first_test.h31 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsVariableFirstTest()
43 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsVariableFirstTest()
Djs_module_variable_test.h35 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsModuleVariableTest()
48 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsModuleVariableTest()