Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DTestFilePushSetupTest.java89 DeviceBuildInfo stubBuild = new DeviceBuildInfo("0", "stub"); in testSetup() local
90 stubBuild.setTestsDir(mFakeTestsZipFolder.getBasePath(), "0"); in testSetup()
114 testFilePushSetup.setUp(device, stubBuild); in testSetup()
124 BuildInfo stubBuild = new BuildInfo("stub", "stub"); in testSetup_notDeviceBuildInfo() local
126 testFilePushSetup.setUp(EasyMock.createMock(ITestDevice.class), stubBuild); in testSetup_notDeviceBuildInfo() local
212 DeviceBuildInfo stubBuild = new DeviceBuildInfo("0", "stub"); in testThrowIfNotFound() local
213 stubBuild.setTestsDir(mFakeTestsZipFolder.getBasePath(), "0"); in testThrowIfNotFound()
215 setup.setUp(mMockDevice, stubBuild); in testThrowIfNotFound()
234 DeviceBuildInfo stubBuild = new DeviceBuildInfo("0", "stub"); in testThrowIfNotFound_false() local
235 stubBuild.setTestsDir(mFakeTestsZipFolder.getBasePath(), "0"); in testThrowIfNotFound_false()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/build/
DStubBuildProvider.java83 BuildInfo stubBuild = new BuildInfo(mBuildId, mBuildTargetName); in getBuild() local
84 stubBuild.setBuildBranch(mBranch); in getBuild()
85 stubBuild.setBuildFlavor(mBuildFlavor); in getBuild()
91 stubBuild.addBuildAttribute("build_target", buildTarget); in getBuild()
94 stubBuild.addBuildAttribute(attributeEntry.getKey(), attributeEntry.getValue()); in getBuild()
96 return stubBuild; in getBuild()
DLocalDeviceBuildProvider.java98 BuildInfo stubBuild = (BuildInfo)super.getBuild(); in getBuild() local
99 DeviceBuildInfo buildInfo = new DeviceBuildInfo(stubBuild.getBuildId(), in getBuild()
100 stubBuild.getBuildTargetName()); in getBuild()
101 buildInfo.addAllBuildAttributes(stubBuild); in getBuild()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationMultiTest.java222 IBuildInfo stubBuild = captured.getValue(); in testRunBuildProvider_oneMiss() local
223 assertEquals(BuildInfo.UNKNOWN_BUILD_ID, stubBuild.getBuildId()); in testRunBuildProvider_oneMiss()
224 stubBuild.cleanUp(); in testRunBuildProvider_oneMiss()
DTestInvocationTest.java398 IBuildInfo stubBuild = captured.getValue(); in testInvoke_noBuild() local
399 assertEquals(BuildInfo.UNKNOWN_BUILD_ID, stubBuild.getBuildId()); in testInvoke_noBuild()
400 stubBuild.cleanUp(); in testInvoke_noBuild()
434 IBuildInfo stubBuild = captured.getValue(); in testInvoke_noBuildRetry() local
435 assertEquals(BuildInfo.UNKNOWN_BUILD_ID, stubBuild.getBuildId()); in testInvoke_noBuildRetry()
436 stubBuild.cleanUp(); in testInvoke_noBuildRetry()