axmol/tests/tests/tests.h

156 lines
4.0 KiB
C
Raw Normal View History

#ifndef _TESTS_H_
#define _TESTS_H_
#include "ActionsTest/ActionsTest.h"
2010-08-20 14:35:37 +08:00
#include "TransitionsTest/TransitionsTest.h"
#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"
#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"
#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"
#include "Box2DTest/Box2dTest.h"
2010-09-14 16:23:50 +08:00
#include "Box2DTestBed/Box2dView.h"
#include "EffectsAdvancedTest/EffectsAdvancedTest.h"
2010-09-24 12:24:38 +08:00
#include "HiResTest/HiResTest.h"
#include "AccelerometerTest/AccelerometerTest.h"
#include "KeypadTest/KeypadTest.h"
#include "PerformanceTest/PerformanceTest.h"
2011-03-22 14:59:10 +08:00
#include "ZwoptexTest/ZwoptexTest.h"
#include "CocosDenshionTest/CocosDenshionTest.h"
#include "CurlTest/CurlTest.h"
#include "UserDefaultTest/UserDefaultTest.h"
#include "DirectorTest/DirectorTest.h"
2011-07-08 11:22:35 +08:00
#include "BugsTest/BugsTest.h"
#include "Texture2dTest/Texture2dTest.h"
#include "FontTest/FontTest.h"
#include "CurrentLanguageTest/CurrentLanguageTest.h"
#include "TextureCacheTest/TextureCacheTest.h"
#include "NodeTest/NodeTest.h"
2012-03-21 17:02:52 +08:00
#include "ShaderTest/ShaderTest.h"
#if (CC_TARGET_PLATFORM != CC_PLATFORM_MARMALADE)
#include "ChipmunkAccelTouchTest/ChipmunkAccelTouchTest.h"
#else
#ifdef MARMALADEUSECHIPMUNK
#if (MARMALADEUSECHIPMUNK == 1)
#include "ChipmunkAccelTouchTest/ChipmunkAccelTouchTest.h"
#endif
#endif
#endif // (CC_TARGET_PLATFORM != CC_PLATFORM_MARMALADE)
#include "ExtensionsTest/ExtensionsTest.h"
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,
TEST_CHIPMUNKACCELTOUCH,
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,
TEST_TEXTURE2D,
TEST_BOX2D,
2010-09-14 16:23:50 +08:00
TEST_BOX2DBED,
TEST_EFFECT_ADVANCE,
2010-09-24 12:24:38 +08:00
TEST_HIRES,
TEST_ACCELEROMRTER,
TEST_KEYPAD,
2011-01-19 16:00:19 +08:00
TEST_COCOSDENSHION,
TEST_PERFORMANCE,
2011-03-22 14:59:10 +08:00
TEST_ZWOPTEX,
TEST_CURL,
TEST_USERDEFAULT,
TEST_DIRECTOR,
2011-07-08 11:22:35 +08:00
TEST_BUGS,
TEST_FONTS,
TEST_CURRENT_LANGUAGE,
TEST_TEXTURECACHE,
TEST_EXTENSIONS,
2012-03-21 17:02:52 +08:00
TEST_SHADER,
TESTS_COUNT,
};
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",
"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",
"ActionsEaseTest",
2010-08-25 17:02:58 +08:00
"MotionStreakTest",
2010-08-26 10:53:49 +08:00
"DrawPrimitivesTest",
"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",
"ChipmunkAccelTouchTest",
2011-02-23 16:47:25 +08:00
"LabelTest",
"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",
"Texture2DTest",
"Box2dTest",
2010-09-14 16:23:50 +08:00
"Box2dTestBed",
"EffectAdvancedTest",
2010-09-24 12:24:38 +08:00
"HiResTest",
"Accelerometer",
"KeypadTest",
2011-03-22 14:59:10 +08:00
"CocosDenshionTest",
"PerformanceTest",
"ZwoptexTest",
"CurlTest",
"UserDefaultTest",
2011-07-08 11:22:35 +08:00
"DirectorTest",
"BugsTest",
"FontTest",
"CurrentLanguageTest",
"TextureCacheTest",
2012-03-21 17:02:52 +08:00
"ExtensionsTest",
"ShaderTest"
2010-08-19 15:55:55 +08:00
};
#endif