Searched refs:getExpectedLogCalls (Results 1 – 6 of 6) sorted by relevance
46 expect.that(mErrorLogUtilVerifier.getExpectedLogCalls(description)).isEmpty(); in testGetExpectedLogCalls_withNoAnnotations_returnsEmptySet()61 expect.that(mErrorLogUtilVerifier.getExpectedLogCalls(description)) in testGetExpectedLogCalls_withSingleAnnotation_returnsNonEmptyList()77 () -> mErrorLogUtilVerifier.getExpectedLogCalls(description)); in testGetExpectedLogCalls_withSingleAnnotationNegativeTimes_throwsException()96 () -> mErrorLogUtilVerifier.getExpectedLogCalls(description)); in testGetExpectedLogCalls_withSingleAnnotationZeroTimes_throwsException()119 () -> mErrorLogUtilVerifier.getExpectedLogCalls(description)); in testGetExpectedLogCalls_withSingleAnnotationMissingErrorCode_throwsException()139 () -> mErrorLogUtilVerifier.getExpectedLogCalls(description)); in testGetExpectedLogCalls_withSingleAnnotationMissingPpapiName_throwsException()162 expect.that(mErrorLogUtilVerifier.getExpectedLogCalls(description)) in testGetExpectedLogCalls_withSingleAnnotationAndDefaultParams_returnsNonEmptyList()188 expect.that(mErrorLogUtilVerifier.getExpectedLogCalls(description)) in testGetExpectedLogCalls_withMultipleValidAnnotations_returnsNonEmptyList()211 () -> mErrorLogUtilVerifier.getExpectedLogCalls(description)); in testGetExpectedLogCalls_withMultipleAnnotationZeroTimes_throwsException()239 () -> mErrorLogUtilVerifier.getExpectedLogCalls(description)); in testGetExpectedLogCalls_withMultipleAnnotationNegativeTimes_throwsException()[all …]
49 expect.that(mErrorLogUtilVerifier.getExpectedLogCalls(description)).isEmpty(); in testGetExpectedLogCalls_withNoAnnotations_returnsEmptySet()70 expect.that(mErrorLogUtilVerifier.getExpectedLogCalls(description)) in testGetExpectedLogCalls_withSingleAnnotation_returnsNonEmptyList()89 () -> mErrorLogUtilVerifier.getExpectedLogCalls(description)); in testGetExpectedLogCalls_withSingleAnnotationNegativeTimes_throwsException()111 () -> mErrorLogUtilVerifier.getExpectedLogCalls(description)); in testGetExpectedLogCalls_withSingleAnnotationZeroTimes_throwsException()136 () -> mErrorLogUtilVerifier.getExpectedLogCalls(description)); in testGetExpectedLogCalls_withSingleAnnotationMissingThrowable_throwsException()158 () -> mErrorLogUtilVerifier.getExpectedLogCalls(description)); in testGetExpectedLogCalls_withSingleAnnotationMissingErrorCode_throwsException()180 () -> mErrorLogUtilVerifier.getExpectedLogCalls(description)); in testGetExpectedLogCalls_withSingleAnnotationMissingPpapiName_throwsException()204 expect.that(mErrorLogUtilVerifier.getExpectedLogCalls(description)) in testGetExpectedLogCalls_withSingleAnnotationAndDefaultParams_returnsNonEmptyList()246 expect.that(mErrorLogUtilVerifier.getExpectedLogCalls(description)) in testGetExpectedLogCalls_withMultipleValidAnnotations_returnsNonEmptyList()277 () -> mErrorLogUtilVerifier.getExpectedLogCalls(description)); in testGetExpectedLogCalls_withMultipleAnnotationZeroTimes_throwsException()[all …]
63 public Set<ErrorLogUtilCall> getExpectedLogCalls(Description description) { in getExpectedLogCalls() method in AdServicesErrorLogUtilWithExceptionVerifier136 return getExpectedLogCalls(description).stream().mapToInt(call -> call.mTimes).sum(); in getTotalExpectedLogCalls()
61 public Set<ErrorLogUtilCall> getExpectedLogCalls(Description description) { in getExpectedLogCalls() method in AdServicesErrorLogUtilVerifier132 return getExpectedLogCalls(description).stream().mapToInt(call -> call.mTimes).sum(); in getTotalExpectedLogCalls()
48 Set<T> expectedCalls = getExpectedLogCalls(description); in verify()68 protected abstract Set<T> getExpectedLogCalls(Description description); in getExpectedLogCalls() method in AbstractLogVerifier
477 protected Set<TestLogCall> getExpectedLogCalls(Description description) { in getExpectedLogCalls() method in AbstractLogVerifierTest.TestLogVerifier