I have a ContentProvider that is using sqlitegen to provide sqlite DB access and am attempting to use JUnit to test it. com.antlersoft.android.db_0.1.6.jar provides runtime support for the generated DB classes and lives in the Content Provider's lib directory. The Content Provider loads and runs when started by itself.
I am trying to use the classes generated for the ContentProvider in the JUnit test project. If I don't add the antlersoft jar as an external library, the JUnit project doesn't build. If I include it in the JUnit projects's libs dir as an external library, it builds, but then when I run the JUnit test, I get the IllegalAccessError when the CP tries to open the database for writing. I've also tried referencing the antlersoft jar that lives in the CP's libs directory instead of the JUnit project's libs directory without any better results. Can anybody help me with a workaround for this problem? -- 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

