reducing complexity
This commit is contained in:
parent
1c96d9541e
commit
3298283973
|
@ -128,7 +128,6 @@ void EngineTestHelper::fireTriggerEvents2(int count, float durationMs) {
|
||||||
void EngineTestHelper::clearQueue() {
|
void EngineTestHelper::clearQueue() {
|
||||||
engine.executor.executeAll(99999999); // this is needed to clear 'isScheduled' flag
|
engine.executor.executeAll(99999999); // this is needed to clear 'isScheduled' flag
|
||||||
ASSERT_EQ( 0, engine.executor.size()) << "Failed to clearQueue";
|
ASSERT_EQ( 0, engine.executor.size()) << "Failed to clearQueue";
|
||||||
engine.ignitionEventsHead = nullptr; // let's drop whatever was scheduled just to start from a clean state
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int EngineTestHelper::executeActions() {
|
int EngineTestHelper::executeActions() {
|
||||||
|
|
Loading…
Reference in New Issue