Launching TestRunner.swf manually won't work.... it does need to connect into a socket launched by maven. Well, don't know what is going on there:
> Embedded error: CreateProcess: FlashPlayer.exe > C:\T2MDev\T2MWorkspace\t2mFlexLib\target\test-classes\TestRunner.swf error=2 Some error happen when flexmojos try to launch flashplayer..... Run mvn with -X and check if anything useful is printed on command line. VELO On Thu, Jun 25, 2009 at 1:36 PM, Van Anh Nguyen < [email protected]> wrote: > Yeah, sorry, I was falling asleep on my desk so I didn't know what I was > saying... yes, I did launch flashplayer.exe in the cmd line prompt... I ran > TestRunner.swf with it but i got error #2044 > > > Error #2044: Unhandled IOErrorEvent:. text=Error #2031: Socket Error. > at > org.sonatype.flexmojos.unitestingsupport::ControlSocket/connect()[/home/hudson/workspace/flex-mojos/jdk/1.5/label/ubuntu/trunk/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/ControlSocket.as:37] > at > org.sonatype.flexmojos.unitestingsupport::TestApplication/runTests()[/home/hudson/workspace/flex-mojos/jdk/1.5/label/ubuntu/trunk/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/TestApplication.as:39] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298] > at mx.core::UIComponent/set > initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169] > at > mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718] > at Function/http://adobe.com/AS3/2006/builtin::apply() > at > mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628] > at > mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568] > > > > I tried running other projects with it, it worked fine... I'm very new to > this as this is the first time I do anything with flex or flexUnit... > > Thanks for the help... I think I'm in the wrong blog of discussion. > Vân Anh > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
