MCPcopy Create free account
hub / github.com/arkhipenko/TaskScheduler / SetUp

Method SetUp

tests/test-scheduler-thread-safe.cpp:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67class ThreadSafeTest : public ::testing::Test {
68protected:
69 void SetUp() override {
70 test_output.clear();
71 task_execution_count = 0;
72 thread1_requests = 0;
73 thread2_requests = 0;
74 isr_requests = 0;
75 clearTaskRequestQueue();
76 isInISRContext = false;
77 }
78
79 void TearDown() override {
80 clearTaskRequestQueue();

Callers

nothing calls this directly

Calls 1

clearTaskRequestQueueFunction · 0.85

Tested by

no test coverage detected