Skip to content

venusdev85/SqlCipher-Android

Repository files navigation

To run, clone this repo and make sure you have the Android Studio installed:

Creating A New Test

  1. Open this repository within Android Studio
  2. Add a new class within net.zetetic.tests package that extends SQLCipherTest:
package net.zetetic.tests;

import net.sqlcipher.database.SQLiteDatabase;

public class DemoTest extends SQLCipherTest {

  @Override
  public boolean execute(SQLiteDatabase database) {
    try {
      // Add your scenario here
      return true;
    }catch (Exception e){
      return false;
    }
  }

  @Override
  public String getName() {
    return "Demo Test";
  }
}
  1. Add DemoTest to the TestSuiteRunner:
tests.add(new DemoTest());
  1. Build and run the application on an Android device/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