Home
last modified time | relevance | path

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

/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/
DSyncCallbackTestCase.java244 expectIsCalledAndNumberCalls(callback, "before setCalled()", false, 0); in testAssertCalled()
250 expectIsCalledAndNumberCalls(callback, "after setCalled()", true, 1); in testAssertCalled()
279 expectIsCalledAndNumberCalls(callback, "after setCalled()", false, 0); in testAssertCalled_neverCalled()
308 expectIsCalledAndNumberCalls(callback, "after interrupted", false, 0); in testAssertCalled_interrupted()
323 expectIsCalledAndNumberCalls(callback, "after 1st setCalled()", false, 1); in testAssertCalled_multipleCalls()
329 expectIsCalledAndNumberCalls(callback, "after 2nd setCalled()", true, 2); in testAssertCalled_multipleCalls()
334 expectIsCalledAndNumberCalls(callback, "after 3rd setCalled()", true, 3); in testAssertCalled_multipleCalls()
375 expectIsCalledAndNumberCalls(callback1, "after 2nd call on 1st callback", true, 2); in testAssertCalled_multipleCallsFromMultipleCallbacks_firstFinishFirst()
376 expectIsCalledAndNumberCalls(callback2, "after 2nd call on 1st callback", true, 2); in testAssertCalled_multipleCallsFromMultipleCallbacks_firstFinishFirst()
381 expectIsCalledAndNumberCalls(callback1, "after 3rd call on 1st callback", true, 3); in testAssertCalled_multipleCallsFromMultipleCallbacks_firstFinishFirst()
[all …]