Classes | Functions
state_machine_test.cpp File Reference
#include "common.h"
#include "mavlink.h"
#include "state_manager.h"
#include "test_board.h"
#include "rosflight.h"
Include dependency graph for state_machine_test.cpp:

Go to the source code of this file.

Classes

class  StateMachineTest
 

Functions

 TEST_F (StateMachineTest, Init)
 
 TEST_F (StateMachineTest, SetAndClearAllErrors)
 
 TEST_F (StateMachineTest, SetAndClearComboErrors)
 
 TEST_F (StateMachineTest, AddErrorAfterPreviousError)
 
 TEST_F (StateMachineTest, ClearOneErrorOutOfMany)
 
 TEST_F (StateMachineTest, ClearMultipleErrorsAtOnce)
 
 TEST_F (StateMachineTest, ClearAllErrors)
 
 TEST_F (StateMachineTest, DoNotArmIfError)
 
 TEST_F (StateMachineTest, ArmIfNoError)
 
 TEST_F (StateMachineTest, ArmAndDisarm)
 
 TEST_F (StateMachineTest, WaitForCalibrationToArm)
 
 TEST_F (StateMachineTest, CalibrationFailedDontArm)
 
 TEST_F (StateMachineTest, ErrorDuringCalibrationDontArm)
 
 TEST_F (StateMachineTest, RCLostDuringCalibrationDontArm)
 
 TEST_F (StateMachineTest, ClearErrorStayDisarmed)
 
 TEST_F (StateMachineTest, RecoverRCStayDisarmed)
 
 TEST_F (StateMachineTest, SetErrorsWhileArmed)
 
 TEST_F (StateMachineTest, ErrorsPersistWhenDisarmed)
 
 TEST_F (StateMachineTest, UnableToArmWithPersistentErrors)
 
 TEST_F (StateMachineTest, ArmIfThrottleLow)
 
 TEST_F (StateMachineTest, ArmIfThrottleHighWithMinThrottle)
 
 TEST_F (StateMachineTest, DontArmIfThrottleHighWithoutMinThrottle)
 
 TEST_F (StateMachineTest, LostRCWhenDisarmNoFailsafe)
 
 TEST_F (StateMachineTest, UnableToArmWithoutRC)
 
 TEST_F (StateMachineTest, AbleToArmAfterRCRecovery)
 
 TEST_F (StateMachineTest, RCLostWhileArmedEnterFailsafe)
 
 TEST_F (StateMachineTest, DisarmWhileInFailsafeGoToError)
 
 TEST_F (StateMachineTest, RegainRCAfterFailsafe)
 
 TEST_F (StateMachineTest, NormalBoot)
 
 TEST_F (StateMachineTest, CrashRecoveryDisarmed)
 
 TEST_F (StateMachineTest, CrashRecoveryArmed)
 
 TEST_F (StateMachineTest, CrashRecoveryInvalidChecksum)
 
 TEST_F (StateMachineTest, CrashRecoveryInvalidArmMagic)
 
 TEST_F (StateMachineTest, WriteBackupDataDisarmed)
 
 TEST_F (StateMachineTest, WriteBackupDataArmed)
 

Function Documentation

TEST_F ( StateMachineTest  ,
Init   
)

Definition at line 42 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
SetAndClearAllErrors   
)

Definition at line 51 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
SetAndClearComboErrors   
)

Definition at line 72 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
AddErrorAfterPreviousError   
)

Definition at line 83 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
ClearOneErrorOutOfMany   
)

Definition at line 95 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
ClearMultipleErrorsAtOnce   
)

Definition at line 108 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
ClearAllErrors   
)

Definition at line 120 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
DoNotArmIfError   
)

Definition at line 132 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
ArmIfNoError   
)

Definition at line 143 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
ArmAndDisarm   
)

Definition at line 152 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
WaitForCalibrationToArm   
)

Definition at line 164 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
CalibrationFailedDontArm   
)

Definition at line 183 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
ErrorDuringCalibrationDontArm   
)

Definition at line 195 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
RCLostDuringCalibrationDontArm   
)

Definition at line 207 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
ClearErrorStayDisarmed   
)

Definition at line 219 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
RecoverRCStayDisarmed   
)

Definition at line 231 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
SetErrorsWhileArmed   
)

Definition at line 243 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
ErrorsPersistWhenDisarmed   
)

Definition at line 255 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
UnableToArmWithPersistentErrors   
)

Definition at line 267 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
ArmIfThrottleLow   
)

Definition at line 279 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
ArmIfThrottleHighWithMinThrottle   
)

Definition at line 293 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
DontArmIfThrottleHighWithoutMinThrottle   
)

Definition at line 310 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
LostRCWhenDisarmNoFailsafe   
)

Definition at line 327 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
UnableToArmWithoutRC   
)

Definition at line 336 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
AbleToArmAfterRCRecovery   
)

Definition at line 343 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
RCLostWhileArmedEnterFailsafe   
)

Definition at line 353 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
DisarmWhileInFailsafeGoToError   
)

Definition at line 363 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
RegainRCAfterFailsafe   
)

Definition at line 374 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
NormalBoot   
)

Definition at line 385 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
CrashRecoveryDisarmed   
)

Definition at line 394 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
CrashRecoveryArmed   
)

Definition at line 409 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
CrashRecoveryInvalidChecksum   
)

Definition at line 424 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
CrashRecoveryInvalidArmMagic   
)

Definition at line 440 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
WriteBackupDataDisarmed   
)

Definition at line 455 of file state_machine_test.cpp.

TEST_F ( StateMachineTest  ,
WriteBackupDataArmed   
)

Definition at line 475 of file state_machine_test.cpp.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Fri Oct 9 2020 03:17:18