Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrumentation test failed #8

Closed
tprochazka opened this issue Sep 24, 2013 · 1 comment
Closed

Instrumentation test failed #8

tprochazka opened this issue Sep 24, 2013 · 1 comment
Assignees

Comments

@tprochazka
Copy link
Contributor

I started testing the new version and one of integration test failed, when I try to build library by maven.

[INFO] 4df1c91a0c879f8b_samsung_GT-N7100 :       ERROR:com.mkovacs.android.secure.preferences.SecureSharedPreferencesFunctionalTest#testSecureSharedPreferencesApply
[INFO] 4df1c91a0c879f8b_samsung_GT-N7100 :       java.lang.IncompatibleClassChangeError: interface not implemented
at com.mkovacs.android.secure.preferences.encryption.EncryptionHelper.encode(EncryptionHelper.java:71)
at com.mkovacs.android.secure.preferences.SecuredEditor.putBoolean(SecuredEditor.java:69)
at com.mkovacs.android.secure.preferences.SecureSharedPreferencesFunctionalTest.testSecureSharedPreferencesApply(SecureSharedPreferencesFunctionalTest.java:118)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:192)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:177)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1619)
kovmarci86 added a commit that referenced this issue Sep 25, 2013
Fix test failures: filtering calls by API level.
kovmarci86 added a commit that referenced this issue Sep 25, 2013
Fix teste by filtering stringSet calls.
@ghost ghost assigned kovmarci86 Sep 25, 2013
@kovmarci86
Copy link
Owner

Thank you,
Added some filtering to not to call stringSet related calls on pre API 11 devices.
Can you please also test this?
I was testing with a 2.3.3 x86 emulator, 4.1 emulator, sgs4. Now it does not fail.

btw: opened a ticket for supporting string sets: Issue #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants