Home
last modified time | relevance | path

Searched refs:getExpectedLogCalls (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/src/com/android/adservices/common/logging/
DAdServicesErrorLogUtilVerifierTest.java46 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 …]
DAdServicesErrorLogUtilWithExceptionVerifierTest.java49 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 …]
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/logging/
DAdServicesErrorLogUtilWithExceptionVerifier.java63 public Set<ErrorLogUtilCall> getExpectedLogCalls(Description description) { in getExpectedLogCalls() method in AdServicesErrorLogUtilWithExceptionVerifier
136 return getExpectedLogCalls(description).stream().mapToInt(call -> call.mTimes).sum(); in getTotalExpectedLogCalls()
DAdServicesErrorLogUtilVerifier.java61 public Set<ErrorLogUtilCall> getExpectedLogCalls(Description description) { in getExpectedLogCalls() method in AdServicesErrorLogUtilVerifier
132 return getExpectedLogCalls(description).stream().mapToInt(call -> call.mTimes).sum(); in getTotalExpectedLogCalls()
/packages/modules/AdServices/shared/testing-libraries/device-side/java/com/android/adservices/shared/testing/
DAbstractLogVerifier.java48 Set<T> expectedCalls = getExpectedLogCalls(description); in verify()
68 protected abstract Set<T> getExpectedLogCalls(Description description); in getExpectedLogCalls() method in AbstractLogVerifier
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DAbstractLogVerifierTest.java477 protected Set<TestLogCall> getExpectedLogCalls(Description description) { in getExpectedLogCalls() method in AbstractLogVerifierTest.TestLogVerifier