They are, but you are no longer able to keep old and new.... flexmojos will load only one runner and the test runner from framework A isn't capable of running tests from framework B. Like what happen on java/surefire.... it does run junit, junit 4, testng.... but if you try to mix those guys anything can happen.... =D
VELO On Thu, Oct 1, 2009 at 3:31 PM, Jacob <[email protected]> wrote: > > I was able to fix the problem by removing the old unit tests and > replacing them with Flex Unit 4 tests. I thought it would be backward > compatible, but apparently not. > > Thanks Velo, > j > > On Sep 30, 5:39 pm, Marvin Froeder <[email protected]> wrote: > > Looks like the SWF was openned, no test was executed then FP quit..... > > No idea why that happen, but that is what appear to happen. > > > > VELO > > > > On Wed, Sep 30, 2009 at 9:26 PM, Jacob <[email protected]> wrote: > > > > > Hi, > > > > > I'm trying to upgrade to FlexUnit4 and am having some problems. > > > I'm first upgraded to FlexMojos 3.4-SNAPSHOT updated my poms to use > > > the correct dependencies. It looks like the tests successfully > > > complete and then exits the flashPlayer, but I the error below. Any > > > idea what the problem might be? > > > > > thanks, > > > j > > > > > [DEBUG] [SYSERR]: Exiting > > > [DEBUG] [LAUNCHER] Flashplayer closed > > > [DEBUG] [LAUNCHER] Flashplayer exit as expected > > > [DEBUG] [MOJO] launcher DONE > > > [DEBUG] [MOJO] pinger DONE > > > [DEBUG] [MOJO] resultHandler STARTED > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0 sec > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [ERROR] BUILD ERROR > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Invalid state: the flashplayer is closed, but the sockets still > > > running... > > > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [DEBUG] Trace > > > org.apache.maven.lifecycle.LifecycleExecutionException: Invalid state: > > > the flashplayer is closed, but the sockets still running... > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > > > (DefaultLifecycleExecutor.java:583) > > > at > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle > > > (DefaultLifecycleExecutor.java:499) > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal > > > (DefaultLifecycleExecutor.java:478) > > > at > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures > > > (DefaultLifecycleExecutor.java:330) > > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments > > > (DefaultLifecycleExecutor.java:291) > > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > > > (DefaultLifecycleExecutor.java:142) > > > at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke > > > (NativeMethodAccessorImpl.java:39) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > > (DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: > > > 315) > > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > > > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: > > > 430) > > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > > Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid > > > state: the flashplayer is closed, but the sockets still running... > > > at org.sonatype.flexmojos.test.FlexUnitMojo.tearDown > > > (FlexUnitMojo.java:298) > > > at > > > org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java: > > > 157) > > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo > > > (DefaultPluginManager.java:451) > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > > > (DefaultLifecycleExecutor.java:558) > > > ... 16 more > > > Caused by: org.sonatype.flexmojos.test.TestRunnerException: Invalid > > > state: the flashplayer is closed, but the sockets still running... > > > at org.sonatype.flexmojos.test.DefaultTestRunner.run > > > (DefaultTestRunner.java:81) > > > at > org.sonatype.flexmojos.test.FlexUnitMojo.run(FlexUnitMojo.java: > > > 262) > > > at > > > org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java: > > > 156) > > > ... 18 more > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Total time: 1 minute 47 seconds > > > [INFO] Finished at: Wed Sep 30 17:20:44 PDT 2009 > > > [INFO] Final Memory: 63M/294M > > > [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?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
