disabled fakeAndPoll_shift for osx10.6

This commit is contained in:
Nick Bolton 2014-02-24 12:13:51 +00:00
parent 601ff792e9
commit 2c2b136a36
1 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,9 @@ public:
static bool isKeyPressed(const COSXKeyState& keyState, KeyButton button); static bool isKeyPressed(const COSXKeyState& keyState, KeyButton button);
}; };
// fakeAndPoll_shift seems to always fail on osx10.6
#if __MAC_OS_X_VERSION_MIN_REQUIRED > 1060
TEST_F(COSXKeyStateTests, fakeAndPoll_shift) TEST_F(COSXKeyStateTests, fakeAndPoll_shift)
{ {
CKeyMap keyMap; CKeyMap keyMap;
@ -56,6 +59,8 @@ TEST_F(COSXKeyStateTests, fakeAndPoll_shift)
EXPECT_TRUE(!isKeyPressed(keyState, SHIFT_BUTTON)); EXPECT_TRUE(!isKeyPressed(keyState, SHIFT_BUTTON));
} }
#endif
TEST_F(COSXKeyStateTests, fakeAndPoll_charKey) TEST_F(COSXKeyStateTests, fakeAndPoll_charKey)
{ {
CKeyMap keyMap; CKeyMap keyMap;