Searched refs:stubBuild (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | TestFilePushSetupTest.java | 89 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 142 DeviceBuildInfo stubBuild = new DeviceBuildInfo("0", "stub"); in testThrowIfNotFound() local 143 stubBuild.setTestsDir(mFakeTestsZipFolder.getBasePath(), "0"); in testThrowIfNotFound() 145 setup.setUp(mMockDevice, stubBuild); in testThrowIfNotFound() 164 DeviceBuildInfo stubBuild = new DeviceBuildInfo("0", "stub"); in testThrowIfNotFound_false() local 165 stubBuild.setTestsDir(mFakeTestsZipFolder.getBasePath(), "0"); in testThrowIfNotFound_false() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | StubBuildProvider.java | 85 BuildInfo stubBuild = new BuildInfo(mBuildId, mBuildTargetName); in getBuild() local 86 stubBuild.setBuildBranch(mBranch); in getBuild() 87 stubBuild.setBuildFlavor(mBuildFlavor); in getBuild() 93 stubBuild.addBuildAttribute("build_target", buildTarget); in getBuild() 96 stubBuild.addBuildAttribute(attributeEntry.getKey(), attributeEntry.getValue()); in getBuild() 98 return stubBuild; in getBuild()
|
D | LocalDeviceBuildProvider.java | 106 BuildInfo stubBuild = (BuildInfo)super.getBuild(); in getBuild() local 107 DeviceBuildInfo buildInfo = new DeviceBuildInfo(stubBuild.getBuildId(), in getBuild() 108 stubBuild.getBuildTargetName()); in getBuild() 109 buildInfo.addAllBuildAttributes(stubBuild); in getBuild()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 472 IBuildInfo stubBuild = captured.getValue(); in testInvoke_buildFailed_runtimeException() local 473 assertEquals(BuildInfo.UNKNOWN_BUILD_ID, stubBuild.getBuildId()); in testInvoke_buildFailed_runtimeException() 474 stubBuild.cleanUp(); in testInvoke_buildFailed_runtimeException() 506 IBuildInfo stubBuild = captured.getValue(); in testInvoke_noBuild() local 507 assertEquals(BuildInfo.UNKNOWN_BUILD_ID, stubBuild.getBuildId()); in testInvoke_noBuild() 508 stubBuild.cleanUp(); in testInvoke_noBuild() 546 IBuildInfo stubBuild = captured.getValue(); in testInvoke_noBuild_noHostLog() local 547 assertEquals(BuildInfo.UNKNOWN_BUILD_ID, stubBuild.getBuildId()); in testInvoke_noBuild_noHostLog() 548 stubBuild.cleanUp(); in testInvoke_noBuild_noHostLog()
|
D | TestInvocationMultiTest.java | 246 IBuildInfo stubBuild = captured.getValue(); in testRunBuildProvider_oneMiss() local 247 assertEquals(BuildInfo.UNKNOWN_BUILD_ID, stubBuild.getBuildId()); in testRunBuildProvider_oneMiss() 248 stubBuild.cleanUp(); in testRunBuildProvider_oneMiss()
|