Home
last modified time | relevance | path

Searched refs:DebugEvent (Results 1 - 18 of 18) sorted by relevance

/arkcompiler/toolchain/tooling/test/utils/
H A 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 in operator <<()
[all...]
H A 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 in WaitForException()
[all...]
H A Dtest_events.h36 enum class DebugEvent { class
52 std::ostream &operator<<(std::ostream &out, DebugEvent value);
H A Dtest_hooks.h104 TestUtil::Event(DebugEvent::VM_DEATH);
112 TestUtil::Event(DebugEvent::VM_START);
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
H A Dtest_util.h79 WaitForEvent(DebugEvent::BREAKPOINT, predicate, onSuccess); in WaitForBreakpoint()
86 DebugEvent::VM_DEATH, []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::VM_DEATH; }, [] {}); in WaitForExit()
92 DebugEvent::VM_INITIALIZATION, []() REQUIRES(eventMutex_) { return initialized_; }, [] {}); in WaitForInit()
95 static void Event(DebugEvent event, PtThread thread = PtThread::NONE, in Event()
103 if (event == DebugEvent::VM_INITIALIZATION) { in Event()
113 lastEvent_ = DebugEvent::VM_START; in Reset()
124 return lastEvent_ == DebugEvent::VM_DEATH; in IsTestFinished()
144 static bool SuspendUntilContinue(DebugEvent reason, PtThread thread, PtLocation location) in SuspendUntilContinue()
193 static bool WaitForEvent(DebugEvent even
[all...]
H A Dtest_util.cpp27 DebugEvent TestUtil::lastEvent_ = DebugEvent::UNINITIALIZED;
H A Dapi_test.h93 enum class DebugEvent { class
101 inline constexpr std::array<const char *, static_cast<size_t>(DebugEvent::UNINITIALIZED) + 1> DEBUG_EVENT_NAMES = {
109 inline std::ostream &operator<<(std::ostream &out, DebugEvent value) in operator <<()
H A Dtest_runner.h156 TestUtil::Event(DebugEvent::VM_DEATH);
164 TestUtil::Event(DebugEvent::VM_INITIALIZATION);
/arkcompiler/toolchain/tooling/test/testcases/
H A Djs_step_over_test.h40 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsStepOverTest()
55 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsStepOverTest()
70 TestUtil::SuspendUntilContinue(DebugEvent::STEP_COMPLETE, location); in JsStepOverTest()
H A 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()
H A Djs_step_into_test.h42 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsStepIntoTest()
57 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsStepIntoTest()
72 TestUtil::SuspendUntilContinue(DebugEvent::STEP_COMPLETE, location); in JsStepIntoTest()
H A 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()
H A 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()
H A 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()
H A 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()
59 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsDropFrameTest()
H A Djs_single_step_test.h38 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsSingleStepTest()
H A Djs_variable_first_test.h31 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsVariableFirstTest()
44 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsVariableFirstTest()
H A Djs_variable_second_test.h31 TestUtil::SuspendUntilContinue(DebugEvent::BREAKPOINT, location); in JsVariableSecondTest()
44 TestUtil::SuspendUntilContinue(DebugEvent::LOAD_MODULE); in JsVariableSecondTest()

Completed in 16 milliseconds