Searched refs:inOrder (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestTest.java | 149 InOrder inOrder = Mockito.inOrder(mInstrumentationTest, mMockTestDevice, mMockListener); in testRun() local 152 inOrder.verify(mInstrumentationTest).setRunnerArgs(runner.capture()); in testRun() 153 inOrder.verify(mMockTestDevice, times(2)) in testRun() 156 inOrder.verify(mMockListener).testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun() 157 inOrder.verify(mMockListener).testStarted(eq(TEST1), anyLong()); in testRun() 158 inOrder.verify(mMockListener).testEnded(eq(TEST1), anyLong(), eq(EMPTY_STRING_MAP)); in testRun() 159 inOrder.verify(mMockListener).testStarted(eq(TEST2), anyLong()); in testRun() 160 inOrder.verify(mMockListener).testEnded(eq(TEST2), anyLong(), eq(EMPTY_STRING_MAP)); in testRun() 161 inOrder.verify(mMockListener).testRunEnded(1, EMPTY_STRING_MAP); in testRun() 323 InOrder inOrder = Mockito.inOrder(mMockListener, mMockTestDevice); in testRun_rerun() local [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | InvocationExecutionTest.java | 217 InOrder inOrder = Mockito.inOrder(stub1, stub2, stub3, stub4, cleaner); in testDoSetup() local 218 inOrder.verify(stub1).isDisabled(); in testDoSetup() 219 inOrder.verify(stub1).setUp(mContext); in testDoSetup() 220 inOrder.verify(stub2).isDisabled(); in testDoSetup() 221 inOrder.verify(stub2).setUp(mContext); in testDoSetup() 223 inOrder.verify(cleaner).setUp(Mockito.any(), Mockito.any()); in testDoSetup() 225 inOrder.verify(stub3).isDisabled(); in testDoSetup() 226 inOrder.verify(stub3).setUp(mContext); in testDoSetup() 227 inOrder.verify(stub4).isDisabled(); in testDoSetup() 228 inOrder.verify(stub4).setUp(mContext); in testDoSetup() [all …]
|