Hi (again) !

Situation:  trying to have a lib compiled and tests run.

Trying to have some flexunit tests run, using the system in v2.0M9
described here :

http://blog.flex-mojos.info/2008/11/09/advanced-unit-testing-support-flexunit-funit-and-asunit/

All works well (I think), tests and code are compiled, project target
dir gets a 'TestRunner.swf' compiled, the source code of which
includes my tests (wee!), and then there is a call to an 'open'
statement that tries to open de SWF with a system call.

I am on a Mac, Flash player 10 debug version.  The result of the
system call is that Flash player opens, doens't show any application/
window (I expected the TestRunner maybe?) and everything comes to a
stop.   What should happen at this point ?  Is it a call to a headless
Flash player catching the results of the testrunner ?  I notice that
the parameters to flexunit are null ("[INFO] flexunit setup args:
null" - see below), maybe that is the problem ?

In attach: trace of 'mvn clean install -e'

What should I expect/fix ?

Thanks !

Piet


---



...
INFO] testing-support-2.0M9.swc already exists in destination.
[INFO] fluint-v1.swc already exists in destination.
[INFO] funit-0.50.0245.swc already exists in destination.
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
created
[INFO] [flex-compiler-mojo:test-compile]
[INFO] Flex-mojos 2.0M9 - GNU GPL License (NO WARRANTY) - See
COPYRIGHT file
[INFO] Using configuration file /Users/pvremort/production/workspaces/
flex/flexlib_base_dm/target/classes/config.xml
[INFO] Already trust on /Users/pvremort/production/workspaces/flex/
flexlib_base_dm/target/test-classes/TestRunner.swf
[INFO] [flex-compiler-mojo:test-run]
[INFO] Flex-mojos 2.0M9 - GNU GPL License (NO WARRANTY) - See
COPYRIGHT file
[INFO] flexunit setup args: null
runtests: [open, -g]
exec: [open, -g, /Users/xxxxxxx/production/workspaces/flex/
flexlib_base_dm/target/test-classes/TestRunner.swf]

--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to