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
There seems to be a strange issue with Mockito that happens randomly sometimes when the tests try to mock View or ViewGroup classes. This issue happens only on GitHub CI and not locally:
com.smartdevicelink.managers.video.HapticInterfaceManagerTest > testRefreshWithUserData[test(AVD) - 10] FAILED
org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: class android.view.View.
com.smartdevicelink.managers.video.HapticInterfaceManagerTest > testRefreshHapticData[test(AVD) - 10] FAILED
org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: class android.view.View.
Reproduction Steps
Trigger the CI
Expected Behavior
Tests should pass locally and remotely
Observed Behavior
Tests pass locally but fail remotly
OS & Version Information
SDL Android Version: 5.2.0
The text was updated successfully, but these errors were encountered:
Bug Report
There seems to be a strange issue with Mockito that happens randomly sometimes when the tests try to mock
View
orViewGroup
classes. This issue happens only on GitHub CI and not locally:Reproduction Steps
Expected Behavior
Tests should pass locally and remotely
Observed Behavior
Tests pass locally but fail remotly
OS & Version Information
The text was updated successfully, but these errors were encountered: