Skip to content

Commit cf9d01c

Browse files
authored
Merge pull request #1877 from smartdevicelink/bugfix/issue_1876_fix_espresso_test
Fix SDLLockScreenActivityEspressoTest for newer devices
2 parents fb794d7 + e285c52 commit cf9d01c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

android/sdl_android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ android {
2323
}
2424
}
2525
compileOptions {
26-
sourceCompatibility JavaVersion.VERSION_1_7
27-
targetCompatibility JavaVersion.VERSION_1_7
26+
sourceCompatibility JavaVersion.VERSION_1_8
27+
targetCompatibility JavaVersion.VERSION_1_8
2828
}
2929
lintOptions {
3030
abortOnError false
@@ -51,9 +51,9 @@ dependencies {
5151
annotationProcessor 'androidx.lifecycle:lifecycle-compiler:2.2.0'
5252

5353
testImplementation 'junit:junit:4.12'
54-
testImplementation 'org.mockito:mockito-core:3.0.0'
55-
androidTestImplementation 'org.mockito:mockito-core:3.0.0'
56-
androidTestImplementation 'org.mockito:mockito-android:3.0.0'
54+
testImplementation 'org.mockito:mockito-core:5.7.0'
55+
androidTestImplementation 'org.mockito:mockito-core:5.7.0'
56+
androidTestImplementation 'org.mockito:mockito-android:5.7.0'
5757
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
5858
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
5959
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.5.1'

android/sdl_android/src/androidTest/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<application android:debuggable="true">
1818
<uses-library android:name="android.test.runner" />
19-
<activity android:name=".managers.lockscreen.SDLLockScreenActivity" />
19+
<activity android:name="com.smartdevicelink.managers.lockscreen.SDLLockScreenActivity" />
2020
</application>
2121

2222
</manifest>

0 commit comments

Comments
 (0)