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

Method SetUp

tests/test-scheduler-basic.cpp:92–96  ·  view source on GitHub ↗

* @brief Set up test environment before each test * * Clears any previous test output and initializes timing system. * Called automatically by Google Test framework before each test method. * Ensures each test starts with a clean, predictable state. */

Source from the content-addressed store, hash-verified

90 * Ensures each test starts with a clean, predictable state.
91 */
92 void SetUp() override {
93 clearTestOutput();
94 // Reset time by creating new static start point
95 millis(); // Initialize timing
96 }
97
98 /**
99 * @brief Clean up test environment after each test

Callers

nothing calls this directly

Calls 2

clearTestOutputFunction · 0.85
millisFunction · 0.85

Tested by

no test coverage detected