Merge pull request #8109 from andyque/fixTests

fix editbox test
This commit is contained in:
minggo 2014-09-19 16:29:07 +08:00
commit 681621805d
2 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,7 @@ g_guisTests[] =
}
},
#endif
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) || (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC) || (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_TIZEN) || (CC_TARGET_PLATFORM == CC_PLATFORM_WP8)
{
"EditBox Test",
[](Ref* sender)
@ -56,6 +57,7 @@ g_guisTests[] =
Director::getInstance()->replaceScene(scene);
}
},
#endif
{
"focus test",
[](Ref* sender)

View File

@ -41,7 +41,9 @@ enum
kUIButtonTextOnly,
kUIButtonIgnoreContentSizeTest,
kUIButtonTitleEffectTest,
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) || (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC) || (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_TIZEN) || (CC_TARGET_PLATFORM == CC_PLATFORM_WP8)
kUIEditBoxTest,
#endif
kUICheckBoxTest,
kUISliderTest,
kUISliderTest_Scale9,