instrument: first couple of tests for OpenPGP API

This commit is contained in:
Vincent Breitmoser
2015-06-26 01:58:51 +02:00
parent 88c86e1945
commit 51d35c7a83
3 changed files with 188 additions and 1 deletions

View File

@@ -430,6 +430,9 @@ public class KeychainDatabase extends SQLiteOpenHelper {
// DANGEROUS, use in test code ONLY!
public void clearDatabase() {
getWritableDatabase().execSQL("delete from " + Tables.KEY_RINGS_PUBLIC);
getWritableDatabase().execSQL("delete from " + Tables.API_ACCOUNTS);
getWritableDatabase().execSQL("delete from " + Tables.API_ALLOWED_KEYS);
getWritableDatabase().execSQL("delete from " + Tables.API_APPS);
}
}