Skip to content

Commit

Permalink
Un-done changes to unit tests for build tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeLeithead committed Jan 31, 2025
1 parent 9a9613c commit 18d656c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public async Task StateContainer_DefaultAnimation_Timeout()
await Assert.ThrowsAsync<TaskCanceledException>(() => StateContainer.ChangeStateWithAnimation(layout, StateKey.Error, cancelledTokenSource.Token));
}

[Fact(Timeout = (int)TestDuration.Short)]
[Fact(Timeout = (int)TestDuration.Long)]
public async Task StateContainer_CustomAnimation_Timeout()
{
layout.EnableAnimations();
Expand Down Expand Up @@ -284,7 +284,7 @@ public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_
Assert.True(StateContainer.GetCanStateChange(layout));
}

[Fact(Timeout = (int)TestDuration.Short)]
[Fact(Timeout = (int)TestDuration.Long)]
public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_CustomBeforeAnimation()
{
layout.EnableAnimations();
Expand Down Expand Up @@ -348,7 +348,7 @@ public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_
Assert.True(StateContainer.GetCanStateChange(layout));
}

[Fact(Timeout = (int)TestDuration.Short)]
[Fact(Timeout = (int)TestDuration.Long)]
public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_CustomBeforeAndAfterAnimation()
{
layout.EnableAnimations();
Expand Down Expand Up @@ -403,7 +403,7 @@ public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_
Assert.True(StateContainer.GetCanStateChange(layout));
}

[Fact(Timeout = (int)TestDuration.Short)]
[Fact(Timeout = (int)TestDuration.Long)]
public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_CustomBeforeAnimationFuncs()
{
layout.EnableAnimations();
Expand Down Expand Up @@ -461,7 +461,7 @@ public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_
static Task CustomAnimation(VisualElement element, CancellationToken token) => element.RotateTo(0.75, 500).WaitAsync(token);
}

[Fact(Timeout = (int)TestDuration.Short)]
[Fact(Timeout = (int)TestDuration.Long)]
public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_CustomBeforeAndAfterAnimationFuncs()
{
layout.EnableAnimations();
Expand Down

0 comments on commit 18d656c

Please sign in to comment.