Thanks much!

Easy answer, easy fix.

JohnG

On Oct 22, 8:21 am, Marvin Froeder <[email protected]> wrote:
> Fix your scope. System is not (and won't be) supported.
>
> VELO
>
> On Fri, Oct 22, 2010 at 12:09 PM, JohnG <[email protected]> wrote:
> > Everyone,
>
> > I'm trying to run flexunit test utulizing mockito. The test run fine
> > in IntelliJ but when I run them with Maven I get the following two
> > errors:
>
> > [ERROR] ShippingInfoControllerTester.as:[25,51] The definition of base
> > class MockitoTestCase was not found.public class
> > ShippingInfoControllerTester extends MockitoTestCase {
>
> > [ERROR] ShippingInfoControllerTester.as:[38,28] Method marked override
> > must override another method.  override public function setUp():void {
>
> > Again, fine in intelliJ.
>
> > Here are the relevant dependencies I have.
>
> >    <dependency>
> >      <groupId>flex.flexunit</groupId>
> >      <artifactId>mockito</artifactId>
> >      <version>1.0</version>
> >      <type>swc</type>
> >      <scope>system</scope>
> >      <!-- this is the 1.4M4 swc -->
> >      <systemPath>/Users/jgriffin/Downloads/mockito.swc</systemPath>
> >    </dependency>
>
> >      <dependency>
> >        <groupId>com.adobe.flexunit</groupId>
> >        <artifactId>flexunit</artifactId>
> >        <version>4.0-beta-2</version>
> >        <type>swc</type>
> >        <scope>test</scope>
> >      </dependency>
>
> >      <dependency>
> >        <groupId>com.adobe.flexunit</groupId>
> >        <artifactId>FlexUnit4</artifactId>
> >        <type>swc</type>
> >        <scope>test</scope>
> >        <version>4.0-beta1</version>
> >      </dependency>
>
> > I don't know if other dependencies are required. Could this be a
> > FlexMojos problem or am I mising dependencies?
>
> > Any help is appreciated. Thanks in advance.
>
> > JohnG
>
> > --
> > 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%[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