Android sample code: There are ProviderTestCase2, AndroidTestCase, InstrumentationTestCase to do database junit test case
doremichen/androidjunittest_database
Android sample code: There are ProviderTestCase2, AndroidTestCase, InstrumentationTestCase to do database junit test case
Java