2010-08-06 17:50:20 +08:00
|
|
|
#ifndef _TESTS_H_
|
|
|
|
#define _TESTS_H_
|
|
|
|
|
|
|
|
#include "ActionsTest/ActionsTest.h"
|
2010-08-20 14:35:37 +08:00
|
|
|
#include "TransitionsTest/TransitionsTest.h"
|
2012-03-19 18:20:32 +08:00
|
|
|
#include "ActionsProgressTest/ActionsProgressTest.h"
|
2010-08-23 10:17:29 +08:00
|
|
|
#include "EffectsTest/EffectsTest.h"
|
2010-08-23 11:53:37 +08:00
|
|
|
#include "ClickAndMoveTest/ClickAndMoveTest.h"
|
2010-08-23 13:58:57 +08:00
|
|
|
#include "RotateWorldTest/RotateWorldTest.h"
|
2010-08-23 16:38:10 +08:00
|
|
|
#include "ParticleTest/ParticleTest.h"
|
2012-03-20 18:07:42 +08:00
|
|
|
#include "ActionsEaseTest/ActionsEaseTest.h"
|
2010-08-25 17:02:58 +08:00
|
|
|
#include "MotionStreakTest/MotionStreakTest.h"
|
2010-08-26 10:53:49 +08:00
|
|
|
#include "DrawPrimitivesTest/DrawPrimitivesTest.h"
|
2010-08-27 11:53:35 +08:00
|
|
|
#include "TouchesTest/TouchesTest.h"
|
2010-08-28 15:47:51 +08:00
|
|
|
#include "MenuTest/MenuTest.h"
|
2010-08-30 15:04:46 +08:00
|
|
|
#include "ActionManagerTest/ActionManagerTest.h"
|
2010-08-31 17:03:58 +08:00
|
|
|
#include "LayerTest/LayerTest.h"
|
2010-09-01 11:34:30 +08:00
|
|
|
#include "SceneTest/SceneTest.h"
|
2010-09-01 14:57:55 +08:00
|
|
|
#include "ParallaxTest/ParallaxTest.h"
|
2010-09-01 17:30:51 +08:00
|
|
|
#include "TileMapTest/TileMapTest.h"
|
2010-09-06 17:14:41 +08:00
|
|
|
#include "IntervalTest/IntervalTest.h"
|
2011-02-23 16:47:25 +08:00
|
|
|
#include "LabelTest/LabelTest.h"
|
2011-04-26 16:33:20 +08:00
|
|
|
#include "TextInputTest/TextInputTest.h"
|
2010-09-09 10:17:38 +08:00
|
|
|
#include "SpriteTest/SpriteTest.h"
|
2010-09-09 16:15:21 +08:00
|
|
|
#include "SchedulerTest/SchedulerTest.h"
|
2010-09-10 10:29:39 +08:00
|
|
|
#include "RenderTextureTest/RenderTextureTest.h"
|
2010-09-14 14:47:12 +08:00
|
|
|
#include "Box2DTest/Box2dTest.h"
|
2010-09-14 16:23:50 +08:00
|
|
|
#include "Box2DTestBed/Box2dView.h"
|
2010-09-16 11:35:58 +08:00
|
|
|
#include "EffectsAdvancedTest/EffectsAdvancedTest.h"
|
2010-09-24 12:24:38 +08:00
|
|
|
#include "HiResTest/HiResTest.h"
|
2010-11-10 17:47:06 +08:00
|
|
|
#include "AccelerometerTest/AccelerometerTest.h"
|
2010-12-14 10:23:20 +08:00
|
|
|
#include "KeypadTest/KeypadTest.h"
|
2011-03-25 13:59:08 +08:00
|
|
|
#include "PerformanceTest/PerformanceTest.h"
|
2011-03-22 14:59:10 +08:00
|
|
|
#include "ZwoptexTest/ZwoptexTest.h"
|
2011-03-31 17:53:35 +08:00
|
|
|
#include "CocosDenshionTest/CocosDenshionTest.h"
|
2011-04-15 17:15:05 +08:00
|
|
|
#include "CurlTest/CurlTest.h"
|
2011-05-06 15:31:51 +08:00
|
|
|
#include "UserDefaultTest/UserDefaultTest.h"
|
2011-07-07 14:55:11 +08:00
|
|
|
#include "DirectorTest/DirectorTest.h"
|
2011-07-08 11:22:35 +08:00
|
|
|
#include "BugsTest/BugsTest.h"
|
2011-07-20 15:35:20 +08:00
|
|
|
#include "Texture2dTest/Texture2dTest.h"
|
2011-07-29 15:57:27 +08:00
|
|
|
#include "FontTest/FontTest.h"
|
2011-08-19 11:26:14 +08:00
|
|
|
#include "CurrentLanguageTest/CurrentLanguageTest.h"
|
2011-11-17 10:10:13 +08:00
|
|
|
#include "TextureCacheTest/TextureCacheTest.h"
|
2012-03-21 13:36:24 +08:00
|
|
|
#include "NodeTest/NodeTest.h"
|
2012-03-21 17:02:52 +08:00
|
|
|
#include "ShaderTest/ShaderTest.h"
|
2010-08-06 17:50:20 +08:00
|
|
|
|
2011-12-08 19:21:48 +08:00
|
|
|
#if (CC_TARGET_PLATFORM != CC_PLATFORM_MARMALADE)
|
2012-03-21 15:43:35 +08:00
|
|
|
#include "ChipmunkAccelTouchTest/ChipmunkAccelTouchTest.h"
|
2011-04-04 00:40:39 +08:00
|
|
|
#else
|
2011-12-08 19:21:48 +08:00
|
|
|
#ifdef MARMALADEUSECHIPMUNK
|
|
|
|
#if (MARMALADEUSECHIPMUNK == 1)
|
2012-03-21 15:43:35 +08:00
|
|
|
#include "ChipmunkAccelTouchTest/ChipmunkAccelTouchTest.h"
|
2011-04-04 00:40:39 +08:00
|
|
|
#endif
|
|
|
|
#endif
|
2011-12-08 19:21:48 +08:00
|
|
|
#endif // (CC_TARGET_PLATFORM != CC_PLATFORM_MARMALADE)
|
2012-02-14 18:04:56 +08:00
|
|
|
|
|
|
|
#include "ExtensionsTest/ExtensionsTest.h"
|
|
|
|
|
2010-08-09 18:07:50 +08:00
|
|
|
enum
|
|
|
|
{
|
2010-08-20 14:35:37 +08:00
|
|
|
TEST_ACTIONS = 0,
|
|
|
|
TEST_TRANSITIONS,
|
2010-08-21 10:26:26 +08:00
|
|
|
TEST_PROGRESS_ACTIONS,
|
2010-08-23 10:17:29 +08:00
|
|
|
TEST_EFFECTS,
|
2010-08-23 11:53:37 +08:00
|
|
|
TEST_CLICK_AND_MOVE,
|
2010-08-23 13:58:57 +08:00
|
|
|
TEST_ROTATE_WORLD,
|
2010-08-23 16:38:10 +08:00
|
|
|
TEST_PARTICLE,
|
2010-08-25 17:02:58 +08:00
|
|
|
TEST_EASE_ACTIONS,
|
|
|
|
TEST_MOTION_STREAK,
|
2010-08-26 10:53:49 +08:00
|
|
|
TEST_DRAW_PRIMITIVES,
|
2010-08-26 15:09:02 +08:00
|
|
|
TEST_COCOSNODE,
|
2010-08-27 11:53:35 +08:00
|
|
|
TEST_TOUCHES,
|
2010-08-28 15:47:51 +08:00
|
|
|
TEST_MENU,
|
2010-08-30 15:04:46 +08:00
|
|
|
TEST_ACTION_MANAGER,
|
2010-08-31 17:03:58 +08:00
|
|
|
TEST_LAYER,
|
2010-09-01 11:34:30 +08:00
|
|
|
TEST_SCENE,
|
2010-09-01 14:57:55 +08:00
|
|
|
TEST_PARALLAX,
|
2010-09-01 17:30:51 +08:00
|
|
|
TEST_TILE_MAP,
|
2010-09-06 17:14:41 +08:00
|
|
|
TEST_INTERVAL,
|
2012-03-21 15:43:35 +08:00
|
|
|
TEST_CHIPMUNKACCELTOUCH,
|
2011-04-26 16:33:20 +08:00
|
|
|
TEST_LABEL,
|
|
|
|
TEST_TEXT_INPUT,
|
2010-09-09 10:17:38 +08:00
|
|
|
TEST_SPRITE,
|
2010-09-09 16:15:21 +08:00
|
|
|
TEST_SCHEDULER,
|
2010-09-10 10:29:39 +08:00
|
|
|
TEST_RENDERTEXTURE,
|
2011-07-20 15:35:20 +08:00
|
|
|
TEST_TEXTURE2D,
|
2010-09-14 14:47:12 +08:00
|
|
|
TEST_BOX2D,
|
2010-09-14 16:23:50 +08:00
|
|
|
TEST_BOX2DBED,
|
2010-09-16 11:35:58 +08:00
|
|
|
TEST_EFFECT_ADVANCE,
|
2010-09-24 12:24:38 +08:00
|
|
|
TEST_HIRES,
|
2010-11-10 17:47:06 +08:00
|
|
|
TEST_ACCELEROMRTER,
|
2010-12-14 10:23:20 +08:00
|
|
|
TEST_KEYPAD,
|
2011-01-19 16:00:19 +08:00
|
|
|
TEST_COCOSDENSHION,
|
2011-03-25 13:59:08 +08:00
|
|
|
TEST_PERFORMANCE,
|
2011-03-22 14:59:10 +08:00
|
|
|
TEST_ZWOPTEX,
|
2011-04-15 17:15:05 +08:00
|
|
|
TEST_CURL,
|
2011-05-06 15:31:51 +08:00
|
|
|
TEST_USERDEFAULT,
|
2011-07-07 14:55:11 +08:00
|
|
|
TEST_DIRECTOR,
|
2011-07-08 11:22:35 +08:00
|
|
|
TEST_BUGS,
|
2011-07-29 15:57:27 +08:00
|
|
|
TEST_FONTS,
|
2011-08-19 11:26:14 +08:00
|
|
|
TEST_CURRENT_LANGUAGE,
|
2011-11-17 10:10:13 +08:00
|
|
|
TEST_TEXTURECACHE,
|
2012-02-14 18:04:56 +08:00
|
|
|
TEST_EXTENSIONS,
|
2012-03-21 17:02:52 +08:00
|
|
|
TEST_SHADER,
|
|
|
|
TESTS_COUNT,
|
2010-08-09 18:07:50 +08:00
|
|
|
};
|
|
|
|
|
2010-08-19 15:55:55 +08:00
|
|
|
const std::string g_aTestNames[TESTS_COUNT] = {
|
|
|
|
"ActionsTest",
|
2010-08-20 14:35:37 +08:00
|
|
|
"TransitionsTest",
|
2012-03-19 18:20:32 +08:00
|
|
|
"ActionsProgressTest",
|
2010-08-23 10:17:29 +08:00
|
|
|
"EffectsTest",
|
2010-08-23 11:53:37 +08:00
|
|
|
"ClickAndMoveTest",
|
2010-08-23 13:58:57 +08:00
|
|
|
"RotateWorldTest",
|
2010-08-23 16:38:10 +08:00
|
|
|
"ParticleTest",
|
2012-03-20 18:07:42 +08:00
|
|
|
"ActionsEaseTest",
|
2010-08-25 17:02:58 +08:00
|
|
|
"MotionStreakTest",
|
2010-08-26 10:53:49 +08:00
|
|
|
"DrawPrimitivesTest",
|
2012-03-21 13:36:24 +08:00
|
|
|
"NodeTest",
|
2010-08-27 11:53:35 +08:00
|
|
|
"TouchesTest",
|
2010-08-28 15:47:51 +08:00
|
|
|
"MenuTest",
|
2010-08-30 15:04:46 +08:00
|
|
|
"ActionManagerTest",
|
2010-08-31 17:03:58 +08:00
|
|
|
"LayerTest",
|
2010-09-01 11:34:30 +08:00
|
|
|
"SceneTest",
|
2010-09-01 14:57:55 +08:00
|
|
|
"ParallaxTest",
|
2010-09-01 17:30:51 +08:00
|
|
|
"TileMapTest",
|
2010-09-06 17:14:41 +08:00
|
|
|
"IntervalTest",
|
2012-03-21 15:43:35 +08:00
|
|
|
"ChipmunkAccelTouchTest",
|
2011-02-23 16:47:25 +08:00
|
|
|
"LabelTest",
|
2011-04-26 16:33:20 +08:00
|
|
|
"TextInputTest",
|
2010-09-09 10:17:38 +08:00
|
|
|
"SpriteTest",
|
2010-09-09 16:15:21 +08:00
|
|
|
"SchdulerTest",
|
2010-09-10 10:29:39 +08:00
|
|
|
"RenderTextureTest",
|
2011-07-20 15:35:20 +08:00
|
|
|
"Texture2DTest",
|
2010-09-14 14:47:12 +08:00
|
|
|
"Box2dTest",
|
2010-09-14 16:23:50 +08:00
|
|
|
"Box2dTestBed",
|
2010-09-16 11:35:58 +08:00
|
|
|
"EffectAdvancedTest",
|
2010-09-24 12:24:38 +08:00
|
|
|
"HiResTest",
|
2010-11-10 17:47:06 +08:00
|
|
|
"Accelerometer",
|
2010-12-14 10:23:20 +08:00
|
|
|
"KeypadTest",
|
2011-03-22 14:59:10 +08:00
|
|
|
"CocosDenshionTest",
|
2011-03-29 14:26:31 +08:00
|
|
|
"PerformanceTest",
|
2011-04-15 17:15:05 +08:00
|
|
|
"ZwoptexTest",
|
2011-05-06 15:31:51 +08:00
|
|
|
"CurlTest",
|
2011-07-07 14:55:11 +08:00
|
|
|
"UserDefaultTest",
|
2011-07-08 11:22:35 +08:00
|
|
|
"DirectorTest",
|
2011-07-29 15:57:27 +08:00
|
|
|
"BugsTest",
|
2011-08-19 11:26:14 +08:00
|
|
|
"FontTest",
|
|
|
|
"CurrentLanguageTest",
|
2012-02-10 11:46:18 +08:00
|
|
|
"TextureCacheTest",
|
2012-03-21 17:02:52 +08:00
|
|
|
"ExtensionsTest",
|
|
|
|
"ShaderTest"
|
2010-08-19 15:55:55 +08:00
|
|
|
};
|
|
|
|
|
2010-08-06 17:50:20 +08:00
|
|
|
#endif
|