- Notifications
You must be signed in to change notification settings - Fork65
A collection of tests that can be run on an emulator or device to verify SQLCipher for Android.
License
sqlcipher/sqlcipher-android-tests
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project exists in support of theandroid-database-sqlcipher
project which has beenofficially deprecated. The long-term replacement issqlcipher-android
. Instructions for migrating fromandroid-database-sqlcipher
tosqlcipher-android
may be foundhere.
To run: clone this repo and open with a recent version of Android Studio, orbuild from the command line.
It is possible to run on an emulator or device, as documented in theSQLCipher for Android compatibility section.
More information can be found inSQLCipher for Android.
- Open this repository within Android Studio
- Add a new class within
net.zetetic.tests
package that extendsSQLCipherTest
:
packagenet.zetetic.tests;importnet.sqlcipher.database.SQLiteDatabase;publicclassAwesomeTestextendsSQLCipherTest {@Overridepublicbooleanexecute(SQLiteDatabasedatabase) {try {// Add your scenario herereturntrue; }catch (Exceptione) {returnfalse; } }@OverridepublicStringgetName() {return"Awesome Test"; }}
- Add
AwesomeTest
to theTestSuiteRunner
:
tests.add(newAwesomeTest());
- Build and run the application on an Android device or emulator
About
A collection of tests that can be run on an emulator or device to verify SQLCipher for Android.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors3
Uh oh!
There was an error while loading.Please reload this page.