46#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS) && !defined(CC_TARGET_OS_TVOS)
51#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)
55GUIDynamicCreateTests::GUIDynamicCreateTests()
57#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS) && !defined(CC_TARGET_OS_TVOS)
58 addTest(
"VideoPlayer Test", [](){
return new (std::nothrow) VideoPlayerTests; });
59 addTest(
"WebView Test", [](){
return new (std::nothrow) WebViewTests; });
61#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)
62 addTest(
"EditBox Test", [](){
return new (std::nothrow) UIEditBoxTests; });
64 addTest(
"Focus Test", [](){
return new (std::nothrow) UIFocusTests; });
65 addTest(
"Scale9Sprite Test", [](){
return new (std::nothrow) UIScale9SpriteTests; });
66 addTest(
"Button Test", [](){
return new (std::nothrow) UIButtonTests; });
67 addTest(
"CheckBox Test", [](){
return new (std::nothrow) UICheckBoxTests; });
68 addTest(
"RadioButton Test", [](){
return new (std::nothrow) UIRadioButtonTests; });
69 addTest(
"Slider Test", [](){
return new (std::nothrow) UISliderTests; });
71 addTest(
"ImageView Test", [](){
return new (std::nothrow) UIImageViewTests; });
72 addTest(
"LoadingBar Test", [](){
return new (std::nothrow) UILoadingBarTests; });
73 addTest(
"TextAtlas Test", [](){
return new (std::nothrow) UITextAtlasTests; });
75 addTest(
"Text Test", [](){
return new (std::nothrow) UITextTests; });
76 addTest(
"TextBMFont Test", [](){
return new (std::nothrow) UITextBMFontTests; });
77 addTest(
"TextField Test", [](){
return new (std::nothrow) UITextFieldTests; });
78 addTest(
"Layout Test", [](){
return new (std::nothrow) UILayoutTests; });
80 addTest(
"ScrollView Test", [](){
return new (std::nothrow) UIScrollViewTests; });
81 addTest(
"PageView Test", [](){
return new (std::nothrow) UIPageViewTests; });
82 addTest(
"ListView Test", [](){
return new (std::nothrow) UIListViewTests; });
84 addTest(
"WidgetAddNode Test", [](){
return new (std::nothrow) UIWidgetAddNodeTests; });
85 addTest(
"RichText Test", [](){
return new (std::nothrow) UIRichTextTests; });
87 addTest(
"TabControl Test", [](){
return new (std::nothrow) UITabControlTests; });