Is just a comment I add to template to justify why I'm not using velocity! To only thing I have in mind is your tests are not tests. So they are not run and then you get no results. (I'm guessing)
Try to run this sample project: http://svn.sonatype.org/flexmojos/trunk/rvin-mojo/test-harness/projects/concept/flexunit-example/ If not work, run this sample with mvn -X and attach the output (by attach I mean _don't_ paste into message content) VELO On Fri, Nov 28, 2008 at 8:38 AM, Piet van Remortel < [EMAIL PROTECTED]> wrote: > > Logan, > > Thanks for your suggestions - still not working - some replies inline: > > > > > On Nov 27, 8:44 am, pvremort <[EMAIL PROTECTED]> wrote: > >> 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 ? > > No, that's a debug message I accidentally left in so it's not > > formatted well. It's just saying there you didn't override the default > > command for launching your tests. > > > >> [INFO] flexunit setup args: null > >> runtests: [open, -g] > >> exec: [open, -g, /Users/xxxxxxx/production/workspaces/flex/ > >> flexlib_base_dm/target/test-classes/TestRunner.swf] > > > > This is the command that is getting run. The TestRunner.swf should > > launch in the same app as if it were double-clicked (on my Mac, that's > > the standalone Flash Player). If you double-click /Users/xxxxxxx/ > > production/workspaces/flex/flexlib_base_dm/target/test-classes/ > > TestRunner.swf, does it launch and run correctly? Do you have another > > Nope. Other swf's run just finet, but the Testrunner swf doesn't. > > > > > application set up to handle the launching of .swfs (Flash > > Professional maybe)? Do one of your tests require some setup that > > isn't happening correctly? If you have flash debug enabled on your > > Nope, the tests are plain simple String checks. > > > > > machine with the mm.cfg, you can look at the output and see if there > > is some error happening. > > > http://blog.flexexamples.com/2007/08/26/debugging-flex-applications-with-mmcfg-and-flashlogtxt/ > > For some reason I have never gotten the trace system up and running, > and still don't. Just re-installed, wrote mm.cfg, etc. No success. > > In attach the generated code for TestRunner.swf : what is the > Velocity error on top ? Is some templating failing ? Maven times > out on waiting for the test results, which is normal behaviour since > the testrunner fails. > > In the mean time I'll retry getting the logging working. Unbelievalbe > that getting this to work causes so much frastration :-) > > Thanks > > Piet > > > > > ------ > > <?xml version="1.0" encoding="utf-8"?> > <!--can't use velocity, got: > java.io.InvalidClassException: > org.apache.velocity.runtime.parser.node.ASTprocess; class invalid for > deserialization--> > <unitestingsupport:TestApplication > xmlns:mx="http://www.adobe.com/2006/mxml" > xmlns:unitestingsupport="info.flexmojos.unitestingsupport.*" > layout="absolute" > initialize="init()" > port="13539" > > > > <mx:Script> > <![CDATA[ > > import be.powerscan.earth.business.impl.test.TestEarthLabels; > import be.powerscan.person.domainobject.impl.test.TestPersonLabels; > > > private function init():void { > addTest( TestEarthLabels); > addTest( TestPersonLabels); > > } > ]]> > </mx:Script> > > </unitestingsupport:TestApplication> > > > > > > > > > > > Logan > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
