Rise
The Vieneo Province
Loading...
Searching...
No Matches
City Logo Integration tests

Exercises city-logo drawing through the production native renderer.

Subsystem: Rendering, shaders, textures and lighting
Fixture/harness: citylogointegrationtests
Setup: The standalone CityLogoIntegrationTests harness owns the inputs, local helpers and assertion sink used by the case files below.

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

CityLogoIntegrationTests.cpp

Source: Tests/CityLogoIntegrationTests.cpp

Entry-point checks

Fixture: City Logo Integration tests
Case symbol: main
Source: Tests/CityLogoIntegrationTests.cpp:15

Test
Entry-point checks: geometry before assignment has no overlay; pending asset uses ordinary shading; first GIF frame is straight-alpha red.
Source check messages (including original failure wording)

  • WARP device
  • production draw context
  • available current frame
  • texture readback
  • readback unlock
  • geometry before assignment has no overlay
  • groups assigned before artwork
  • pending asset uses ordinary shading
  • shared download
  • GIF transfer accepted
  • instances share the GPU asset
  • first GIF frame is straight-alpha red
  • draw requests lazy frame statistics without a GPU readback
  • ADVIEW off performs no GIF metadata analysis
  • current composed GIF frame supplies exact alpha and luminance metadata
  • animation advances in place once per frame
  • groups share statistics while animation retains one creative identity
  • whole-GIF summary respects unequal frame delays
  • repeat packet uses cache
  • cache hit neither requests nor restarts animation
  • duplicate assignment preserves pending measurement validity
  • new assignment clears old overlay
  • no stale artwork during replacement
  • group reassignment invalidates pending exposure even when another group retains the old GIF
  • replace pending assignment
  • stale download rejected
  • explicit transfer failure
  • retry has new correlation token
  • late retry recovers assignment
  • new filename has independent playback
  • vehicle ordinal cannot enter GIF cache
  • device teardown releases association and textures
  • pending billboard queries can reject removed campaign assets
  • visibility fixture shares artwork
  • visibility fixture received
  • undrawn artwork skips decoding, texture updates and ADVIEW analysis despite lookups
  • either visible group wakes the shared animation with ADVIEW disabled
  • draw requests are consumed and off-screen artwork stays paused
  • returning artwork catches up across skipped loops without replacing its texture
  • visible artwork resumes metadata analysis
  • partial analysis fixtures assigned
  • large fixture received
  • off-screen partial snapshots release analysis slots for visible artwork
  • resumed analysis restarts a discarded partial scan correctly
  • reference GIF opens
  • asynchronous catch-up preserves exact disposal pixels
  • renderer never waits for a busy publication
  • malformed assignment
  • malformed transfer queued
  • failed worker decode schedules a fresh download
  • debug queue available
  • no GPU integration warnings

CityLogoTests.cpp

Source: Tests/CityLogoTests.cpp

Decode

Fixture: City Logo Integration tests
Case symbol: Decode
Source: Tests/CityLogoTests.cpp:37

Test
Decode: WIC memory GIF decode.
Source check messages (including original failure wording)

  • WIC memory GIF decode

Pixels

Fixture: City Logo Integration tests
Case symbol: Pixels
Source: Tests/CityLogoTests.cpp:38

Test
Pixels: GIF composition/disposal pixels.
Source check messages (including original failure wording)

  • GIF composition/disposal pixels

Gif Tests

Fixture: City Logo Integration tests
Case symbol: GifTests
Source: Tests/CityLogoTests.cpp:43

Test
Gif Tests: logical canvas and looping retained; one-centisecond timing retained; zero delay intermediate frame skipped.
Source check messages (including original failure wording)

  • logical canvas and looping retained
  • variable timing boundaries
  • finite loops hold last frame
  • one-centisecond timing retained
  • zero delay intermediate frame skipped
  • long GIF and skipped-frame composition
  • long GIF loop resets canvas
  • invalid GIF rejected
  • oversize GIF rejected
  • out-of-canvas frame rejected

Cache Tests

Fixture: City Logo Integration tests
Case symbol: CacheTests
Source: Tests/CityLogoTests.cpp:80

Test
Cache Tests: signed groups and cache assignment; shared filename cache, no byte truncation; shared transfer stays pending for the full 30-second timeout.
Source check messages (including original failure wording)

  • signed groups and cache assignment
  • shared filename cache, no byte truncation
  • one request across groups
  • repeat assignment
  • shared transfer stays pending for the full 30-second timeout
  • timeout retry rejects superseded response
  • pending correlation
  • failed decode retains the 60-second retry cooldown
  • failed decode recovery
  • memory cache hit prevents duplicate download
  • assignment replacement isolates groups
  • replace pending artwork
  • late asset cannot replace new assignment
  • new filename correlated
  • invalid group/path/name rejected
  • reset rejects late session data

Quad Tests

Fixture: City Logo Integration tests
Case symbol: QuadTests
Source: Tests/CityLogoTests.cpp:102

Test
Quad Tests: quad accepts six exported triangle vertices; quad top-left zero and bottom-right one; independent overlay preserves base UV tiling.
Source check messages (including original failure wording)

  • quad accepts six exported triangle vertices
  • quad top-left zero and bottom-right one
  • independent overlay preserves base UV tiling
  • rotated quad UV orientation
  • invalid/nonquad geometry disables overlay
  • same-material signs cannot merge across groups
  • ordinary building batching unchanged

Packet Tests

Fixture: City Logo Integration tests
Case symbol: PacketTests
Source: Tests/CityLogoTests.cpp:119

Test
Packet Tests: real SPacketBig envelope and signed GroupId offsets.
Source check messages (including original failure wording)

  • real SPacketBig envelope and signed GroupId offsets