Huh, that's strange. This class is in the main project being tested
(not a library class). I have the test project referencing the main
project. Is that what you meant?
I also get a bunch of warning in the console when compiling (I think
these came after I added android mock): warning: Ignoring InnerClasses
attribute for an anonymous inner class that doesn't come with an
associated EnclosingMethod attribute. (This class was probably
produced by a broken compiler.)
Thanks for the prompt response
Mike
On Nov 12, 5:37 pm, Stephen Woodward <
sd.woodwar...@googlemail.com>
wrote:
> Hi Mike,
>
> I'm not at a computer at the moment but I believe that you hit an android
> test apk gotcha.
>
> Referenced libraries in your main apk are not visible to your test apk. Add
> the jar file containing com.womobo.mokka.providers.RegProvider to the test
> apk's referenced libraries and try again.
>
> Let me know how it goes and if no luck I'll have a look later when I'm near
> a computer.
>
> Thanks,
>
> Steve
> android.test.suitebuilder.annotation.HasMethodAnnotation.apply(HasMethodAnn otation.java:> 30)
> > at com.android.internal.util.Predicates
> > $OrPredicate.apply(Predicates.java:106)
> > at
>
> android.test.suitebuilder.annotation.HasAnnotation.apply(HasAnnotation.java :> 42)
> > at
>
> android.test.suitebuilder.annotation.HasAnnotation.apply(HasAnnotation.java :> 31)
> > at com.android.internal.util.Predicates
> > $NotPredicate.apply(Predicates.java:122)
> > at
>
> android.test.suitebuilder.TestSuiteBuilder.satisfiesAllPredicates(TestSuite Builder.java:> 254)