Skip to content

Commit

Permalink
🔀️ Merge branch 'yann/fix/rc/missing-uts-expected-calls' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Aug 15, 2024
2 parents 28b2205 + 405a027 commit 06ee44e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libs/RobotKit/tests/RobotController_test_hardware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ TEST_F(RobotControllerTest, suspendHardwareForDeepSleep)
rc.registerDeepSleepEnabledComponents(components);

EXPECT_CALL(mock_deep_sleep_enabled, enableDeepSleep);
EXPECT_CALL(mbed_mock_gap, disconnect);
rc.suspendHardwareForDeepSleep();
}

Expand Down
1 change: 1 addition & 0 deletions libs/RobotKit/tests/StateMachine_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ TEST_F(StateMachineTest, stateDeepSleepingEventBleConnection)
sm.set_current_states(lksm::state::deep_sleeping);

EXPECT_CALL(mock_rc, wakeUp);
EXPECT_CALL(mock_rc, startConnectionBehavior);

sm.process_event(lksm::event::ble_connection {});

Expand Down

0 comments on commit 06ee44e

Please sign in to comment.