Searched refs:mOpenHelper (Results 1 – 3 of 3) sorted by relevance
48 private MockOpenHelper mOpenHelper; field in SQLiteOpenHelperTest55 mOpenHelper = getOpenHelper(); in setUp()60 mOpenHelper.close(); in tearDown()81 assertFalse(mOpenHelper.hasCalledOnOpen()); in testGetDatabase()83 database = mOpenHelper.getReadableDatabase(); in testGetDatabase()86 assertTrue(mOpenHelper.hasCalledOnOpen()); in testGetDatabase()89 mOpenHelper.resetStatus(); in testGetDatabase()90 assertFalse(mOpenHelper.hasCalledOnOpen()); in testGetDatabase()92 SQLiteDatabase database2 = mOpenHelper.getWritableDatabase(); in testGetDatabase()95 assertFalse(mOpenHelper.hasCalledOnOpen()); in testGetDatabase()[all …]
88 private SQLiteOpenHelper mOpenHelper; field in TestResultsProvider100 mOpenHelper = new TestResultsOpenHelper(getContext()); in onCreate()160 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()166 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()203 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()214 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
76 private SQLiteOpenHelper mOpenHelper; field in MockContentProvider133 mOpenHelper = new DatabaseHelper(getContext(), mDbName); in onCreate()140 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()243 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()314 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()325 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()