Home
last modified time | relevance | path

Searched refs:getBuild (Results 1 – 25 of 30) 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.java62 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild()
85 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.java41 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in LocalAppBuildProvider
44 IBuildInfo parentBuild = super.getBuild(); in getBuild()
DIBuildProvider.java30 public IBuildInfo getBuild() throws BuildRetrievalError; in getBuild() method
DBootstrapBuildProvider.java84 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in BootstrapBuildProvider
93 public IBuildInfo getBuild(ITestDevice device) throws BuildRetrievalError, in getBuild() method in BootstrapBuildProvider
DDependenciesResolver.java59 public IBuildInfo getBuild(ITestDevice device) in getBuild() method in DependenciesResolver
92 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in DependenciesResolver
DLocalDeviceBuildProvider.java79 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in LocalDeviceBuildProvider
106 BuildInfo stubBuild = (BuildInfo)super.getBuild(); in getBuild()
DStubBuildProvider.java75 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in StubBuildProvider
DOtaZipfileBuildProvider.java45 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in OtaZipfileBuildProvider
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java992 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
994 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice()
1000 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
1002 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice()
1010 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
1012 .getBuildProvider().getBuild().getBuildFlavor()); in testCreateConfigurationFromArgs_multidevice()
1061 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1063 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1072 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1074 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
[all …]
DSandboxConfigurationFactoryTest.java173 assertEquals("test-branch", config.getBuildProvider().getBuild().getBuildBranch()); in testCreateConfiguration_runConfig()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DPythonUnitTestRunner.java106 protected IBuildInfo getBuild() { in getBuild() method in PythonUnitTestRunner
143 if (getBuild().getFile(PYTHONPATH) != null) { in setPythonPath()
145 sb.append(getBuild().getFile(PYTHONPATH).getAbsolutePath()); in setPythonPath()
DClangCodeCoverageListener.java252 IBuildInfo buildInfo = mConfiguration.getBuildProvider().getBuild(); in getProfileTool()
/tools/tradefederation/contrib/src/com/android/build/tests/
DKernelImageCheck.java88 mKernelAbiFile = getBuild().getFile("abi.xml"); in setUp()
101 mKernelImageFile = getBuild().getFile(mKernelImageName); in setUp()
116 mKernelAbiWhitelist = getBuild().getFile("abi_whitelist"); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java161 Mockito.verify(mMockProvider, times(0)).getBuild(); in testSandboxInvocation()
224 doReturn(new BuildInfo()).when(mMockProvider).getBuild(); in testParentSandboxInvocation_sharding()
259 doReturn(new BuildInfo()).when(mMockProvider).getBuild(); in testParentSandboxInvocation()
317 doReturn(new BuildInfo()).when(mMockProvider).getBuild(); in testInvocation_sharding_notTests()
381 doReturn(info).when(mMockProvider).getBuild(); in testInvocation_preInvocationFailing()
DTestInvocationMultiTest.java187 EasyMock.expect(mProvider1.getBuild()).andReturn(build1); in testRunBuildProvider_oneMiss()
189 EasyMock.expect(mProvider2.getBuild()).andReturn(null); in testRunBuildProvider_oneMiss()
385 EasyMock.expect(mProvider1.getBuild()).andReturn(build1); in testRunBuildProvider_oneThrow()
387 EasyMock.expect(mProvider2.getBuild()) in testRunBuildProvider_oneThrow()
475 EasyMock.expect(mProvider1.getBuild()).andReturn(build1); in testRunBuildProvider_cleanUpThrow()
477 EasyMock.expect(mProvider2.getBuild()) in testRunBuildProvider_cleanUpThrow()
DTestInvocationTest.java405 EasyMock.expect(mMockBuildProvider.getBuild()).andThrow(exception); in testInvoke_buildFailed()
441 EasyMock.expect(mMockBuildProvider.getBuild()).andThrow(runtimeException); in testInvoke_buildFailed_runtimeException()
475 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(null); in testInvoke_noBuild()
511 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(null); in testInvoke_noBuild_noHostLog()
687 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_setupError()
709 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_buildError()
905 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_testtag()
938 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_testtag_notset()
968 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_notesttag()
1018 EasyMock.expect(mockProvider.getBuild(mMockDevice)).andReturn(mMockBuildInfo); in testInvoke_buildProviderNeedTestTag()
[all …]
DRemoteInvocationExecutionTest.java71 public IBuildInfo getBuild() throws BuildRetrievalError { in testFetchBuild()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunnerTest.java56 assertNotNull(getBuild()); in testOne()
64 assertNotNull(getBuild()); in testTwo()
82 assertNotNull(getBuild()); in testTwo()
DBaseHostJUnit4TestTest.java73 Assert.assertNotNull(getBuild()); in testPass()
109 Assert.assertNotNull(getBuild()); in testOne()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterBuildProvider.java52 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in ClusterBuildProvider
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DClangCodeCoverageListenerTest.java112 doReturn(mMockBuildInfo).when(mMockBuildProvider).getBuild(); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java140 info = ((IDeviceBuildProvider) provider).getBuild(device); in fetchBuild()
142 info = provider.getBuild(); in fetchBuild()

12