Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java155 private IBuildProvider mMockBuildProvider; field in TestInvocationTest
195 mMockBuildProvider = EasyMock.createMock(IBuildProvider.class); in setUp()
209 mStubConfiguration.setBuildProvider(mMockBuildProvider); in setUp()
219 device1.addSpecificConfig(mMockBuildProvider); in setUp()
410 EasyMock.expect(mMockBuildProvider.getBuild()).andThrow(exception); in testInvoke_buildFailed()
434 mMockBuildProvider.cleanUp(mMockBuildInfo); in testInvoke_buildFailed()
446 EasyMock.expect(mMockBuildProvider.getBuild()).andThrow(runtimeException); in testInvoke_buildFailed_runtimeException()
464 mMockBuildProvider.cleanUp(EasyMock.capture(captured)); in testInvoke_buildFailed_runtimeException()
480 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(null); in testInvoke_noBuild()
498 mMockBuildProvider.cleanUp(EasyMock.capture(captured)); in testInvoke_noBuild()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DClangCodeCoverageListenerTest.java87 @Mock IBuildProvider mMockBuildProvider; field in ClangCodeCoverageListenerTest
111 doReturn(mMockBuildProvider).when(mMockConfiguration).getBuildProvider(); in setUp()
112 doReturn(mMockBuildInfo).when(mMockBuildProvider).getBuild(); in setUp()