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/config/
DConfigurationFactoryTest.java945 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
947 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice()
953 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
955 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice()
963 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice()
965 .getBuildProvider().getBuild().getBuildFlavor()); in testCreateConfigurationFromArgs_multidevice()
1014 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1016 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1025 .getBuildProvider().getBuild().getBuildId()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1027 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
[all …]
DSandboxConfigurationFactoryTest.java172 assertEquals("test-branch", config.getBuildProvider().getBuild().getBuildBranch()); in testCreateConfiguration_runConfig()
/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()
DGCSTestResourceProviderTest.java76 IBuildInfo buildInfo = mTestResourceProvider.getBuild(); in testGetBuild()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationMultiTest.java175 EasyMock.expect(mProvider1.getBuild()).andReturn(build1); in testRunBuildProvider_oneMiss()
177 EasyMock.expect(mProvider2.getBuild()).andReturn(null); in testRunBuildProvider_oneMiss()
269 EasyMock.expect(mProvider1.getBuild()).andReturn(build1); in testRunBuildProvider_oneThrow()
271 EasyMock.expect(mProvider2.getBuild()).andThrow(new BuildRetrievalError("fail")); in testRunBuildProvider_oneThrow()
349 EasyMock.expect(mProvider1.getBuild()).andReturn(build1); in testRunBuildProvider_cleanUpThrow()
351 EasyMock.expect(mProvider2.getBuild()).andThrow(new BuildRetrievalError("fail")); in testRunBuildProvider_cleanUpThrow()
DSandboxedInvocationExecutionTest.java146 Mockito.verify(mMockProvider, times(0)).getBuild(); in testSandboxInvocation()
208 doReturn(new BuildInfo()).when(mMockProvider).getBuild(); in testParentSandboxInvocation_sharding()
242 doReturn(new BuildInfo()).when(mMockProvider).getBuild(); in testParentSandboxInvocation()
300 doReturn(new BuildInfo()).when(mMockProvider).getBuild(); in testInvocation_sharding_notTests()
364 doReturn(info).when(mMockProvider).getBuild(); in testInvocation_preInvocationFailing()
DTestInvocationTest.java349 EasyMock.expect(mMockBuildProvider.getBuild()).andThrow(exception); in testInvoke_buildFailed()
379 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(null); in testInvoke_noBuild()
406 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(null); in testInvoke_noBuildRetry()
544 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_buildError()
571 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_resume()
923 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_testtag()
955 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_testtag_notset()
984 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in testInvoke_notesttag()
1031 EasyMock.expect(mockProvider.getBuild(mMockDevice)).andReturn(mMockBuildInfo); in testInvoke_buildProviderNeedTestTag()
1052 EasyMock.expect(mMockBuildProvider.getBuild()).andReturn(mMockBuildInfo); in setupNormalInvoke()
[all …]
DRemoteInvocationExecutionTest.java70 public IBuildInfo getBuild() throws BuildRetrievalError { in testFetchBuild()
/tools/tradefederation/core/src/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()
/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()
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
DLocalDeviceBuildProvider.java78 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in LocalDeviceBuildProvider
98 BuildInfo stubBuild = (BuildInfo)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
DExistingBuildProvider.java44 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in ExistingBuildProvider
DGCSTestResourceProvider.java42 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in GCSTestResourceProvider
DStubBuildProvider.java74 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in StubBuildProvider
DOtaZipfileBuildProvider.java43 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() method in OtaZipfileBuildProvider
/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.java70 Assert.assertNotNull(getBuild()); in testPass()
106 Assert.assertNotNull(getBuild()); in testOne()
/tools/tradefederation/core/src/com/android/tradefed/testtype/host/
DCoverageMeasurementForwarder.java79 private IBuildInfo getBuild() { in getBuild() method in CoverageMeasurementForwarder
93 getBuild().getFile(artifactName), in run()
/tools/tradefederation/contrib/src/com/android/build/tests/
DKernelImageCheck.java84 mKernelImageFile = getBuild().getFile(mKernelImageName); in setUp()

12