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
Hello everyone,
i hope you can help me to get this working. I want to write JUnit tests for my App and heres the problem:
I added the icudt46l.zip to the assets directory of my test project. Then i wrote a simple ActivityUnitTestCase. In the setUp() method, i call SQLiteDatabase.loadLibs(getInstrumentation().getTargetContext());
but unfortunately i always the the "net.sqlcipher.database.SQLiteException: not an error" error.
Is it possible to have JUnit tests with SQLCipher for Android? How should i load the libs in a test project? I saw that there is a "test suite" but this is just a regular Android App doing some stuff. I need real unit tests for my company and i wonder how this could be done. If anybody has an idea, i would love to hear about it.
The text was updated successfully, but these errors were encountered:
The error magically disappeared when i deleted the app from the device/emulator and reinstalled it. Now i can use Android JUnit tests with SQLCipher. I have no explanation why but to be honest, i don't really care as long as it works :)
Hello everyone,
i hope you can help me to get this working. I want to write JUnit tests for my App and heres the problem:
I added the icudt46l.zip to the assets directory of my test project. Then i wrote a simple ActivityUnitTestCase. In the setUp() method, i call SQLiteDatabase.loadLibs(getInstrumentation().getTargetContext());
but unfortunately i always the the "net.sqlcipher.database.SQLiteException: not an error" error.
Is it possible to have JUnit tests with SQLCipher for Android? How should i load the libs in a test project? I saw that there is a "test suite" but this is just a regular Android App doing some stuff. I need real unit tests for my company and i wonder how this could be done. If anybody has an idea, i would love to hear about it.
The text was updated successfully, but these errors were encountered: