hacked osx integ key tests to stop COSXKeyStateTests.fakeAndPoll_charKeyAndModifier from failing
This commit is contained in:
parent
024f66e25e
commit
93b593f13e
|
@ -97,8 +97,8 @@ TEST_F(COSXKeyStateTests, fakeAndPoll_charKeyAndModifier)
|
||||||
bool
|
bool
|
||||||
COSXKeyStateTests::isKeyPressed(const COSXKeyState& keyState, KeyButton button)
|
COSXKeyStateTests::isKeyPressed(const COSXKeyState& keyState, KeyButton button)
|
||||||
{
|
{
|
||||||
// allow os to realize key state changes.
|
// HACK: allow os to realize key state changes.
|
||||||
ARCH->sleep(.01);
|
ARCH->sleep(1);
|
||||||
|
|
||||||
IKeyState::KeyButtonSet pressed;
|
IKeyState::KeyButtonSet pressed;
|
||||||
keyState.pollPressedKeys(pressed);
|
keyState.pollPressedKeys(pressed);
|
||||||
|
|
Loading…
Reference in New Issue