Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java737 ITargetPreparer mockCleaner = EasyMock.createMock(ITargetPreparer.class); in testInvoke_tearDown() local
738 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_tearDown()
739 EasyMock.expect(mockCleaner.isTearDownDisabled()).andReturn(false); in testInvoke_tearDown()
740 mockCleaner.setUp(EasyMock.anyObject()); in testInvoke_tearDown()
741 mockCleaner.tearDown(EasyMock.anyObject(), EasyMock.isNull()); in testInvoke_tearDown()
743 mStubConfiguration.getTargetPreparers().add(mockCleaner); in testInvoke_tearDown()
747 EasyMock.replay(mockCleaner, mockRescheduler); in testInvoke_tearDown()
749 verifyMocks(mockCleaner, mockRescheduler); in testInvoke_tearDown()
764 ITargetPreparer mockCleaner = EasyMock.createMock(ITargetPreparer.class); in testInvoke_tearDown_deviceNotAvail() local
765 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_tearDown_deviceNotAvail()
[all …]