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
If there's a mismatch with ActivityResultMatchers#hasResultCode, you currently get an error message like this one, not showing the actual value:
java.lang.AssertionError:
Expected: has result code -1
but: was <android.app.Instrumentation$ActivityResult@af47c58>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
Please override describeMismatchSafely with something like mismatchDescription.appendText("result code was " + item.getResultCode());
The text was updated successfully, but these errors were encountered:
If there's a mismatch with ActivityResultMatchers#hasResultCode, you currently get an error message like this one, not showing the actual value:
Please override
describeMismatchSafely
with something likemismatchDescription.appendText("result code was " + item.getResultCode());
The text was updated successfully, but these errors were encountered: