Hi there,
I'm attempting to use flexrunner in a linux project. So far everything has been smoothly, thanks. Just pached my SDK vith linux air 2.6 runtimes and ran (a slightly modified) demo project. It seems like there is a build in path to E:\hudson .... in the flexunit-4.1.0.8-flex_4.1.0.16076.swc file is there a way to get the source for this project and build the libraries ensuring that I get the correct path set?
Platfrom: Ubuntu 10.04
ant: 1.8.x
flex sdk: 4.5.1 pached with linux air 2.6 runtimes
flexunit: 4.1.0-8
absolute path bolded below
Cheers,
John
jodi@ubuntu:~/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest$ ant -f build.air.xml
Buildfile: /home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/buil d.air.xml
init:
compile:
[mxmlc] Loading configuration file /home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/make3/flex/frame works/air-config.xml
[mxmlc] /home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/targ et/bin/Main.swf (498693 bytes)
[mxmlc] Loading configuration file /home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/make3/flex/frame works/air-config.xml
[mxmlc] /home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/targ et/bin/TestRunner.swf (1011075 bytes)
test:
[flexunit] Validating task attributes ...
[flexunit] Generating default values ...
[flexunit] Using the following settings for the test run:
[flexunit] FLEX_HOME: [/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/make3/flex]
[flexunit] haltonfailure: [true]
[flexunit] headless: [false]
[flexunit] display: [99]
[flexunit] localTrusted: [true]
[flexunit] player: [air]
[flexunit] port: [1024]
[flexunit] swf: [/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/tar get/bin/TestRunner.swf]
[flexunit] timeout: [60000ms]
[flexunit] toDir: [/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/tar get/report]
[flexunit] Setting up server process ...
[flexunit] Starting server ...
[flexunit] Opening server socket on port [1024].
[flexunit] Waiting for client connection ...
[flexunit] Found AIR version: 2.6
[flexunit] Created application descriptor at [/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/tar get/bin/flexUnitDescriptor.xml]
[flexunit] Executing '/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/make3/flex/bin/ adl' with arguments:
[flexunit] '/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/tar get/bin/flexUnitDescriptor.xml'
[flexunit]
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit]
[flexunit] Client connected.
[flexunit] Setting inbound buffer size to [262144] bytes.
[flexunit] Receiving data ...
[flexunit] Sending acknowledgement to player to start sending test data ...
[flexunit]
[flexunit] 9/29/2011 23:42:11.580 [INFO] FlexUnit4 Running 3 Tests
[flexunit] <testcase classname="org.flexunit.demo::SampleTest" name="testSampleIgnore" time="0" status="ignore"><skipped /></testcase>
[flexunit] 9/29/2011 23:42:11.618 [INFO] FlexUnit4 org.flexunit.demo::SampleTest.testSampleIgnore I
[flexunit] 9/29/2011 23:42:11.621 [INFO] FlexUnit4 org.flexunit.demo::SampleTest.testSampleFailure .
[flexunit] <testcase classname="org.flexunit.demo::SampleTest" name="testSampleFailure" time="70" status="failure"><failure message="FAIL! - This is a sample test that will fail." type="org.flexunit.demo::SampleTest.testSampleFailure" ><![CDATA[FAIL! - This is a sample test that will fail.
[flexunit] at org.flexunit::Assert$/fail()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspa ce\FlexUnit4\src\org\flexunit\Assert.as:294]
[flexunit] at org.flexunit.demo::SampleTest/testSampleFailure()[/home/jodi/ccm_wa/M E_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/src/test/flex/org/flexun it/demo/SampleTest.as:8]
[flexunit] at Function/http://adobe.com/AS3/2006/builtin::apply()
[flexunit] at flex.lang.reflect::Method/apply()[E:\hudson\jobs\FlexUnit4-Flex4.1\wo rkspace\FlexUnit4\src\flex\lang\reflect\Method.as:244]
[flexunit] at org.flexunit.runners.model::FrameworkMethod/invokeExplosively()[E:\hu dson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\runne rs\model\FrameworkMethod.as:201]
[flexunit] at org.flexunit.internals.runners.statements::InvokeMethod/evaluate()[E: \hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\in ternals\runners\statements\InvokeMethod.as:72]
[flexunit] at org.flexunit.internals.runners.statements::StackAndFrameManagement/ha ndleTimerComplete()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUni t4\src\org\flexunit\internals\runners\statements\StackAndFrameManageme nt.as:138]
[flexunit] at flash.events::EventDispatcher/dispatchEventFunction()
[flexunit] at flash.events::EventDispatcher/dispatchEvent()
[flexunit] at flash.utils::Timer/tick()]]></failure></testcase>
[flexunit] 9/29/2011 23:42:11.763 [WARN] FlexUnit4 org.flexunit.demo::SampleTest.testSampleFailure F
[flexunit] 9/29/2011 23:42:11.775 [INFO] FlexUnit4 org.flexunit.demo::SampleTest.testSampleError .
[flexunit] FlexUnit test testSampleIgnore in suite org.flexunit.demo.SampleTest was ignored.
[flexunit] <testcase classname="org.flexunit.demo::SampleTest" name="testSampleError" time="108" status="error"><error message="ERROR! - This is an error" type="org.flexunit.demo::SampleTest.testSampleError" ><![CDATA[Error: ERROR! - This is an error
[flexunit] at org.flexunit.demo::SampleTest/testSampleError()[/home/jodi/ccm_wa/ME_ ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/src/test/flex/org/flexunit /demo/SampleTest.as:13]
[flexunit] at Function/http://adobe.com/AS3/2006/builtin::apply()
[flexunit] at flex.lang.reflect::Method/apply()[E:\hudson\jobs\FlexUnit4-Flex4.1\wo rkspace\FlexUnit4\src\flex\lang\reflect\Method.as:244]
[flexunit] at org.flexunit.runners.model::FrameworkMethod/invokeExplosively()[E:\hu dson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\runne rs\model\FrameworkMethod.as:201]
[flexunit] at org.flexunit.internals.runners.statements::InvokeMethod/evaluate()[E: \hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUnit4\src\org\flexunit\in ternals\runners\statements\InvokeMethod.as:72]
[flexunit] at org.flexunit.internals.runners.statements::StackAndFrameManagement/ha ndleTimerComplete()[E:\hudson\jobs\FlexUnit4-Flex4.1\workspace\FlexUni t4\src\org\flexunit\internals\runners\statements\StackAndFrameManageme nt.as:138]
[flexunit] at flash.events::EventDispatcher/dispatchEventFunction()
[flexunit] at flash.events::EventDispatcher/dispatchEvent()
[flexunit] at flash.utils::Timer/tick()]]></error></testcase>
[flexunit] 9/29/2011 23:42:11.885 [ERROR] FlexUnit4 org.flexunit.demo::SampleTest.testSampleError E
[flexunit] <endOfTestRun/>
[flexunit] 9/29/2011 23:42:12.044 [INFO] FlexUnit4 Time: .314
[flexunit] 9/29/2011 23:42:12.045 [WARN] FlexUnit4 There were 2 failures:
[flexunit] 9/29/2011 23:42:12.046 [WARN] FlexUnit4 FAILURES!!! Tests run: 2, 2 Failures:
[flexunit] FlexUnit test testSampleFailure in suite org.flexunit.demo.SampleTest failed.
[flexunit] FlexUnit test testSampleError in suite org.flexunit.demo.SampleTest had errors.
[flexunit]
[flexunit] Stopping server ...
[flexunit] End of test data reached, sending acknowledgement to player ...
[flexunit] Closing client connection ...
[flexunit] Closing server on port [1024] ...
q [flexunit] Analyzing reports ...
[flexunit]
[flexunit] Suite: org.flexunit.demo.SampleTest
[flexunit] Tests run: 3, Failures: 1, Errors: 1, Skipped: 1, Time elapsed: 0.178 sec
[flexunit]
[flexunit] Results :
[flexunit]
[flexunit] Tests run: 3, Failures: 1, Errors: 1, Skipped: 1, Time elapsed: 0.178 sec
[flexunit]
BUILD FAILED
/home/jodi/ccm_wa/ME_ECS/BES3_devel~jodi1/BES3_devel/ui/unittest/build .air.xml:81: FlexUnit tests failed during the test run.
Total time: 3 minutes 11 seconds