Changeset 276
- Timestamp:
- 08/19/09 16:03:20 (4 years ago)
- Location:
- trunk/fl5
- Files:
-
- 7 added
- 2 edited
-
build/build.properties (modified) (3 diffs)
-
build/build.xml (modified) (1 diff)
-
test (added)
-
test/PlayerTestLauncher.as (added)
-
test/PlayerTestResultPrinter.as (added)
-
test/PlayerTestRunListener.as (added)
-
test/PlayerTestSuite.as (added)
-
test/tests (added)
-
test/tests/ExampleTest.as (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fl5/build/build.properties
r272 r276 22 22 compc.exe = ${flexsdk.bin.dir}/compc.exe 23 23 mxmlc.exe = ${flexsdk.bin.dir}/mxmlc.exe 24 amxmlc.exe = ${flexsdk.bin.dir}/amxmlc.bat 24 25 25 26 # The location of Flex Unit on your sytem. … … 29 30 30 31 flashDebugPlayer.exe = C:/Program Files/Adobe/Flex Builder 3/Player/win/FlashPlayer.exe 31 32 airDebugLauncher.exe = ${flexsdk.bin.dir}/adl.exe 32 33 # ----------------------------------------------------------------- 33 34 # Project Files - DO NOT MODIFY … … 45 46 debug.dir = ${basedir}/bin-debug 46 47 docs.dir = ${basedir}/asdoc 48 test.dir = ${basedir}/test -
trunk/fl5/build/build.xml
r275 r276 73 73 </exec> 74 74 </target> 75 76 <target name="build-test"> 77 <exec executable="${amxmlc.exe}" dir="${basedir}"> 78 <!-- Point to the main class .as file --> 79 <arg line="'${test.dir}/PlayerTestRunner.as'" /> 80 81 <!-- Place the built .swf file in the "bin" directory --> 82 <arg line="-output '${basedir}/bin-test/TestRunner.swf'" /> 83 84 <!-- Define source directories for "src" and "tests" --> 85 <arg line="-compiler.source-path '${test.dir}'" /> 86 <arg line="-compiler.source-path '${src.dir}'" /> 87 88 <!-- Include the necessary framework libraries in the class path --> 89 <arg line="-compiler.library-path '${flexsdk.lib.dir}'" /> 90 <arg line="-compiler.library-path '${flexunit.lib.dir}'" /> 91 <arg line="-compiler.library-path '${lib.dir}'" /> 92 93 <!-- Include locale-specific items in the path --> 94 <arg line="-locale ${flexsdk.locale}" /> 95 <arg line="-compiler.library-path '${flexsdk.locale.dir}'" /> 96 97 <!-- Compile with network sandbox --> 98 <arg line="-use-network=true" /> 99 100 <!-- Ignore missing type definitions --> 101 <arg line="-warnings=false" /> 102 </exec> 103 </target> 75 104 76 105 <target name="test-unit" depends="check-properties"> 77 <exec executable="${ flashDebugPlayer.exe}" spawn="yes">78 <arg line="'${ debug.dir}/player.swf'" />106 <exec executable="${airDebugLauncher.exe}"> 107 <arg line="'${basedir}/bin-test/TestRunner-app.xml'" /> 79 108 </exec> 80 109 </target>
Note: See TracChangeset
for help on using the changeset viewer.
