Rise
The Vieneo Province
Loading...
Searching...
No Matches
Moving Map Replay tests

Replays moving-map layers and checks production terrain, traffic and weather display behavior.

Subsystem: Avionics, navigation and flight guidance
Fixture/harness: movingmapreplaytests
Setup: The standalone MovingMapReplayTests harness owns the inputs, local helpers and assertion sink used by the case files below. Graphics setup uses NativeUiTest11.

Build/entry point: Tests/MovingMapReplayTests.vcxproj; declared configurations: Debug|Win32, Release|Win32, Release|x64.

MovingMapReplayTests.cpp

Source: Tests/MovingMapReplayTests.cpp

Send To Server

Fixture: Moving Map Replay tests
Case symbol: SendToServer
Source: Tests/MovingMapReplayTests.cpp:38

Test
Support check: rejects unexpected network requests from the map replay fixture.
Source check messages (including original failure wording)

  • unexpected request

Entry-point checks

Fixture: Moving Map Replay tests
Case symbol: main
Source: Tests/MovingMapReplayTests.cpp:159

Test
Checks map rendering stays inside the authored MFD rectangle and movement requests the next map edge; benchmark mode is independent of player traces.
Source check messages (including original failure wording)

  • usage: MovingMapReplayTests <output-directory> [player-trace] [–warp] [–benchmark]
  • unexpected argument
  • E-11 layout is unavailable
  • expected one MFD
  • missing navigation instrument
  • benchmark does not consume a player trace
  • no movement in replay
  • MFD drawing escaped its authored screen rectangle
  • coordinate replay mismatch
  • movement failed to request an edge
  • on-time rows left terrain missing
  • route does not reach the screenshot's grid position
  • outage did not accumulate all requests
  • delivered sequence still pending
  • inherited stencil changed MFD rendering
  • streamed grid differs from fresh full grid
  • withheld rows did not reproduce the forward gap
  • A-4 layout is unavailable
  • expected A-4 navigation screen

GpwsMapPerformance.h

Source: Tests/GpwsMapPerformance.h

Benchmark Gpws Map

Fixture: Moving Map Replay tests
Case symbol: BenchmarkGpwsMap
Source: Tests/GpwsMapPerformance.h:5

Test
Checks PFD/MFD availability and valid GPU timestamps while benchmarking GPWS map drawing.
Source check messages (including original failure wording)

  • benchmark needs PFD and MFD
  • no valid GPU timestamps

MovingMapLayerReplay.h

Source: Tests/MovingMapLayerReplay.h

Check Map Layers

Fixture: Moving Map Replay tests
Case symbol: CheckMapLayers
Source: Tests/MovingMapLayerReplay.h:4

Test
Checks replay screens and optimized/baseline map-layer parity with hostile stencil state.
Source check messages (including original failure wording)

  • map layer fixture lost a screen
  • baseline/optimized map layers or hostile stencil differ
  • map/horizon escaped both authored screen scissors

RemoteAssayReplay.h

Source: Tests/RemoteAssayReplay.h

Check Remote Assay Readout

Fixture: Moving Map Replay tests
Case symbol: CheckRemoteAssayReadout
Source: Tests/RemoteAssayReplay.h:5

Test
Checks SCN and full remote-scan strength across the specified 500–700 m range.
Source check messages (including original failure wording)

  • 500-700m must show SCN
  • 500-700m must retain full scan strength
  • altitude warning boundaries are not 500-700m
  • scan fade outside operating band regressed
  • max-scanned readout text/color mismatch
  • assay readout remains on with scanner power off

Check Remote Assay

Fixture: Moving Map Replay tests
Case symbol: CheckRemoteAssay
Source: Tests/RemoteAssayReplay.h:101

Test
Checks server assay fixtures and rejects legacy/unknown packets as new-face data.
Source check messages (including original failure wording)

  • wrong server assay fixture count
  • legacy/unknown assay packet interpreted as a new face
  • truncated server assay fixture
  • server/client face tag disagreement
  • client/server disagree on corner void
  • assay drawn on different soil than the server sampled
  • valid assay cell has no projection
  • assay sprite does not meet terrain corner
  • assay sample outside fixture
  • native MovingMap left scanned soil blank/miscolored
  • delayed assay packet moved when current cube coordinates changed

TcasDisplayReplay.h

Source: Tests/TcasDisplayReplay.h

Check Tcas Map Declutter

Fixture: Moving Map Replay tests
Case symbol: CheckTcasMapDeclutter
Source: Tests/TcasDisplayReplay.h:27

Test
Checks TCAS decluttering retains compass/heading cues against a populated map reference.
Source check messages (including original failure wording)

  • TCAS declutter reference must retain the compass and heading cues
  • reference must contain waypoint symbols, labels, airspace and arena
  • reference must preserve the assay overlay when powered
  • normal surface fill must be visible unless replaced by assay
  • TCAS test, TA and every RA must omit only surface fill, preserving all overlays
  • TCAS test over an RA must preserve overlays without surface fill
  • ending a test cannot restore surface fill during an RA
  • clear of conflict must restore surface fill without changing overlays
  • TCAS declutter must preserve the GPWS warning annunciation
  • GPWS must display relative terrain when a hazard is active
  • GPWS relative terrain must retain navigation glyphs
  • GPWS overlay check needs visible navigation glyphs
  • TCAS must preserve GPWS relative terrain, peaks and navigation overlays
  • clearing GPWS during an RA leaves navigation with no surface fill
  • clearing both hazards restores the surface map

Check Tcas Display Rendering

Fixture: Moving Map Replay tests
Case symbol: CheckTcasDisplayRendering
Source: Tests/TcasDisplayReplay.h:138

Test
Checks TCAS text, altitude and trend glyphs remain visible and unobscured.
Source check messages (including original failure wording)

  • TCAS test text, altitude or trend glyph is missing/obscured
  • TCAS expected text produced no solid glyph pixels
  • one of the four TCAS test symbols is absent or has the wrong color
  • cancelled test leaves no symbols or text in the overlay
  • live traffic must render outside test mode
  • test rendering cannot change scanner or advisory state
  • test exit immediately restores the real target depiction
  • traffic lost during testing must not reappear when testing ends

TerrainAwarenessMapReplay.h

Source: Tests/TerrainAwarenessMapReplay.h

Check Gpws Pfd Status

Fixture: Moving Map Replay tests
Case symbol: CheckGpwsPfdStatus
Source: Tests/TerrainAwarenessMapReplay.h:112

Test
Checks GPWS status rendering uses the expected authored PFD layout.
Source check messages (including original failure wording)

  • E-11 PFD layout is unavailable
  • expected one authored PFD
  • GPWS status glyph is clipped by the authored PFD screen
  • GPWS status produced too few visible yellow glyph pixels

TerrainHandoffReplay.h

Source: Tests/TerrainHandoffReplay.h

Check Terrain Handoff

Fixture: Moving Map Replay tests
Case symbol: CheckTerrainHandoff
Source: Tests/TerrainHandoffReplay.h:9

Test
Checks the recorded route crosses the intended cube face with valid initial corner terrain.
Source check messages (including original failure wording)

  • video route does not cross a cube face
  • initial corner terrain missing
  • face crossing did not request one complete grid
  • face request dropped the last complete terrain before its replacement arrived
  • visible grid relabelled with replacement coordinates
  • face request reset visible cloud coordinates
  • delayed response caused an empty grid or overlapping whole-grid requests
  • old-face row corrupted the retained terrain or pending full response
  • unmatched whole grid replaced visible terrain
  • complete response was not queued for a terrain upload
  • response used the moving ship's face instead of the requested face
  • replacement terrain or cloud origin was not installed
  • movement overtook the new grid's first upload
  • terrain did not catch up after crossing back during the wait
  • out-of-range row wrote into the active grid
  • reposition did not invalidate collision data and arm the terrain refresh
  • reposition did not request fresh terrain
  • pending reposition repeatedly requested terrain
  • unrelated response consumed the reposition flag
  • destination grid did not consume the terrain refresh flag
  • ordinary refresh rearmed reposition
  • above-cloud clear retained terrain
  • cancelled response resurrected an above-cloud grid
  • descent did not request fresh terrain