Search in sources :

Example 1 with DevOpenHelper

use of org.greenrobot.greendao.daotest.DaoMaster.DevOpenHelper in project greenDAO by greenrobot.

the class EncryptedDatabaseOpenHelperTest method testEncryptedDevOpenHelper.

public void testEncryptedDevOpenHelper() {
    createApplication();
    Database db = new DevOpenHelper(getApplication(), null).getEncryptedReadableDb("password");
    assertDbEncryptedAndFunctional(db);
}
Also used : DevOpenHelper(org.greenrobot.greendao.daotest.DaoMaster.DevOpenHelper) Database(org.greenrobot.greendao.database.Database)

Aggregations

DevOpenHelper (org.greenrobot.greendao.daotest.DaoMaster.DevOpenHelper)1 Database (org.greenrobot.greendao.database.Database)1