Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecoveryTest.java142 private void replay(Object... mocks) { in replay() argument
144 EasyMock.replay(mocks); in replay()
147 private void verify(Object... mocks) { in verify() argument
149 EasyMock.verify(mocks); in verify()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DNativeBenchmarkTestTest.java57 private void replayMocks(Object... mocks) { in replayMocks() argument
59 EasyMock.replay(mocks); in replayMocks()
62 private void verifyMocks(Object... mocks) { in verifyMocks() argument
64 EasyMock.verify(mocks); in verifyMocks()
/tools/test/connectivity/acts/framework/tests/event/
Devent_bus_test.py59 mocks = [Mock(), Mock(), Mock()]
61 EventSubscription(mocks[0], lambda _: None),
62 EventSubscription(mocks[1], lambda _: None),
63 EventSubscription(mocks[2], lambda _: None),
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java1586 private void verifyMocks(Object... mocks) { in verifyMocks() argument
1592 if (mocks.length > 0) { in verifyMocks()
1593 EasyMock.verify(mocks); in verifyMocks()
1600 private void replayMocks(Object... mocks) { in replayMocks() argument
1604 if (mocks.length > 0) { in replayMocks()
1605 EasyMock.replay(mocks); in replayMocks()