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 …]
82 private SQLiteOpenHelper mOpenHelper; field in TestResultsProvider173 mOpenHelper = new TestResultsOpenHelper(getContext()); in onCreate()218 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()237 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()281 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()306 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()
79 private SQLiteOpenHelper mOpenHelper; field in MockContentProvider136 mOpenHelper = new DatabaseHelper(getContext(), mDbName); in onCreate()143 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete()246 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert()262 final SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()344 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query()355 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update()