Is anyone else having trouble running flex unit tests on linux? I've
followed the docs (https://docs.sonatype.org/display/FLEXMOJOS/Running
+unit+tests)instructions and installed everything and can even open a
flash using xvfb-run on the command line, but I always get 'No such
file or directory' when running through maven, even though the player
has been added to the path.
[WARNING] /hosting/.hudson/jobs/DigitalContent/workspace/dev-branch/
contentlayer/src/com/pearson/testnav/data/AssessmentItem.as:[17,15] No
constructor function was specified for class AssessmentItem. public
class AssessmentItem extends EventDispatcher
[INFO] Written link report to /hosting/.hudson/jobs/DigitalContent/
workspace/dev-branch/contentlayer/target/contentlayer-1.0-SNAPSHOT-
link-report.xml
[INFO] Written config report to /hosting/.hudson/jobs/DigitalContent/
workspace/dev-branch/contentlayer/target/contentlayer-1.0-SNAPSHOT-
config-report.xml
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /hosting/.hudson/jobs/
DigitalContent/workspace/dev-branch/contentlayer/src/test/resources
[INFO] [flexmojos:test-compile {execution: default-test-compile}]
[INFO] Flexmojos 3.6.1
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT
file
[INFO] Compiling test class: [TestRunner,
com.pearson.testnav.rendering.templates.TestMultiColumnTemplate,
com.pearson.testnav.modules.TestChoiceInteraction,
com.pearson.testnav.modules.TestArtModule,
com.pearson.testnav.modules.TestTextModule,
com.pearson.testnav.utils.conversion.TestAnimlToTextFlow]
[INFO] [flexmojos:test-run {execution: default-test-run}]
[INFO] Flexmojos 3.6.1
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT
file
[INFO] Running tests /hosting/.hudson/jobs/DigitalContent/workspace/
dev-branch/contentlayer/target/test-classes/TestRunner.swf
[WARNING] [LAUNCHER] Using xvfb-run to launch headless tests
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to launch Flash Player. Probably java was not able to
find flashplayer.
Make sure flashplayer is available on PATH
or use -DflashPlayer.command=${flashplayer executable}
Read more at: https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests
Embedded error: Failed to launch Flash Player in headless environment.
java.io.IOException: error=2, No such file or directory
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 38 seconds
[INFO] Finished at: Mon May 24 12:10:02 CDT 2010
[INFO] Final Memory: 25M/174M
[INFO]
------------------------------------------------------------------------
--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/