axmol/samples/Lua/TestLua/Resources/luaScript/tests.lua

122 lines
2.9 KiB
Lua
Raw Normal View History

require "luaScript/helper"
2012-08-23 16:10:50 +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"
require "luaScript/ParticleTest/ParticleTest"
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"
2013-03-11 13:49:09 +08:00
require "luaScript/SpriteTest/SpriteTest"
require "luaScript/LayerTest/LayerTest"
2012-08-27 11:43:47 +08:00
require "luaScript/PerformanceTest/PerformanceTest"
require "luaScript/LabelTest/LabelTest"
require "luaScript/ParallaxTest/ParallaxTest"
2013-04-01 17:35:27 +08:00
require "luaScript/TileMapTest/TileMapTest"
require "luaScript/ActionManagerTest/ActionManagerTest"
require "luaScript/MenuTest/MenuTest"
2012-08-23 16:10:50 +08:00
----------------------------------------------------
-- tests scene
Test_Table =
{
2013-04-01 17:35:27 +08:00
"TEST_ACTIONS",
2012-08-23 16:10:50 +08:00
"TEST_TRANSITIONS",
"TEST_PROGRESS_ACTIONS",
"TEST_EFFECTS",
"TEST_CLICK_AND_MOVE",
"TEST_ROTATE_WORLD",
"TEST_PARTICLE",
"TEST_EASE_ACTIONS",
"TEST_MOTION_STREAK",
2013-03-11 13:49:09 +08:00
-- "TEST_DRAW_PRIMITIVES",
2012-08-23 16:10:50 +08:00
"TEST_COCOSNODE",
"TEST_TOUCHES",
"TEST_MENU",
"TEST_ACTION_MANAGER",
"TEST_LAYER",
2013-03-11 13:49:09 +08:00
-- "TEST_SCENE",
"TEST_PARALLAX",
2013-04-01 17:35:27 +08:00
"TEST_TILE_MAP",
2013-03-11 13:49:09 +08:00
-- "TEST_INTERVAL",
-- "TEST_CHIPMUNKACCELTOUCH",
2013-04-01 17:35:27 +08:00
"TEST_LABEL",
2013-03-11 13:49:09 +08:00
-- "TEST_TEXT_INPUT",
2012-08-23 16:10:50 +08:00
"TEST_SPRITE",
2013-03-11 13:49:09 +08:00
-- "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",
2012-08-23 16:10:50 +08:00
"TESTS_COUNT"
}
Test_Table = CreateEnumTable(Test_Table)
Test_Name =
{
[0] = "ActionsTest",
"TransitionsTest",
"ActionsProgressTest",
"EffectsTest",
"ClickAndMoveTest",
"RotateWorldTest",
"ParticleTest",
"ActionsEaseTest",
"MotionStreakTest",
2013-03-11 13:49:09 +08:00
-- "DrawPrimitivesTest",
2012-08-23 16:10:50 +08:00
"NodeTest",
"TouchesTest",
"MenuTest",
"ActionManagerTest",
"LayerTest",
2013-03-11 13:49:09 +08:00
-- "SceneTest",
"ParallaxTest",
2013-04-01 17:35:27 +08:00
"TileMapTest",
2013-03-11 13:49:09 +08:00
-- "IntervalTest",
-- "ChipmunkAccelTouchTest",
2013-04-01 17:35:27 +08:00
"LabelTest",
2013-03-11 13:49:09 +08:00
-- "TextInputTest",
2012-08-23 16:10:50 +08:00
"SpriteTest",
2013-03-11 13:49:09 +08:00
-- "SchdulerTest",
-- "RenderTextureTest",
-- "Texture2DTest",
-- "Box2dTest",
-- "Box2dTestBed",
-- "EffectAdvancedTest",
-- "Accelerometer",
-- "KeypadTest",
-- "CocosDenshionTest",
-- "PerformanceTest",
-- "ZwoptexTest",
-- "CurlTest",
-- "UserDefaultTest",
-- "BugsTest",
-- "FontTest",
-- "CurrentLanguageTest",
-- "TextureCacheTest",
-- "ExtensionsTest",
-- "ShaderTest",
-- "MutiTouchTest"
2012-08-23 16:10:50 +08:00
}