mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 10:23:01 +08:00
Merge pull request #4308 from smoogipoo/disable-testcase-polling
Disable TestInstantPolling
This commit is contained in:
commit
0f5f768112
@ -56,6 +56,7 @@ namespace osu.Game.Tests.Visual
|
|||||||
});
|
});
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
[Ignore("polling is threaded, and it's very hard to hook into it correctly")]
|
||||||
public void TestInstantPolling()
|
public void TestInstantPolling()
|
||||||
{
|
{
|
||||||
createPoller(true);
|
createPoller(true);
|
||||||
@ -105,9 +106,12 @@ namespace osu.Game.Tests.Visual
|
|||||||
});
|
});
|
||||||
|
|
||||||
private void checkCount(int checkValue)
|
private void checkCount(int checkValue)
|
||||||
|
{
|
||||||
|
AddAssert($"count is {checkValue}", () =>
|
||||||
{
|
{
|
||||||
Logger.Log($"value is {count}");
|
Logger.Log($"value is {count}");
|
||||||
AddAssert($"count is {checkValue}", () => count == checkValue);
|
return count == checkValue;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void createPoller(bool instant) => AddStep("create poller", () =>
|
private void createPoller(bool instant) => AddStep("create poller", () =>
|
||||||
|
Loading…
Reference in New Issue
Block a user