I'm getting a different error: "Bound mismatch: The type [our app
class name which extends FragmentActivity] is not a valid substitute
for the bounded parameter <T extends Activity> of the type
ActivityInstrumentationTestCase2<T>". It doesn't look like the test
classes have been updated to work with anything other than Activity,
although this seems counter intuitive for generics. Has anyone figured
out how to get test automation to work with the new FragmentActivity
class?

On Mar 10, 12:37 pm, Jean-Francois <[email protected]>
wrote:
> Hi,
>
> I just started experimenting with the new fragment static API.
> Whenever I try to useActivityInstrumentationTestCase2with a
> FragmentActivity I get a "RuntimeException: Exception during
> construction error". Is it supposed to work?
>
> Cheers,
> Jean-Francois

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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/android-developers?hl=en

Reply via email to