Skip to content

Commit

Permalink
commander tests: Update test routine to match expected / designed err…
Browse files Browse the repository at this point in the history
…or handling behaviour
  • Loading branch information
LorenzMeier committed Apr 20, 2015
1 parent 7dbb6c4 commit 4f0896b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,10 @@ bool StateMachineHelperTest::armingStateTransitionTest(void)

// Sensor tests

{ "no transition: init to standby - sensors not initialized",
{ "transition to standby error: init to standby - sensors not initialized",
{ vehicle_status_s::ARMING_STATE_INIT, ATT_DISARMED, ATT_NOT_READY_TO_ARM }, vehicle_status_s::HIL_STATE_OFF, ATT_SENSORS_NOT_INITIALIZED, ATT_SAFETY_AVAILABLE, ATT_SAFETY_ON,
vehicle_status_s::ARMING_STATE_STANDBY,
{ vehicle_status_s::ARMING_STATE_INIT, ATT_DISARMED, ATT_NOT_READY_TO_ARM }, TRANSITION_DENIED },
{ vehicle_status_s::ARMING_STATE_STANDBY_ERROR, ATT_DISARMED, ATT_NOT_READY_TO_ARM }, TRANSITION_DENIED },

// Safety switch arming tests

Expand Down

0 comments on commit 4f0896b

Please sign in to comment.