Rise
The Vieneo Province
Loading...
Searching...
No Matches
Person Waiting Policy tests

Checks idle-gesture selection, movement interruption and natural transitions out of held poses.

Subsystem: Vehicles, cockpit geometry and surface physics
Fixture/harness: personwaitingpolicytests
Setup: The standalone PersonWaitingPolicyTests harness owns the inputs, local helpers and assertion sink used by the case files below.

Build/entry point: Tests/PersonWaitingPolicyTests.cpp; no dedicated .vcxproj was found in Tests. Consult the source/build integration before running.

PersonWaitingPolicyTests.cpp

Source: Tests/PersonWaitingPolicyTests.cpp

Check Interrupts

Fixture: Person Waiting Policy tests
Case symbol: CheckInterrupts
Source: Tests/PersonWaitingPolicyTests.cpp:39

Test
Check Interrupts: one-shot and hip-entry interrupt immediately; blend cannot repeatedly restart; requested movement starts after neutral is reached.
Source check messages (including original failure wording)

  • gesture starts
  • one-shot and hip-entry interrupt immediately
  • shared neutral blend duration
  • blend cannot repeatedly restart
  • requested movement starts after neutral is reached
  • hip sequence enters
  • hip entry completes into hold
  • movement from hip hold uses authored exit
  • arbitrary hold phase blends into authored exit
  • exit cannot repeatedly restart
  • exit reaches neutral before walking starts
  • releasing input while exiting must not start stale movement
  • latest input wins during the exit blend
  • completed neutral one-shot needs no redundant blend

Check Natural Hip Exit

Fixture: Person Waiting Policy tests
Case symbol: CheckNaturalHipExit
Source: Tests/PersonWaitingPolicyTests.cpp:86

Test
Check Natural Hip Exit: natural hold completion blends arbitrary breathing phase into authored exit; hold timing stays inside configured range; completed hip exit returns to a fresh neutral delay.
Source check messages (including original failure wording)

  • natural hold completion blends arbitrary breathing phase into authored exit
  • hold timing stays inside configured range
  • completed hip exit returns to a fresh neutral delay
  • hip holds vary independently between avatars

Check Hip Exit Host Protocol

Fixture: Person Waiting Policy tests
Case symbol: CheckHipExitHostProtocol
Source: Tests/PersonWaitingPolicyTests.cpp:114

Test
Check Hip Exit Host Protocol: walking waits for first-frame preblend and the entire exit clip; movement begins only after host completes both exit phases.
Source check messages (including original failure wording)

  • hip exit has explicit preblend
  • walking waits for first-frame preblend and the entire exit clip
  • movement begins only after host completes both exit phases

Check Timing And Availability

Fixture: Person Waiting Policy tests
Case symbol: CheckTimingAndAvailability
Source: Tests/PersonWaitingPolicyTests.cpp:137

Test
Check Timing And Availability: same avatar seed is reproducible; first delay remains 12 to 24 seconds; avatars do not synchronize their first gesture.
Source check messages (including original failure wording)

  • same avatar seed is reproducible
  • first delay remains 12 to 24 seconds
  • avatars do not synchronize their first gesture
  • missing clips remain neutral
  • missing waiting data never blocks movement
  • selection respects the available profile clips
  • seated or moving avatars cannot acquire a waiting gesture
  • eligibility starts a new initial delay

Check Cooldown And Variation

Fixture: Person Waiting Policy tests
Case symbol: CheckCooldownAndVariation
Source: Tests/PersonWaitingPolicyTests.cpp:183

Test
Check Cooldown And Variation: watch cannot recur before its cooldown; watch becomes eligible after cooldown; available alternatives prevent immediate gesture repetition.
Source check messages (including original failure wording)

  • watch starts
  • watch cannot recur before its cooldown
  • watch becomes eligible after cooldown
  • available alternatives prevent immediate gesture repetition
  • configured weights favor subtle weight shifts
  • both directional weight shifts remain independently reachable
  • left and right shifts retain balanced configured weights
  • watch remains reachable with a lower weight

Check Directional Cooldowns

Fixture: Person Waiting Policy tests
Case symbol: CheckDirectionalCooldowns
Source: Tests/PersonWaitingPolicyTests.cpp:224

Test
Check Directional Cooldowns: directional-only availability selects a directional shift; cooldown of one side does not block the other side; right cooldown expires independently while left is still cooling down.
Source check messages (including original failure wording)

  • directional-only availability selects a directional shift
  • cooldown of one side does not block the other side
  • right cooldown expires independently while left is still cooling down
  • both individual cooldowns prevent a premature directional replay
  • a ready direction remains playable when its opposite is unavailable

Check Pose Blends

Fixture: Person Waiting Policy tests
Case symbol: CheckPoseBlends
Source: Tests/PersonWaitingPolicyTests.cpp:252

Test
Check Pose Blends: first blended frame preserves every sampled pose component; last blended frame exactly matches the target pose; joint angle wrapping takes the shortest rotational arc.
Source check messages (including original failure wording)

  • first blended frame preserves every sampled pose component
  • last blended frame exactly matches the target pose
  • joint angle wrapping takes the shortest rotational arc
  • grounding and first-person camera use the same blend as the skeleton
  • blend remains bounded and monotonic
  • blend starts with a flat tangent
  • blend ends with a flat tangent
  • invalid elapsed time cannot contaminate a pose