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

Function test_onEnable

tests/test-scheduler-basic-thorough.cpp:272–276  ·  view source on GitHub ↗

* @brief OnEnable lifecycle callback that allows enabling * * Returns true to allow task enabling. Used for testing * normal lifecycle callback behavior. */

Source from the content-addressed store, hash-verified

270 * normal lifecycle callback behavior.
271 */
272bool test_onEnable() {
273 onEnable_called = true;
274 test_output.push_back("onEnable_called");
275 return true;
276}
277
278/**
279 * @brief OnEnable lifecycle callback that prevents enabling

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected