hacked osx integ key tests to stop COSXKeyStateTests.fakeAndPoll_charKeyAndModifier from failing

This commit is contained in:
Nick Bolton 2013-08-30 17:05:52 +00:00
parent 024f66e25e
commit 93b593f13e

View File

@ -97,8 +97,8 @@ TEST_F(COSXKeyStateTests, fakeAndPoll_charKeyAndModifier)
bool
COSXKeyStateTests::isKeyPressed(const COSXKeyState& keyState, KeyButton button)
{
// allow os to realize key state changes.
ARCH->sleep(.01);
// HACK: allow os to realize key state changes.
ARCH->sleep(1);
IKeyState::KeyButtonSet pressed;
keyState.pollPressedKeys(pressed);