Checks flight-mode annunciation, director engagement and ground/airborne mode transitions.
Subsystem: Avionics, navigation and flight guidance
Fixture/harness: fmamodetests
Setup: The standalone FmaModeTests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/FmaModeTests.vcxproj; declared configurations: Release|x64.
FmaModeTests.cpp
Source: Tests/FmaModeTests.cpp
Flight Director On
Fixture: FMA Mode tests
Case symbol: FlightDirectorOn
Source: Tests/FmaModeTests.cpp:86
- Test
- Support check: compares actual flight-director engagement with the expected state.
Source check messages (including original failure wording)
-
unexpected flight director engagement
Ground State Tests
Fixture: FMA Mode tests
Case symbol: GroundStateTests
Source: Tests/FmaModeTests.cpp:104
- Test
- Ground State Tests: bus contact state follows the live reference in both directions; live airborne publication permits FPA after PIT while ground still skips it.
Source check messages (including original failure wording)
-
bus contact state follows the live reference in both directions
-
live airborne publication permits FPA after PIT while ground still skips it
Axis Default Tests
Fixture: FMA Mode tests
Case symbol: AxisDefaultTests
Source: Tests/FmaModeTests.cpp:123
- Test
- Axis Default Tests: lateral key repeat leaves both axes unchanged; lateral cycle preserves active vertical guidance; only Off defaults to PIT; lateral selection captures pitch only for an unset vertical axis.
Source check messages (including original failure wording)
-
lateral key repeat leaves both axes unchanged
-
lateral cycle preserves active vertical guidance; only Off defaults to PIT
-
lateral selection captures pitch only for an unset vertical axis
-
lateral cycle preserves A/F engagement and armed modes
-
vertical selection with lateral Off supplies ROL and captures current bank
-
cycling the takeoff vertical mode captures PIT without passing through Off
Vertical Cycle Tests
Fixture: FMA Mode tests
Case symbol: VerticalCycleTests
Source: Tests/FmaModeTests.cpp:183
- Test
- Vertical Cycle Tests: vertical cycle preserves active lateral guidance including PIT wrap; vertical cycle preserves lateral targets; vertical cycle preserves Autoflyte engagement and armed modes.
Source check messages (including original failure wording)
-
vertical cycle preserves active lateral guidance including PIT wrap
-
vertical cycle preserves lateral targets
-
vertical cycle preserves Autoflyte engagement and armed modes
-
vertical cycle wraps without selecting separately armed glideslope
-
FMA retains lateral label without a false mode-change highlight
-
complete cycle respects existing FPA and AGL availability
-
return to PIT captures current pitch and displays PIT
-
key repeat does not cycle modes
-
cycling out of captured glideslope preserves lateral mode
-
PIT wrap with lateral Off initializes the normal roll fallback
Heading Ownership Tests
Fixture: FMA Mode tests
Case symbol: HeadingOwnershipTests
Source: Tests/FmaModeTests.cpp:256
- Test
- Heading Ownership Tests: engaged DOR may show its commanded orbital heading; DOR OFF preview cannot replace the manual, TVM, HDG, NAV or LOC heading readout; heading presentation does not change flight-control targets.
Source check messages (including original failure wording)
-
engaged DOR may show its commanded orbital heading
-
DOR OFF preview cannot replace the manual, TVM, HDG, NAV or LOC heading readout
-
heading presentation does not change flight-control targets
-
re-engaging DOR restores its commanded orbital heading
-
DOR assigned AFCS steering displays the assigned heading or course
Dor Panel Tests
Fixture: FMA Mode tests
Case symbol: DorPanelTests
Source: Tests/FmaModeTests.cpp:309
- Test
- Dor Panel Tests: DOR phase occupies the former A/T cell; DOR phase replaces A/T even if autothrottle flag is set; DOR appears once as source, including AFCS ascent.
Source check messages (including original failure wording)
-
DOR phase occupies the former A/T cell
-
DOR phase replaces A/T even if autothrottle flag is set
-
phase text fits existing cell
-
DOR appears once as source, including AFCS ascent
-
released DOR attitude leaves both lower guidance cells blank
-
DOR attitude ownership shows ALIGN on both axes
-
ALIGN fits both existing guidance cells
-
lamp test retains normal labels and zero altitude
-
unused zero altitude label and value are hidden
-
TVM displays normally before DOR selection
-
switch from TVM clears cached label
-
phase changes start highlight
-
phase highlight expires
-
stable phase does not retrigger highlight
-
DOR source remains visible during AFCS HDG/PIT ascent
-
DOR aircraft FPA retains its angle readout
-
assigned navigation remains attitude-controlled without replacing selected course
-
real controller accepts wait/coast attitude release
-
blank axes agree with real controller's pilot attitude freedom
-
real controller produces initial alignment
-
manual attitude input takes over during ALIGN
-
real controller captures and holds burn attitude
-
ALIGN stays visible while a captured burn still owns attitude
-
upper row keeps armed modes during DOR
-
DOR-to-TVM handoff clears phases and restores A/T
-
selected PIT angle is visible below the active vertical cell
-
active sea-level altitude hold remains visible at entry handoff
-
active zero AGL hold remains visible
-
nonzero selected altitude remains visible outside altitude hold
-
clearing unused altitude hides label and value together
-
armed zero altitude remains a meaningful selection
-
inactive throttle and DOR show no thrust indication