Android sample code: There are ProviderTestCase2, AndroidTestCase, InstrumentationTestCase to do database junit test case.
androidjunittest_database is hosted in the following web site
https://github.com/doremichen/androidjunittest_database
If you think the Android project androidjunittest_database listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of androidjunittest_database.
Item | Value |
---|---|
Java File Count | 4 |
Target SDK Version | 16 |
Minimum SDK Version | 8 |
Activity Count | 1 |
Fragment Count | 1 |
jar files used | android-support-v4.jar |
androidjunittest_database has the following Java source files.
com.adam.app.mydatabase.MainActivity.java com.adam.app.mydatabase.MyDBProvider.java com.adam.app.mydatabase.MyDatabaseHelper.java com.adam.app.mydatabase.MyTable.java