Checks DOR disengagement and clearing of its control state.
Subsystem: Orbital flight, ascent and re-entry guidance
Fixture/harness: dordisconnecttests
Setup: The standalone DorDisconnectTests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/DorDisconnectTests.vcxproj; declared configurations: Release|x64.
DorDisconnectTests.cpp
Source: Tests/DorDisconnectTests.cpp
Entry-point checks
Fixture: Dor Disconnect tests
Case symbol: main
Source: Tests/DorDisconnectTests.cpp:47
- Test
- Entry-point checks: disconnect clears control state; manual takeover clears guidance; clearance reason survives disconnect.
Source check messages (including original failure wording)
-
active DOR disconnects
-
disconnect clears control state
-
automatic stop retains result
-
all engine commands reset
-
one existing disconnect sound
-
repeated off is silent
-
no repeat or lost reason
-
manual takeover re-arms sound
-
manual takeover clears guidance
-
clearance abort disconnects
-
clearance reason survives disconnect
-
clearance abort stops engine commands
-
clearance abort sounds once
-
clearance abort cannot replay sound
-
key repeat does not disengage
-
TVM hand-off preserves new mode
-
TVM hand-off plays once
-
no stale sound on power restoration
-
entry speed hold can be cancelled after DOR handoff
-
cancel clears entry speed hold
-
speed-hold cancel resets engines
-
speed-hold cancel sounds once
-
repeated speed-hold cancel is silent
-
throttle noise inside engagement deadband does not cancel
-
slow cumulative throttle movement cancels once
-
subsequent manual movement is silent
-
surface preview cannot engage or issue thrust
-
surface preview explains refusal
-
refused PLAN ONLY engagement sounds once
-
refusal never enables DOR or disrupts existing controls
-
held key cannot repeat the refusal sound or engage DOR
-
DOR key permits a ground RENDEZVOUS ascent leg
-
ground mission preserves departure heading setup
-
second key press cancels ground mission