Rise
The Vieneo Province
Loading...
Searching...
No Matches
Dialog Layout tests

Checks dialog placement at reference, narrow and other supported viewport layouts.

Subsystem: GUI, controls, inventory and player interaction
Fixture/harness: dialoglayouttests
Setup: The standalone DialogLayoutTests harness owns the inputs, local helpers and assertion sink used by the case files below.

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

DialogLayoutTests.cpp

Source: Tests/DialogLayoutTests.cpp

Entry-point checks

Fixture: Dialog Layout tests
Case symbol: main
Source: Tests/DialogLayoutTests.cpp:31

Test
Entry-point checks: keep one row when shrinking chat is sufficient; wrap Camera below the first row when chat reaches its minimum; panels remain inside the scaled viewport.
Source check messages (including original failure wording)

  • reference layout matches saved positions to the displayed pixel
  • narrow Communications first
  • keep one row when shrinking chat is sufficient
  • fit the complete top row
  • wrap Camera below the first row when chat reaches its minimum
  • preserve bottom margin
  • panels remain inside the scaled viewport
  • Players remains docked
  • respect localized title and tab minimum width