Avoid loading unnecessary fonts in headless testing

This commit is contained in:
Dean Herbert
2021-09-07 00:45:53 +09:00
parent c7abda8f58
commit 2a5b857f10
2 changed files with 35 additions and 25 deletions

View File

@ -367,6 +367,11 @@ namespace osu.Game.Tests.Visual
Add(runner = new TestSceneTestRunner.TestRunner());
}
protected override void InitialiseFonts()
{
// skip fonts load as it's not required for testing purposes.
}
public void RunTestBlocking(TestScene test) => runner.RunTestBlocking(test);
}
}