I celebrated my victory to early :-(.
Unfortunately the running of tests within the browser works, but
unfortunately it doesn't close the browser in the end and goes into an
endless connection check loop:

[DEBUG] [RESULT] Recivied data: <testsuite errors="0" failures="0"
name="com.test.TestApp" tests="1" time="0">
  <testcase name="testGreeting" time="0"/>
</testsuite>
[DEBUG] [RESULT] End test suite
[DEBUG] [RESULT] Recivied data: <endOfTestRun/>
[DEBUG] [RESULT] End test run - sending ACK: <endOfTestRunAck/>
[DEBUG] [RESULT] Socket buffer
[DEBUG] [CONTROL] status is: OK
[DEBUG] [MOJO] launcher RUNNING
[DEBUG] [MOJO] pinger RUNNING
[DEBUG] [MOJO] resultHandler DONE
[DEBUG] [MOJO] launcher RUNNING
[DEBUG] [MOJO] pinger RUNNING
[DEBUG] [MOJO] resultHandler DONE
[DEBUG] [CONTROL] query status
[DEBUG] [CONTROL] received status
[DEBUG] [CONTROL] status is: FINISHED
[DEBUG] [CONTROL] FINISHED received, terminating the thread
[DEBUG] [MOJO] launcher RUNNING
[DEBUG] [MOJO] pinger DONE
[DEBUG] [MOJO] resultHandler DONE
[DEBUG] [MOJO] launcher RUNNING
[DEBUG] [MOJO] pinger DONE
[DEBUG] [MOJO] resultHandler DONE
...

Is there a workaround to timeout at this point as well?

- Christoph

On 6 Aug., 14:20, ripcurlx <[email protected]> wrote:
> ups - little typo. I wanted to say, now it works..
>
> On 6 Aug., 14:02, ripcurlx <[email protected]> wrote:
>
>
>
> > Thanks, not it works using the new property $
> > {flex.flashPlayer.command} :-)
>
> > On 6 Aug., 13:39, Marvin Froeder <[email protected]> wrote:
>
> > >http://repository.sonatype.org/content/sites/flexmojos-site/4.0-alpha...
>
> > > On Fri, Aug 6, 2010 at 6:51 AM, ripcurlx 
> > > <[email protected]>wrote:
>
> > > > First I thought I could easily solve it just by pointing
> > > > flasplayerCommand to a browser instance, but I run into other issues
> > > > with flexmojos 4.0-alpha-4:
>
> > > > After removing the path to the FlashPlayer from my bash_profile I
> > > > tried lots of combination, but was not able to launch the unit tests
> > > > anymore:
>
> > > > [DEBUG] [LAUNCHER] exec: Flash Player - /Users/chris/IdeaProjects/
> > > > FlexMojosTest/FlashIntegrationTests/target/test-classes/TestRunner.swf
> > > > ...
> > > > Failed to launch Flash Player.  Probably java was not able to find
> > > > flashplayer.
>
> > > > I tried it with the additional parameter:
> > > > mvn clean install -Dflashplayer.command=/Applications/Adobe\ Flash\
> > > > Player/Flash\ Player.app/Contents/MacOS/Flash\ Player
>
> > > > added it to my pom:
> > > > <testRunner>
> > > > <launcher>
> > > > <flashplayerCommand>${flashplayer.command}</flashplayerCommand>
> > > >  </launcher>
> > > >  </testRunner>
>
> > > > also tried to add it as a property in my pom:
> > > > <properties>
> > > >    <flashplayer.command>/Applications/Adobe\ Flash\ Player/Flash\
> > > > Player.app/Contents/MacOS/Flash\ Player</flashplayer.command>
> > > >  </properties>
> > > > ...
>
> > > > but somehow it never picks up this parameters I'm setting. Did
> > > > something changed for flexmojos 4?
>
> > > > thanks for your support,
>
> > > > Christoph
>
> > > > On 5 Aug., 12:46, ripcurlx <[email protected]> wrote:
> > > > > Hi,
> > > > > running the unit tests in the FlashPlayer works without any problems.
> > > > > Beside the unit tests I have also Flash Integration tests. In the
> > > > > tests I have to be able to login and logout from my test server.
> > > > > Unfortunately that only works if I run the tests within a browser,
> > > > > that sends the cookies.
>
> > > > > Is there a way to run the unit test swf with flexmojos within a
> > > > > browser as well?
>
> > > > > cheers,
>
> > > > > Christoph
>
> > > > --
> > > > 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]<flex-mojos%2bunsubscr...@googlegrou
> > > >  ps.com>
> > > > 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