Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A collection of tests that can be run on an emulator or device to verify SQLCipher for Android.

License

NotificationsYou must be signed in to change notification settings

sqlcipher/sqlcipher-android-tests

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-androidmay 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.

Creating A New Test

  1. Open this repository within Android Studio
  2. Add a new class withinnet.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";  }}
  1. AddAwesomeTest to theTestSuiteRunner:
tests.add(newAwesomeTest());
  1. 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp