Are you using flex-mojos 2.0M10?

I think there is on template to flexcover.  Logan, can you confirm that?


VELO

On Tue, Dec 23, 2008 at 8:29 PM, Kevin Fitzpatrick <
[email protected]> wrote:

>
> Well, it looks like I got that worked out, but sadly, I'm still having
> issues :( I ran mvn clean flexcover-mojo:instrument and got the error:
>
> [ERROR] /Users/kfitzpatrick/Documents/workspace_3.3/OpenPyro/target/
> flexcover-classes/TestRunner.mxml:[33,-1] Call to a possibly undefined
> method addTest.
>
> I'm not sure why it's creating an addTest() method call on a
> Application mxml.
>
> You can see the generated TestRunner.xml @ http://gist.github.com/39486
>
> You can check out my pom here: http://gist.github.com/39485.
>
> Thanks!
> - Kevin
>
> On Dec 22, 9:33 am, xagnetti <[email protected]> wrote:
> > Hi Kevin,
> >
> > JUnitTestRunner is in deed defined in  flexunit-optional.swc.
> >
> > Adding the dependency to your pom should do the trick.
> >
> > Best regards,
> >
> > On Dec 19, 10:21 pm, Kevin Fitzpatrick
> >
> > <[email protected]> wrote:
> > > Logan,
> >
> > > Just continuing our conversation from the blog post athttp://
> blog.flex-mojos.info/2008/10/21/flexcover-status/
> >
> > > The errors I'm getting all seem to be related to the test runner.
> >
> > > [ERROR] [...]/target/flexcover-classes/TestRunner.mxml:[16,-1] Type
> > > was not found or was not a compile-time constant: JUnitTestRunner.
> > > [ERROR] [...]/target/flexcover-classes/TestRunner.mxml:[20,-1] Call to
>
> > > a possibly undefined method JUnitTestRunner.
> > > [ERROR] [...]/target/flexcover-classes/TestRunner.mxml:[33,-1] Call to
>
> > > a possibly undefined method addTest.
> >
> > > My maven-foo is still pretty weak but it looks like I'm missing a swc
> > > dependency containing the JUnitTestRunner classes.  Is this the
> > > "flexunit-optional" swc.
> >
> > > Also, I am using  the testing-support artifact as described in this
> > > post:http://blog.flex-mojos.info/2008/11/20/flex-mojos-20m9/
> >
> > > I've attached my pom file for anyone who cares to take a look.
> >
> > > Thanks,
> > > Kevin
> >
> > >  pom.xml.zip
> > > 1KViewDownload
> >
> > > -------------------------
> > > Kevin Fitzpatrick
> >
> > > [email protected]http://www.kevin-fitzpatrick.net/blog
> > > Twitter: @kfitzpatrick
> >
>

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

Reply via email to