tests: add ProviderHelperSaveTest, with long key id collision test

This commit is contained in:
Vincent Breitmoser
2014-08-14 17:10:08 +02:00
parent 110f8c4d52
commit 9c03889390
5 changed files with 121 additions and 0 deletions

View File

@@ -349,4 +349,9 @@ public class KeychainDatabase extends SQLiteOpenHelper {
copy(in, out);
}
// for test cases ONLY!!
public void clearDatabase() {
getWritableDatabase().execSQL("delete from " + Tables.KEY_RINGS_PUBLIC);
}
}