I just checked 3.3.0... flexunit seems to work fine. @Laura take a look on this sample http://svn.sonatype.org/flexmojos/tags/flexmojos-3.3.0/flexmojos-testing/flexmojos-test-harness/projects/concept/flexunit-example/
VELO On Tue, Oct 13, 2009 at 8:17 AM, Marvin Froeder <[email protected]> wrote: > Nop. 3.4.0 only.... > I will check what is going on on 3.3.0. > > > On Tue, Oct 13, 2009 at 4:18 AM, Skampler <[email protected]> wrote: > >> >> That's right, FlexUnit4. Isn't this supported in version 3.3.0? >> >> On 13 oct, 00:51, Marvin Froeder <[email protected]> wrote: >> > But you was trying to run flexunit4 tests, right? >> > >> > >> > >> > On Mon, Oct 12, 2009 at 4:58 PM, Skampler <[email protected]> wrote: >> > >> > > Same here. The problem still persists after switching to flexmojos >> > > 3.3.0. >> > >> > > On 12 oct, 21:14, Laura Arguello <[email protected]> wrote: >> > > > Sorry, I don't know why I thought you meant an earlier Flex SDK >> > > > version. >> > > > So I tried 3.3.0 and still getting the same Accept time out error. >> > >> > > > On Oct 9, 8:19 pm, Marvin Froeder <[email protected]> wrote: >> > >> > > > > Why not?! >> > >> > > > > On Sat, Oct 10, 2009 at 12:18 AM, Laura Arguello < >> [email protected]> >> > > wrote: >> > >> > > > > > Yes, 3.4-SNAPSHOT. Unfortunately, I can't use 3.3 :( >> > >> > > > > > On Oct 9, 8:13 pm, Marvin Froeder <[email protected]> wrote: >> > > > > > > That using flexmojos 3.4-SNAPSHOT, right? I suggest to stay >> at >> > > 3.3, >> > > > > > there >> > > > > > > are a few bugs on unit testing support, I got bug on the >> sample >> > > projects, >> > > > > > > but I'm doing a major refactory on core at moment... I'm >> trying to >> > > get >> > > > > > rid >> > > > > > > on some problems I have it current flex compiler API. >> > >> > > > > > > VELO >> > >> > > > > > > On Fri, Oct 9, 2009 at 9:52 PM, Laura Arguello < >> [email protected]> >> > > wrote: >> > >> > > > > > > > Hi, >> > > > > > > > I am getting the exact same problem. I believe I am not >> using the >> > > > > > > > latest version of Flex Unit. >> > >> > > > > > > > Thanks >> > >> > > > > > > > On Oct 6, 1:44 am, Skampler <[email protected]> wrote: >> > > > > > > > > I have uploaded a sample to MU (I didn't know where to put >> > > this): >> > > > > > > >http://www.megaupload.com/?d=4X58WJZF >> > >> > > > > > > > > The project only has a suite and a dummy test. >> > >> > > > > > > > > On 5 oct, 16:40, Marvin Froeder <[email protected]> >> wrote: >> > >> > > > > > > > > > No, should not.... do you have a sample of this problem? >> So >> > > I can >> > > > > > > > debug and >> > > > > > > > > > figureoutwhat is going on? >> > >> > > > > > > > > > On Mon, Oct 5, 2009 at 11:14 AM, Skampler < >> > > [email protected]> >> > > > > > wrote: >> > >> > > > > > > > > > > Hi, >> > >> > > > > > > > > > > I'm getting this error when I try to run a FlexUnit4 >> test >> > > suite >> > > > > > with >> > > > > > > > > > > only one easy test: >> > >> > > 'org.sonatype.flexmojos.test.TestRunnerException:Accepttimedout' >> > >> > > > > > > > > > > The flash player window opens and the suite is >> executed >> > > > > > > > > > > successfully, but, after completion, it remains in >> this >> > > loop: >> > >> > > > > > > > > > > [DEBUG] [MOJO] resultHandler STARTED >> > > > > > > > > > > [DEBUG] [MOJO] launcher RUNNING >> > > > > > > > > > > ... >> > >> > > > > > > > > > > Until it does a timeout. >> > >> > > > > > > > > > > My pom looks like this: >> > >> > > > > > > > > > > <plugin> >> > >> > > <groupId>org.sonatype.flexmojos</groupId> >> > >> > > > > > > > <artifactId>flexmojos-maven-plugin</artifactId> >> > > > > > > > > > > <version>3.4-SNAPSHOT</version> >> > > > > > > > > > > <extensions>true</extensions> >> > > > > > > > > > > <configuration> >> > > > > > > > > > > <sourcePaths> >> > >> > > > > > > > > > > >> <sourcePath>${project.build.sourceDirectory}</sourcePath> >> > > > > > > > > > > </sourcePaths> >> > >> > > > > > > > <sourceFile>FUTest.mxml</sourceFile> >> > >> > > > > > <targetPlayer>10.0.0</targetPlayer> >> > >> > > > > > > > > > > <testRunnerTemplate>${project.build.sourceDirectory}/ >> > > > > > > > > > > TestRunnerApplication.mxml</testRunnerTemplate> >> > > > > > > > > > > <testRunner> >> > >> > > > > > > > <testTimeout>20000</testTimeout> >> > > > > > > > > > > >> <launcher> >> > >> > > <flashplayerCommand>${flashPlayer.command}</flashplayerCommand> >> > > > > > > > > > > >> </launcher> >> > > > > > > > > > > </testRunner> >> > > > > > > > > > > </configuration> >> > > > > > > > > > > <executions> >> > > > > > > > > > > <execution> >> > > > > > > > > > > <goals> >> > >> > > <goal>compile-swf</goal> >> > > > > > > > > > > </goals> >> > > > > > > > > > > <configuration> >> > > > > > > > > > > <services> >> > >> > > > > > > > > > > ${project.build.directory}/dependency/services- >> > > > > > > > > > > config.xml >> > > > > > > > > > > </services> >> > > > > > > > > > > <contextRoot> >> > >> > > > > > > > > > > ${project.parent.artifactId}-web-$ >> > > > > > > > > > > {project.version} >> > > > > > > > > > > </contextRoot> >> > > > > > > > > > > </configuration> >> > > > > > > > > > > </execution> >> > > > > > > > > > > </executions> >> > > > > > > > > > > <dependencies> >> > > > > > > > > > > <dependency> >> > >> > > > > > > > <groupId>com.adobe.flex</groupId> >> > >> > > > > > > > <artifactId>compiler</artifactId> >> > >> > > > > > > > <version>4.0.0.10193</version> >> > > > > > > > > > > >> <type>pom</type> >> > > > > > > > > > > </dependency> >> > > > > > > > > > > </dependencies> >> > > > > > > > > > > </plugin> >> > >> > > > > > > > > > > And this is the stack trace: >> > >> > > org.sonatype.flexmojos.test.TestRunnerException:AccepttimedoutG: >> > > > > > > > > > > >> \FUTest\frontendview\frontendview-flex\target\test-classes >> > > > > > > > > > > \TestRunner.swf >> > > > > > > > > > > at >> org.sonatype.flexmojos.test.DefaultTestRunner.run >> > > > > > > > > > > (DefaultTestRunner.java:65) >> > > > > > > > > > > at >> > > > > > > > >> org.sonatype.flexmojos.test.FlexUnitMojo.run(FlexUnitMojo.java: >> > > > > > > > > > > 262) >> > > > > > > > > > > at >> > >> > > > > > >> org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java: >> > > > > > > > > > > 156) >> > > > > > > > > > > at >> > > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo >> > > > > > > > > > > (DefaultPluginManager.java:579) >> > > > > > > > > > > at >> > >> > > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFai >> > > > > > > > lures >> > > > > > > > > > > (DefaultLifecycleExecutor.java:498) >> > > > > > > > > > > at >> > >> > > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForPr >> > > > > > > > oject >> > > > > > > > > > > (DefaultLifecycleExecutor.java:265) >> > > > > > > > > > > at >> > >> > > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments >> > > > > > > > > > > (DefaultLifecycleExecutor.java:191) >> > > > > > > > > > > at >> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute >> > > > > > > > > > > (DefaultLifecycleExecutor.java:149) >> > > > > > > > > > > at >> org.apache.maven.DefaultMaven.execute_aroundBody0 >> > > > > > > > > > > (DefaultMaven.java:223) >> > > > > > > > > > > at >> > > > > > org.apache.maven.DefaultMaven.execute_aroundBody1$advice >> > > > > > > > > > > (DefaultMaven.java:304) >> > > > > > > > > > > at >> > > > > > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1) >> > > > > > > > > > > at >> > > > > > org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2 >> > > > > > > > > > > (MavenEmbedder.java:904) >> > > > > > > > > > > at >> > >> > > > > > >> org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice >> > > > > > > > > > > (MavenEmbedder.java:304) >> > > > > > > > > > > at >> > >> > > > > > >> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java: >> > > > > > > > > > > 1) >> > > > > > > > > > > at >> > > org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176) >> > > > > > > > > > > at >> > > org.apache.maven.cli.MavenCli.main(MavenCli.java:63) >> > > > > > > > > > > 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.plexus.classworlds.launcher.Launcher.launchEnhanced >> > > > > > > > > > > (Launcher.java:289) >> > > > > > > > > > > at >> > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.launch >> > > > > > > > > > > (Launcher.java:229) >> > > > > > > > > > > at >> > >> > > > > > >> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode >> > > > > > > > > > > (Launcher.java:408) >> > > > > > > > > > > at >> > > org.codehaus.plexus.classworlds.launcher.Launcher.main >> > > > > > > > > > > (Launcher.java:351) >> > > > > > > > > > > at >> > > > > > org.codehaus.classworlds.Launcher.main(Launcher.java:31) >> > > > > > > > > > > Caused by: >> java.net.SocketTimeoutException:Accepttimedout >> > > > > > > > > > > at java.net.PlainSocketImpl.socketAccept(Native >> > > Method) >> > > > > > > > > > > at >> > > > > > java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390) >> > > > > > > > > > > at >> > > java.net.ServerSocket.implAccept(ServerSocket.java:453) >> > > > > > > > > > > at >> > > java.net.ServerSocket.accept(ServerSocket.java:421) >> > > > > > > > > > > at >> > >> > > >> org.sonatype.flexmojos.test.monitor.AbstractSocketThread.openClientSocket >> > > > > > > > > > > (AbstractSocketThread.java:104) >> > > > > > > > > > > at >> > > > > > > > org.sonatype.flexmojos.test.monitor.AbstractSocketThread.run >> > > > > > > > > > > (AbstractSocketThread.java:42) >> > > > > > > > > > > at java.lang.Thread.run(Thread.java:619) >> > >> > > > > > > > > > > Error... >> > >> > leer más » >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
