1 Star 0 Fork 0

wlemuel / lightspark

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.tests 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
You can get the Flex 4 SDK at:
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
Flex 4 SDK is assumed to be installed in $FLEX_ROOT
To compile and run the test suite run:
./tests
Run "./tests --help" inside tests/ to see scripts usage.
Compiling tests manually inside the tests/ directory:
$FLEX_ROOT/bin/mxmlc -static-link-runtime-shared-libraries -compiler.omit-trace-statements=false test.mxml -output test.swf
Creating new testcases
----------------------
Use template.mxml as a template for new testcases.
We've provided a simple Tests class which should be used where
possible to test general behaviour of AS classes. See Tests.as for its
usage.
Please use a naming scheme as follow:
For toplevel classes: tests/CLASSNAME_test.mxml (CLASSNAME is the
exact name of the class/function)
For other classes: tests/NAMESPACE_CLASSNAME_test.mxml (NAMESPACE is
for example "net" for "flash.net" classes/functions, e.g.:
tests/net_NetStream_test.mxml)
Please group all tests for one class in one file.
Subdirectories
--------------
tests/other:
Tests that aren't suitable for testing with the Tests class should be
put in here. (e.g.: testing video playing, StageScaleMode testing
etc...). The naming schemes still apply to these testcases though.
tests/unimplemented:
Tests for unimplemented features.
tests/performance:
Tests aimed at measuring runtime performance.
1
https://gitee.com/wlemuel/lightspark.git
git@gitee.com:wlemuel/lightspark.git
wlemuel
lightspark
lightspark
master

搜索帮助