Checks death-screen countdown eligibility and safe rejoin timing.
Subsystem: GUI, controls, inventory and player interaction
Fixture/harness: rejoincountdowntests
Setup: The standalone RejoinCountdownTests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/RejoinCountdownTests.vcxproj; declared configurations: Debug|Win32, Release|Win32.
RejoinCountdownTests.cpp
Source: Tests/RejoinCountdownTests.cpp
Entry-point checks
Fixture: Rejoin Countdown tests
Case symbol: main
Source: Tests/RejoinCountdownTests.cpp:12
- Test
- Entry-point checks: an uninitialized death screen cannot rejoin; being alive does not enable rejoin; death starts the full 15-second wait.
Source check messages (including original failure wording)
-
an uninitialized death screen cannot rejoin
-
being alive does not enable rejoin
-
death starts the full 15-second wait
-
repeated death updates do not restart the countdown
-
last fraction remains locked and displays one second
-
deadline enables rejoin exactly at 15 seconds
-
an expired countdown never becomes negative
-
accepting rejoin prevents a second queued activation
-
a second death gets its own full wait
-
leaving a real death cancels the old deadline
-
new session cannot inherit a ready countdown
-
frame rate cannot shorten the wait
-
all frame rates expire at 15 real seconds
-
render stalls do not stretch the wait via clamped physics time