Searched refs:injectFailure (Results 1 – 6 of 6) sorted by relevance
79 assertThrows(NullPointerException.class, () -> mCallback.injectFailure(null)); in testInjectFailure_null()87 runAsync(INJECTION_TIMEOUT_MS, () -> mCallback.injectFailure(failure)); in testInjectFailure()107 mCallback.injectFailure(failure); in testInjectFailure_calledTwice()108 mCallback.injectFailure(anotherFailure); in testInjectFailure_calledTwice()123 mCallback.injectFailure(failure); in testInjectFailure_calledAfterInjectResult()135 mCallback.injectFailure(failure); in testInjectResult_calledAfterInjectFailure()156 mCallback.injectFailure(failure); in testAssertFailureReceived_rightClass()172 mCallback.injectFailure(failure); in testAssertFailureReceived_wrongClass()208 mCallback.injectFailure(firstFailure); in testToString_containsFailures()219 mCallback.injectFailure(secondFailure); in testToString_containsFailures()
43 injectFailure(failure); in onFailure()
65 public final void injectFailure(F failure) { in injectFailure() method in FailableResultSyncCallback
48 injectFailure(t); in onFailure()
49 injectFailure(error); in onError()
43 injectFailure(error); in onError()