Rise
The Vieneo Province
Loading...
Searching...
No Matches
TCAS tests

Checks traffic advisories, threat tracking, voice sequencing and TCAS/VMU test lifecycle.

Subsystem: Avionics, navigation and flight guidance
Fixture/harness: tcastests
Setup: Explicit setup symbols: Fixture. The standalone TcasTests harness owns the inputs, local helpers and assertion sink used by the case files below. Fixture is scoped to this harness; similarly named fixtures in other executables are independent.

Build/entry point: Tests/TcasTests.vcxproj; declared configurations: Debug|Win32.

TcasTests.cpp

Source: Tests/TcasTests.cpp

Inhibits And Resets

Fixture: TCAS tests
Case symbol: InhibitsAndResets
Source: Tests/TcasTests.cpp:64

Test
Inhibits And Resets: inhibition clears displayed mode and target; inhibition removes delayed stale speech and preserves unrelated commands; each active GPWS alert suppresses TCAS.
Source check messages (including original failure wording)

  • exactly 1,000 feet allows TCAS
  • below 1,000 feet inhibits TCAS
  • inhibition clears displayed mode and target
  • inhibition removes delayed stale speech and preserves unrelated commands
  • GPWS Reset is not an alert
  • GPWS NoAlert allows TCAS
  • each active GPWS alert suppresses TCAS

Voices And Preemption

Fixture: TCAS tests
Case symbol: VoicesAndPreemption
Source: Tests/TcasTests.cpp:90

Test
Voices And Preemption: Dropship aliases play correct recordings; test control is not mistaken for speech; GPWS lets the active TCAS phrase finish.
Source check messages (including original failure wording)

  • current command mapping
  • Dropship aliases play correct recordings
  • test control is not mistaken for speech
  • GPWS lets the active TCAS phrase finish
  • GPWS takes the next voice slot after TCAS finishes
  • inhibit altitude clears queued TCAS without clipping active speech
  • TCAS advisory revision cannot restart the active recording

Complete Ground Test

Fixture: TCAS tests
Case symbol: CompleteGroundTest
Source: Tests/TcasTests.cpp:116

Test
Complete Ground Test: display follows the phrase actually started by the VMU; display test never publishes a live advisory or target; ground test speaks all 15 callouts in Dropship order exactly once.
Source check messages (including original failure wording)

  • display follows the phrase actually started by the VMU
  • display test never publishes a live advisory or target
  • ground test speaks all 15 callouts in Dropship order exactly once
  • test preserves initial, maintain, adjust, and crossing pauses
  • test ends without queued residue
  • completed test clears display state
  • test creates no real traffic threat

Cancel And Restart

Fixture: TCAS tests
Case symbol: CancelAndRestart
Source: Tests/TcasTests.cpp:152

Test
Cancel And Restart: power loss cancels test and queue; power restoration does not resume stale test; cannot start test during GPWS alert.
Source check messages (including original failure wording)

  • delayed test command waits
  • test starts
  • toggle cancels active speech
  • toggle clears display
  • restart begins with Traffic
  • power loss cancels test and queue
  • power loss clears display
  • power restoration does not resume stale test
  • GPWS cancels active test
  • GPWS clears test display
  • cannot start test during GPWS alert
  • normal VMU test cancels TCAS test
  • VMU test clears TCAS display

Display Playback And Lifecycle

Fixture: TCAS tests
Case symbol: DisplayPlaybackAndLifecycle
Source: Tests/TcasTests.cpp:182

Test
Display Playback And Lifecycle: display starts with symbol check before first voice; busy audio cannot advance display ahead of speech; queueing a test phrase alone does not advance display.
Source check messages (including original failure wording)

  • display starts with symbol check before first voice
  • busy audio cannot advance display ahead of speech
  • queueing a test phrase alone does not advance display
  • consuming test speech advances display
  • next phrase updates display
  • display holds throughout a long recording
  • vehicle change cancels display, test sequence and queued speech
  • vehicle change cannot replay old test
  • cockpit avionics self-test remains available in simulator
  • restart clears previous phrase during initial display check
  • GPWS self-test cancels the competing TCAS sound and display test
  • TCAS test cannot cover an active GPWS self-test
  • GPWS test completion does not replay cancelled TCAS test

Live Advisory Regression

Fixture: TCAS tests
Case symbol: LiveAdvisoryRegression
Source: Tests/TcasTests.cpp:254

Test
Live Advisory Regression: converging encounter progresses from TA to climb RA; climb does not automatically degrade to repeated monitor calls.
Source check messages (including original failure wording)

  • converging encounter progresses from TA to climb RA
  • climb does not automatically degrade to repeated monitor calls
  • live target displayed
  • GPWS clears actual advisory

Nuisance And Tracking

Fixture: TCAS tests
Case symbol: NuisanceAndTracking
Source: Tests/TcasTests.cpp:264

Test
Nuisance And Tracking: vertically separated traffic is not a threat; large horizontal miss distance suppresses nuisance alerts; receding traffic produces no alert.
Source check messages (including original failure wording)

  • vertically separated traffic is not a threat
  • large horizontal miss distance suppresses nuisance alerts
  • receding traffic produces no alert
  • traffic with transponder on is detected even with logo light off
  • lost target clears advisory and target
  • reused scanner slot acquires a new track without stale rate
  • rates use actual 1.2-second sample interval
  • loading pause discards stale tracks

Live Reduce And Maintain

Fixture: TCAS tests
Case symbol: LiveReduceAndMaintain
Source: Tests/TcasTests.cpp:284

Test
Live Reduce And Maintain: converging climb reduces to level flight when that provides separation; converging descent reduces to level flight; adequate existing climb gets maintain rate.
Source check messages (including original failure wording)

  • converging climb reduces to level flight when that provides separation
  • converging descent reduces to level flight
  • adequate existing climb gets maintain rate
  • RA weakens after achieving separation before CPA

Crossing And Camera

Fixture: TCAS tests
Case symbol: CrossingAndCamera
Source: Tests/TcasTests.cpp:297

Test
Crossing And Camera: crossing climb selected when non-crossing descent cannot provide separation; non-crossing sense preferred and camera orientation has no effect.
Source check messages (including original failure wording)

  • crossing climb selected when non-crossing descent cannot provide separation
  • mirrored crossing descent
  • non-crossing sense preferred and camera orientation has no effect

Increase Reverse And Inhibits

Fixture: TCAS tests
Case symbol: IncreaseReverseAndInhibits
Source: Tests/TcasTests.cpp:308

Test
Increase Reverse And Inhibits: maintain-strengthening scenario starts with adequate current climb; ineffective maintained positive rate can strengthen; increase scenario begins with climb.
Source check messages (including original failure wording)

  • maintain-strengthening scenario starts with adequate current climb
  • ineffective maintained positive rate can strengthen
  • increase scenario begins with climb
  • maneuvering intruder strengthens climb to 2500 fpm
  • mirrored increase descent
  • ineffective climb reverses after intruder crosses above
  • descend inhibited below 1100 feet AGL
  • increase descent inhibited below 1450 feet AGL

Multi Threat And Speech

Fixture: TCAS tests
Case symbol: MultiThreatAndSpeech
Source: Tests/TcasTests.cpp:330

Test
Multi Threat And Speech: RA-to-TA downgrade clears once without re-announcing the same traffic; multiple intruders produce one shared advisory; selection considers lower secondary threat before descending.
Source check messages (including original failure wording)

  • RA-to-TA downgrade clears once without re-announcing the same traffic
  • multiple intruders produce one shared advisory
  • selection considers lower secondary threat before descending
  • superseded speech is purged while channel is busy
  • clear-of-conflict waits for the active TCAS phrase
  • clear-of-conflict plays after the prior phrase finishes

Preventive Slow Closure And Identity

Fixture: TCAS tests
Case symbol: PreventiveSlowClosureAndIdentity
Source: Tests/TcasTests.cpp:350

Test
Preventive Slow Closure And Identity: preventive advisory persists without repeated monitor calls; fixed-distance threshold protects slow/zero closure encounters; higher vehicle ID chooses down in an equal-cost encounter.
Source check messages (including original failure wording)

  • preventive advisory persists without repeated monitor calls
  • fixed-distance threshold protects slow/zero closure encounters
  • higher vehicle ID chooses down in an equal-cost encounter
  • lower vehicle ID chooses complementary up in equal-cost encounter
  • mirrored ineffective descent reverses to climb now
  • crossing suffix waits for maneuver audio
  • obsolete crossing is canceled while maneuver phrase finishes
  • clear replaces the obsolete crossing suffix after maneuver speech

Continuous Power Warmup

Fixture: TCAS tests
Case symbol: ContinuousPowerWarmup
Source: Tests/TcasTests.cpp:371

Test
Continuous Power Warmup: interrupted power cannot accumulate VMU warm-up time; continuous power completes VMU warm-up.
Source check messages (including original failure wording)

  • interrupted power cannot accumulate VMU warm-up time
  • continuous power completes VMU warm-up

Full Vmu Test Regression

Fixture: TCAS tests
Case symbol: FullVmuTestRegression
Source: Tests/TcasTests.cpp:383

Test
Full Vmu Test Regression: full VMU audio test does not create an unrequested TCAS display test; full VMU test includes 15 TCAS voices on ground without truncation.
Source check messages (including original failure wording)

  • full VMU audio test does not create an unrequested TCAS display test
  • full VMU test includes 15 TCAS voices on ground without truncation

Pending Test Controls

Fixture: TCAS tests
Case symbol: PendingTestControls
Source: Tests/TcasTests.cpp:397

Test
Pending Test Controls: new TCAS test supersedes an older unconsumed VMU test; new VMU test cancels TCAS while audio is busy.
Source check messages (including original failure wording)

  • new TCAS test supersedes an older unconsumed VMU test
  • new VMU test cancels TCAS while audio is busy

Busy Sequence

Fixture: TCAS tests
Case symbol: BusySequence
Source: Tests/TcasTests.cpp:408

Test
Busy Sequence: busy VMU prevents queued test backlog; long frame does not burst remaining callouts; canceled sequence stays canceled.
Source check messages (including original failure wording)

  • busy VMU prevents queued test backlog
  • first callout waits for VMU
  • long frame does not burst remaining callouts
  • canceled sequence stays canceled
  • silent test still steps through every display phase
  • final OK display remains readable without an audio recording
  • silent test ends after the final display dwell