Quit test drivers through ApplicationExit and free test resources
Adds tests for freeing the temporary ext_resource sub-scene instance; the animated foreground tests dispose their frame textures.
This commit is contained in:
1 parent
650f87c6ed
commit
2c9e6805a9
5 files changed
+63
-6
No files matched your search
@@ -123,7 +123,7 @@ namespace Mods.DialogBase.Tests
|
||||
{
|
||||
done = true;
|
||||
GameLogger.Log("TEST", $"[TEST_RESULT] name={ResultName} passed={passed} failed={failed}");
|
||||
GetTree().Quit(failed == 0 ? 0 : 1);
|
||||
Cthangover.Core.Bootstrap.ApplicationExit.Quit(GetTree(), failed == 0 ? 0 : 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user