I believe my tests are valid, because they are only the default archetype's test (TestApp.as). I don't think it's an actual test failure problem, but more of a tooling problem in communication with the native Flash Player. The tests were generated when I generated the project from:

mvn archetype:generate -DarchetypeRepository=http://repository.sonatype.com/content/groups/flexgroup -DarchetypeGroupId=org.sonatype.flexmojos - DarchetypeArtifactId=flexmojos-archetypes-application - DarchetypeVersion=4.0-beta-3

I'm able to run the SWF file manually using the

Jason


PS: The test is:

package mypackage
{

        import flexunit.framework.TestCase;
        import Main;

        public class TestApp extends TestCase
        {

                public function testNothing():void
                {
                        //TODO un implemented
                        trace("Hello test");
                }
        }
}





On Feb 23, 2011, at 4:09 PM, Marvin Froeder wrote:

Do you have valid tests?

Sent from Android


Em 23/02/2011 19:06, "Jason Thrasher" <[email protected]>escreveu:

Hello all,

I'm getting a test failure due to a socket connection. I suspect it's
something I've misconfigured, as I'm new to flex.  The tests are
running, and seem to be passing, but on tear down I get the socket
related error below and the test fails.

Any ideas what I have wrong?

thanks,
Jason

[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos- maven-
plugin:4.0-beta-3:test-run (default-test-run) on project dlswf:
Invalid state: the flashplayer is closed, but the sockets still
running... -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

environment:
OSX 10.5.8
JDK 1.6
mvn 3.0.2
flexmojos-maven-plugin 4.0-beta-3
flexunit: 4.0-rc-1
Flash Player Debugger: 10.2.152.26 (10.2)

--
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

http://flexmojos.sonatype.org/


--
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

http://flexmojos.sonatype.org/

--
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

http://flexmojos.sonatype.org/

Reply via email to