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

Function test_onEnable_false

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

* @brief OnEnable lifecycle callback that prevents enabling * * Returns false to prevent task enabling. Used for testing * conditional enabling behavior. */

Source from the content-addressed store, hash-verified

282 * conditional enabling behavior.
283 */
284bool test_onEnable_false() {
285 onEnable_called = true;
286 test_output.push_back("onEnable_called_false");
287 return false;
288}
289
290/**
291 * @brief OnDisable lifecycle callback

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected