Well, the unit test framework should be handling the exception... flexmojos does have some try catches, but since there is some async excution it may not catch the exception....
What framework are you using? If you ran it from IDE? Does it throw the the same dialog? If so I believe it is a bug on the unit test framework. VELO On Jan 5, 12:27 pm, leif <[email protected]> wrote: > I have tried to get flexunit testing to work, but I get a problem when > my tests throw an exception which causes Flash Player to display the > "Continue" "Dismiss all" dialog. > I have set the headlessServer flag to true, which I thought would take > care of this... how can I get arround this problem? > I have tried to find an answer on the group, but I found none... sorry > if this has already been answered. > I am running FlexMojos 3.5.0 and > > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <extensions>true</extensions> > <configuration> > <sourceFile>PumaMain.mxml</sourceFile> > <contextRoot>/pensjon-arbeidsflate-web-war</ > contextRoot> > <sourcePaths> > <path>${project.build.sourceDirectory}</path> > <path>${project.build.directory}/classes</ > path> > </sourcePaths> > <resourceBundlePath>${basedir}/src/main/resources/ > </resourceBundlePath> > <locales> > <param>en_US</param> > </locales> > <allowSourcePathOverlap>true</ > allowSourcePathOverlap> > <headlessServer>true</headlessServer> > <verboseStacktraces>true</verboseStacktraces> > </ > excludeTestFiles> > </configuration> > <dependencies> > <dependency> > <groupId>com.adobe.flex</groupId> > <artifactId>compiler</artifactId> > <version>${flex-version}</version> > <type>pom</type> > </dependency> > </dependencies> > </plugin>
-- 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/
