2012-08-24 10:07:15 +08:00
|
|
|
require "luaScript/helper"
|
2012-08-23 16:10:50 +08:00
|
|
|
|
2012-08-24 10:07:15 +08:00
|
|
|
require "luaScript/ActionsTest/ActionsTest"
|
|
|
|
require "luaScript/TransitionsTest/TransitionsTest"
|
|
|
|
require "luaScript/ActionsProgressTest/ActionsProgressTest"
|
|
|
|
require "luaScript/EffectsTest/EffectsTest"
|
|
|
|
require "luaScript/ClickAndMoveTest/ClickAndMoveTest"
|
|
|
|
require "luaScript/RotateWorldTest/RotateWorldTest"
|
2012-08-29 17:17:36 +08:00
|
|
|
require "luaScript/ParticleTest/ParticleTest"
|
2012-08-30 16:39:58 +08:00
|
|
|
require "luaScript/ActionsEaseTest/ActionsEaseTest"
|
|
|
|
require "luaScript/MotionStreakTest/MotionStreakTest"
|
2013-03-07 11:55:57 +08:00
|
|
|
require "luaScript/DrawPrimitivesTest/DrawPrimitivesTest"
|
2012-08-31 18:26:27 +08:00
|
|
|
require "luaScript/NodeTest/NodeTest"
|
2013-03-07 11:55:57 +08:00
|
|
|
require "luaScript/TouchesTest/TouchesTest"
|
2012-08-29 17:17:36 +08:00
|
|
|
|
2012-08-27 11:43:47 +08:00
|
|
|
require "luaScript/PerformanceTest/PerformanceTest"
|
2012-08-23 16:10:50 +08:00
|
|
|
|
|
|
|
----------------------------------------------------
|
|
|
|
|
|
|
|
-- tests scene
|
|
|
|
Test_Table =
|
|
|
|
{
|
|
|
|
"TEST_ACTIONS",
|
|
|
|
"TEST_TRANSITIONS",
|
|
|
|
"TEST_PROGRESS_ACTIONS",
|
|
|
|
"TEST_EFFECTS",
|
|
|
|
"TEST_CLICK_AND_MOVE",
|
|
|
|
"TEST_ROTATE_WORLD",
|
|
|
|
"TEST_PARTICLE",
|
|
|
|
"TEST_EASE_ACTIONS",
|
|
|
|
"TEST_MOTION_STREAK",
|
|
|
|
"TEST_DRAW_PRIMITIVES",
|
|
|
|
"TEST_COCOSNODE",
|
|
|
|
"TEST_TOUCHES",
|
|
|
|
"TEST_MENU",
|
|
|
|
"TEST_ACTION_MANAGER",
|
|
|
|
"TEST_LAYER",
|
|
|
|
"TEST_SCENE",
|
|
|
|
"TEST_PARALLAX",
|
|
|
|
"TEST_TILE_MAP",
|
|
|
|
"TEST_INTERVAL",
|
|
|
|
"TEST_CHIPMUNKACCELTOUCH",
|
|
|
|
"TEST_LABEL",
|
|
|
|
"TEST_TEXT_INPUT",
|
|
|
|
"TEST_SPRITE",
|
|
|
|
"TEST_SCHEDULER",
|
|
|
|
"TEST_RENDERTEXTURE",
|
|
|
|
"TEST_TEXTURE2D",
|
|
|
|
"TEST_BOX2D",
|
|
|
|
"TEST_BOX2DBED",
|
|
|
|
"TEST_EFFECT_ADVANCE",
|
|
|
|
"TEST_ACCELEROMRTER",
|
|
|
|
"TEST_KEYPAD",
|
|
|
|
"TEST_COCOSDENSHION",
|
|
|
|
"TEST_PERFORMANCE",
|
|
|
|
"TEST_ZWOPTEX",
|
|
|
|
"TEST_CURL",
|
|
|
|
"TEST_USERDEFAULT",
|
|
|
|
"TEST_BUGS",
|
|
|
|
"TEST_FONTS",
|
|
|
|
"TEST_CURRENT_LANGUAGE",
|
|
|
|
"TEST_TEXTURECACHE",
|
|
|
|
"TEST_EXTENSIONS",
|
|
|
|
"TEST_SHADER",
|
|
|
|
"TEST_MUTITOUCH",
|
|
|
|
"TESTS_COUNT"
|
|
|
|
}
|
|
|
|
|
|
|
|
Test_Table = CreateEnumTable(Test_Table)
|
|
|
|
|
|
|
|
Test_Name =
|
|
|
|
{
|
|
|
|
[0] = "ActionsTest",
|
|
|
|
"TransitionsTest",
|
|
|
|
"ActionsProgressTest",
|
|
|
|
"EffectsTest",
|
|
|
|
"ClickAndMoveTest",
|
|
|
|
"RotateWorldTest",
|
|
|
|
"ParticleTest",
|
|
|
|
"ActionsEaseTest",
|
|
|
|
"MotionStreakTest",
|
|
|
|
"DrawPrimitivesTest",
|
|
|
|
"NodeTest",
|
|
|
|
"TouchesTest",
|
|
|
|
"MenuTest",
|
|
|
|
"ActionManagerTest",
|
|
|
|
"LayerTest",
|
|
|
|
"SceneTest",
|
|
|
|
"ParallaxTest",
|
|
|
|
"TileMapTest",
|
|
|
|
"IntervalTest",
|
|
|
|
"ChipmunkAccelTouchTest",
|
|
|
|
"LabelTest",
|
|
|
|
"TextInputTest",
|
|
|
|
"SpriteTest",
|
|
|
|
"SchdulerTest",
|
|
|
|
"RenderTextureTest",
|
|
|
|
"Texture2DTest",
|
|
|
|
"Box2dTest",
|
|
|
|
"Box2dTestBed",
|
|
|
|
"EffectAdvancedTest",
|
|
|
|
"Accelerometer",
|
|
|
|
"KeypadTest",
|
|
|
|
"CocosDenshionTest",
|
|
|
|
"PerformanceTest",
|
|
|
|
"ZwoptexTest",
|
|
|
|
"CurlTest",
|
|
|
|
"UserDefaultTest",
|
|
|
|
"BugsTest",
|
|
|
|
"FontTest",
|
|
|
|
"CurrentLanguageTest",
|
|
|
|
"TextureCacheTest",
|
|
|
|
"ExtensionsTest",
|
|
|
|
"ShaderTest",
|
|
|
|
"MutiTouchTest"
|
|
|
|
}
|