Home
last modified time | relevance | path

Searched refs:mBadDb (Results 1 – 1 of 1) sorted by relevance

/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarDatabaseHelperTest.java36 private SQLiteDatabase mBadDb; field in CalendarDatabaseHelperTest
43 mBadDb = SQLiteDatabase.create(null); in setUp()
44 assertNotNull(mBadDb); in setUp()
323 mBadDb.execSQL("INSERT INTO Events (_id,dtstart,dtend,duration," + in addVersion50Events()
336 mBadDb.execSQL("INSERT INTO Events (_id,dtstart,dtend,duration," + in addVersion50Events()
351 assertEquals(mBadDb.rawQuery("SELECT _id FROM Events;", null).getCount(), 2); in addVersion50Events()
357 mBadDb.execSQL("INSERT INTO Events (_id,dtstart,dtend,duration,dtstart2,dtend2," + in addVersion67Events()
370 mBadDb.execSQL("INSERT INTO Events (_id,dtstart,dtend,duration,dtstart2,dtend2," + in addVersion67Events()
385 assertEquals(mBadDb.rawQuery("SELECT _id FROM Events;", null).getCount(), 2); in addVersion67Events()
392 createVersion67EventsTable(mBadDb); in testUpgradeToVersion69()
[all …]