Home
last modified time | relevance | path

Searched refs:getBuild (Results 1 – 25 of 28) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DOtaZipfileBuildProviderTest.java48 IBuildInfo buildInfo = providerAllGood.getBuild(); in testGetBuild_Success()
57 providerNoPath.getBuild(); in testGetBuild_NoPath()
67 providerBadPath.getBuild(); in testGetBuild_BadPath()
DBootstrapBuildProviderTest.java52 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild()
75 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild_stubDevice()
DLocalDeviceBuildProviderTest.java98 DeviceBuildInfo info = (DeviceBuildInfo)mLocalDeviceBuildProvider.getBuild(); in testGetBuild()
116 DeviceBuildInfo info = (DeviceBuildInfo)mLocalDeviceBuildProvider.getBuild(); in testGetBuild_noImage()
/tools/tradefederation/core/src/com/android/tradefed/build/
DLocalFolderBuildProvider.java42 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in LocalFolderBuildProvider
54 IBuildInfo parentBuild = super.getBuild(); in getBuild()
DLocalAppBuildProvider.java44 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in LocalAppBuildProvider
47 IBuildInfo parentBuild = super.getBuild(); in getBuild()
DIBuildProvider.java30 public IBuildInfo getBuild() throws BuildRetrievalError; in getBuild() method
DIDeviceBuildProvider.java43 public IBuildInfo getBuild(ITestDevice device) throws BuildRetrievalError, in getBuild() method
DBootstrapBuildProvider.java79 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in BootstrapBuildProvider
98 public IBuildInfo getBuild(ITestDevice device) throws BuildRetrievalError, in getBuild() method in BootstrapBuildProvider
DExistingBuildProvider.java44 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in ExistingBuildProvider
DLocalSdkBuildProvider.java48 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in LocalSdkBuildProvider
DStubBuildProvider.java74 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in StubBuildProvider
DLocalDeviceBuildProvider.java78 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in LocalDeviceBuildProvider
98 BuildInfo stubBuild = (BuildInfo)super.getBuild(); in getBuild()
DOtaZipfileBuildProvider.java43 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in OtaZipfileBuildProvider
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java933 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
935 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice()
941 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
943 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice()
951 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
953 .getBuildProvider().getBuild().getBuildFlavor()); in testCreateConfigurationFromArgs_multidevice()
1002 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1004 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1013 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1015 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/host/
DCoverageMeasurementForwarder.java67 private IBuildInfo getBuild() { in getBuild() method in CoverageMeasurementForwarder
81 getBuild().getFile(artifactName), in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationMultiTest.java160 EasyMock.expect(mProvider1.getBuild()).andReturn(build1); in testRunBuildProvider_oneMiss()
162 EasyMock.expect(mProvider2.getBuild()).andReturn(null); in testRunBuildProvider_oneMiss()
232 EasyMock.expect(mProvider1.getBuild()).andReturn(build1); in testRunBuildProvider_oneThrow()
234 EasyMock.expect(mProvider2.getBuild()).andThrow(new BuildRetrievalError("fail")); in testRunBuildProvider_oneThrow()
310 EasyMock.expect(mProvider1.getBuild()).andReturn(build1); in testRunBuildProvider_cleanUpThrow()
312 EasyMock.expect(mProvider2.getBuild()).andThrow(new BuildRetrievalError("fail")); in testRunBuildProvider_cleanUpThrow()
DTestInvocationTest.java325 EasyMock.expect(mMockBuildProvider.getBuild()).andThrow(exception); in testInvoke_buildFailed()
354 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(null); in testInvoke_noBuild()
369 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(null); in testInvoke_noBuildRetry()
490 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_buildError()
516 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_resume()
892 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_strictShardableTest_withShardIndex()
923 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_nonStrictShardableTest_withShardIndexZero()
985 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_nonStrictShardableTest_withShardIndexNonZero()
1014 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_testtag()
1045 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_testtag_notset()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DPythonUnitTestRunner.java102 protected IBuildInfo getBuild() { in getBuild() method in PythonUnitTestRunner
139 if (getBuild().getFile(PYTHONPATH) != null) { in setPythonPath()
141 sb.append(getBuild().getFile(PYTHONPATH).getAbsolutePath()); in setPythonPath()
DJacocoCodeCoverageTest.java112 File jacocoFile = getBuild().getFile(mJacocoAnt); in generateCoverageReport()
120 Collection<VersionedFile> buildFiles = getBuild().getFiles(); in generateCoverageReport()
DCodeCoverageTestBase.java116 IBuildInfo getBuild() { in getBuild() method in CodeCoverageTestBase
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJacocoCodeCoverageTestTest.java109 doReturn(mockBuildInfo).when(jacocoCodeCoverageTest).getBuild(); in testGenerateCoverageReport_success()
157 doReturn(mockBuildInfo).when(jacocoCodeCoverageTest).getBuild(); in testGenerateCoverageReport_missingClassFiles()
192 doReturn(mockBuildInfo).when(jacocoCodeCoverageTest).getBuild(); in testGenerateCoverageReport_unsuccessful()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunnerTest.java53 assertNotNull(getBuild()); in testOne()
61 assertNotNull(getBuild()); in testTwo()
79 assertNotNull(getBuild()); in testTwo()
DBaseHostJUnit4TestTest.java66 Assert.assertNotNull(getBuild()); in testPass()
90 Assert.assertNotNull(getBuild()); in testOne()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java99 info = ((IDeviceBuildProvider) provider).getBuild(device); in fetchBuild()
101 info = provider.getBuild(); in fetchBuild()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java87 public final IBuildInfo getBuild() { in getBuild() method in BaseHostJUnit4Test

12