Searched refs:injectedResult (Results 1 – 3 of 3) sorted by relevance
74 R injectedResult = newResult(); in testInjectResult_assertResultReceived() local76 runAsync(INJECTION_TIMEOUT_MS, () -> mCallback.injectResult(injectedResult)); in testInjectResult_assertResultReceived()81 .isSameInstanceAs(injectedResult); in testInjectResult_assertResultReceived()88 .isSameInstanceAs(injectedResult); in testInjectResult_assertResultReceived()91 .containsExactly(injectedResult); in testInjectResult_assertResultReceived()94 .contains("result=" + injectedResult); in testInjectResult_assertResultReceived()100 R injectedResult = null; in testInjectNullResult_assertResultReceived() local102 runAsync(INJECTION_TIMEOUT_MS, () -> mCallback.injectResult(injectedResult)); in testInjectNullResult_assertResultReceived()110 assertGetResultMethods(mCallback, "after injectResult()", injectedResult); in testInjectNullResult_assertResultReceived()116 R injectedResult = newResult(); in testInjectResult_assertCalled() local[all …]
35 R injectedResult = newResult(); in testOnResult() local37 runAsync(INJECTION_TIMEOUT_MS, () -> mCallback.onResult(injectedResult)); in testOnResult()42 .isSameInstanceAs(injectedResult); in testOnResult()
67 R injectedResult = null; in testInjectResult_checkFailure() local69 runAsync(INJECTION_TIMEOUT_MS, () -> mCallback.injectResult(injectedResult)); in testInjectResult_checkFailure()73 assertGetResultMethods(mCallback, when, injectedResult); in testInjectResult_checkFailure()