You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,33 +9,33 @@ More information can be found in [SQLCipher for Android](https://zetetic.net/sql
9
9
1. Open this repository within Android Studio
10
10
2. Add a new class within `net.zetetic.tests` package that extends `SQLCipherTest`:
11
11
12
-
```
12
+
```Java
13
13
packagenet.zetetic.tests;
14
14
15
15
importnet.sqlcipher.database.SQLiteDatabase;
16
16
17
-
public class DemoTest extends SQLCipherTest {
17
+
publicclassAwesomeTestextendsSQLCipherTest {
18
18
19
19
@Override
20
20
publicbooleanexecute(SQLiteDatabasedatabase) {
21
21
try {
22
22
// Add your scenario here
23
23
returntrue;
24
-
}catch (Exception e){
24
+
}catch (Exception e){
25
25
returnfalse;
26
26
}
27
27
}
28
28
29
29
@Override
30
30
publicStringgetName() {
31
-
return "Demo Test";
31
+
return"Awesome Test";
32
32
}
33
33
}
34
34
```
35
35
36
-
3. Add `DemoTest` to the [`TestSuiteRunner`](https://github.com/sqlcipher/sqlcipher-android-tests/blob/master/src/main/java/net/zetetic/tests/TestSuiteRunner.java):
36
+
3. Add `AwesomeTest` to the [`TestSuiteRunner`](https://github.com/sqlcipher/sqlcipher-android-tests/blob/master/src/main/java/net/zetetic/tests/TestSuiteRunner.java):
37
37
38
+
```Java
39
+
tests.add(newAwesomeTest());
38
40
```
39
-
tests.add(new DemoTest());
40
-
```
41
-
4. Build and run the application on an Android device/emulator
41
+
4. Build and run the application on an Android device or emulator
0 commit comments