Skip to content

Commit 18d656c

Browse files
Un-done changes to unit tests for build tests.
1 parent 9a9613c commit 18d656c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/CommunityToolkit.Maui.UnitTests/Layouts/StateContainerTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public async Task StateContainer_DefaultAnimation_Timeout()
219219
await Assert.ThrowsAsync<TaskCanceledException>(() => StateContainer.ChangeStateWithAnimation(layout, StateKey.Error, cancelledTokenSource.Token));
220220
}
221221

222-
[Fact(Timeout = (int)TestDuration.Short)]
222+
[Fact(Timeout = (int)TestDuration.Long)]
223223
public async Task StateContainer_CustomAnimation_Timeout()
224224
{
225225
layout.EnableAnimations();
@@ -284,7 +284,7 @@ public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_
284284
Assert.True(StateContainer.GetCanStateChange(layout));
285285
}
286286

287-
[Fact(Timeout = (int)TestDuration.Short)]
287+
[Fact(Timeout = (int)TestDuration.Long)]
288288
public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_CustomBeforeAnimation()
289289
{
290290
layout.EnableAnimations();
@@ -348,7 +348,7 @@ public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_
348348
Assert.True(StateContainer.GetCanStateChange(layout));
349349
}
350350

351-
[Fact(Timeout = (int)TestDuration.Short)]
351+
[Fact(Timeout = (int)TestDuration.Long)]
352352
public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_CustomBeforeAndAfterAnimation()
353353
{
354354
layout.EnableAnimations();
@@ -403,7 +403,7 @@ public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_
403403
Assert.True(StateContainer.GetCanStateChange(layout));
404404
}
405405

406-
[Fact(Timeout = (int)TestDuration.Short)]
406+
[Fact(Timeout = (int)TestDuration.Long)]
407407
public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_CustomBeforeAnimationFuncs()
408408
{
409409
layout.EnableAnimations();
@@ -461,7 +461,7 @@ public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_
461461
static Task CustomAnimation(VisualElement element, CancellationToken token) => element.RotateTo(0.75, 500).WaitAsync(token);
462462
}
463463

464-
[Fact(Timeout = (int)TestDuration.Short)]
464+
[Fact(Timeout = (int)TestDuration.Long)]
465465
public async Task StateContainer_ChangingStateWhenCanStateChangePropertyIsFalse_CustomBeforeAndAfterAnimationFuncs()
466466
{
467467
layout.EnableAnimations();

0 commit comments

Comments
 (0)