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

Checks image decoding, GIF composition, playback timing and city-logo lifetime.

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

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

CityLogoTests.cpp

Source: Tests/CityLogoTests.cpp

Decode

Fixture: City Logo 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 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 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 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 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 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