Hello, I am trying to test my Content Provider. I obviously want to test against a mockup db and ProviderTestCase2 seems to do the trick. When tested, the case creates a new db names test.<myDb>. The schema is all good and the description of the ProviderTestCase2 is what I am looking for. However, I am a bit confused to what extent I can use the ProviderTestCase2. No methods can be called against the MockupContentResolver/MockupContext. For instance if I want to test the insert method, I get: 07-31 23:31:00.482: INFO/TestRunner(1689): java.lang.UnsupportedOperationException
This is described by the MockupContentResolver. As such, what is the point of the provider and its mock file system? Thanks, C --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

