Skip to content

Commit

Permalink
Tests: longer timeouts on a couple more ImageLoader tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Mar 19, 2021
1 parent 51d6abf commit 6c5a22b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/source/feathers/tests/ImageLoaderInternalStateTests.as
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ package feathers.tests
}, 200);
}

[Test(async)]
[Test(async,timeout="600")]
public function testKeepTextureAfterLoadNewImageWithSameDimensions():void
{
var isSecondImageLoaded:Boolean = false;
Expand All @@ -63,10 +63,10 @@ package feathers.tests
{
Assert.assertTrue("Second image did not complete loading.", isSecondImageLoaded);
Assert.assertFalse("Texture incorrectly disposed after setting ImageLoader source to image with same dimensions.", loader.hasDisposedTexture);
}, 200);
}, 400);
}

[Test(async)]
[Test(async,timeout="600")]
public function testDisposeTextureAfterLoadNewImageWithDifferentDimensions():void
{
var isSecondImageLoaded:Boolean = false;
Expand All @@ -87,7 +87,7 @@ package feathers.tests
{
Assert.assertTrue("Second image did not complete loading.", isSecondImageLoaded);
Assert.assertTrue("Texture not disposed after setting ImageLoader source to image with different dimensions.", loader.hasDisposedTexture);
}, 200);
}, 400);
}
}
}
Expand Down

0 comments on commit 6c5a22b

Please sign in to comment.