mirror of
https://github.com/RaindropViewer/RaindropViewer.git
synced 2026-07-27 22:11:39 +00:00
test: add test for MTDispatcher
This commit is contained in:
committed by
alexiscatnip
parent
4bd557203c
commit
1d24fea490
@@ -41,6 +41,17 @@ namespace Raindrop.Tests.RaindropFullIntegrationTests
|
||||
public IEnumerator LoadScene_MainScene_IsOK()
|
||||
{
|
||||
yield return new WaitForSeconds(10);
|
||||
Assert.True(UnityMainThreadDispatcher.Exists());
|
||||
Assert.Pass();
|
||||
yield break;
|
||||
}
|
||||
|
||||
[UnityTest]
|
||||
//Added due to MT Dispatcher being unstable across scene boots.
|
||||
public IEnumerator LoadScene_MainScene_IsOK_MTDispatcher()
|
||||
{
|
||||
yield return new WaitForSeconds(10);
|
||||
Assert.True(UnityMainThreadDispatcher.Exists());
|
||||
Assert.Pass();
|
||||
yield break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user