Skip to content

Commit 20a8f57

Browse files
Adjustment to test SQLCipher long running WAL scenario
1 parent 6bd194f commit 20a8f57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlcipher/src/androidTest/java/net/zetetic/database/SeeTest1.java renamed to sqlcipher/src/androidTest/java/net/zetetic/database/SQLCipherWALTestScenario.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MyHelper extends SQLiteOpenHelper {
2626
public static final String DATABASE_NAME = "mydb.db";
2727

2828
public MyHelper(Context ctx){
29-
super(ctx, "file:" + ctx.getDatabasePath(DATABASE_NAME).getAbsolutePath() + "?key=secret", null, 1);
29+
super(ctx, ctx.getDatabasePath(DATABASE_NAME).getAbsolutePath(), "secret", null, 1, 1, null, null);
3030
}
3131
public void onConfigure(SQLiteDatabase db){
3232
db.enableWriteAheadLogging();
@@ -43,7 +43,7 @@ public void onUpgrade(SQLiteDatabase db, int iOld, int iNew){
4343
* Created by dan on 5/3/17.
4444
*/
4545
@RunWith(AndroidJUnit4.class)
46-
public class SeeTest1 {
46+
public class SQLCipherWALTestScenario {
4747
private Context mContext;
4848

4949
/*

0 commit comments

Comments
 (0)