Class UnityGameplayLoadingOverlayViewTests
PlayMode tests for UnityGameplayLoadingOverlayView's animated teardown:
Hide() lets the UnityLoadingOverlayProgressAnimator fill the bar
to 100% before destroying the root (bounded by its safety timeout), and a re-Show()
during that finish tail replaces the outgoing overlay instead of coexisting with it.
The slider factory returns null, which the view tolerates, so no theme fixtures are needed.
Inheritance
UnityGameplayLoadingOverlayViewTests
Assembly: Tests.dll
Syntax
public class UnityGameplayLoadingOverlayViewTests
Constructors
UnityGameplayLoadingOverlayViewTests()
Declaration
public UnityGameplayLoadingOverlayViewTests()
Methods
Hide_BeforeAnyProgress_StillDestroysRootWithinSafetyCap()
Declaration
public IEnumerator Hide_BeforeAnyProgress_StillDestroysRootWithinSafetyCap()
Returns
Declaration
public IEnumerator Hide_ClearsViewStateImmediately_AllowingReShow()
Returns
Hide_WhileAnimating_EventuallyDestroysRoot()
Declaration
public IEnumerator Hide_WhileAnimating_EventuallyDestroysRoot()
Returns
SetUp()
Declaration
Show_DuringFinishTail_LeavesExactlyOneOverlayAlive()
Declaration
public IEnumerator Show_DuringFinishTail_LeavesExactlyOneOverlayAlive()
Returns
TearDown()
Declaration