Home
last modified time | relevance | path

Searched refs:getBuildBranch (Results 1 – 23 of 23) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceManagerTest.java165 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn("BRANCH"); in testBuildGceCommand()
201 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn("BRANCH"); in testBuildGceCommand_withServiceAccountJsonKeyFile()
241 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn("BRANCH"); in testBuildGceCommandWithEmulatorBuild()
290 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn("BRANCH"); in testBuildGceCommandWithGceDriverParam()
377 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn("BRANCH"); in testBuildGceCommandWithKernelBuild()
DRemoteAndroidVirtualDeviceTest.java485 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andStubReturn("branch"); in testDeviceNotStoreShutdownState()
588 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andStubReturn("branch"); in testDevice_skipTearDown()
675 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andStubReturn("branch"); in testDeviceBoot_offline()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DTfTestLauncherTest.java138 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn(BUILD_BRANCH).times(3); in testRun()
197 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn(BUILD_BRANCH).times(1); in testTestTmpDirClean_failExtraFile()
220 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn(BUILD_BRANCH).times(1); in testTestTmpDirClean_failMultipleFiles()
245 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andReturn(BUILD_BRANCH).times(2); in testRunCoverage()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java202 setBuildBranch(build.getBuildBranch()); in addAllBuildAttributes()
492 public String getBuildBranch() { in getBuildBranch() method in BuildInfo
571 if (getBuildBranch() != null) { in toProto()
572 protoBuilder.setBranch(getBuildBranch()); in toProto()
DOtaDeviceBuildInfo.java130 public String getBuildBranch() { in getBuildBranch() method in OtaDeviceBuildInfo
131 return getReportedBuild().getBuildBranch(); in getBuildBranch()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandlerTest.java63 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andStubReturn("branch"); in testApplySetup()
78 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andStubReturn("branch"); in testApplySetup_MultipleMainlineModules()
98 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andStubReturn(null); in testBuildDynamicBaseLink_BranchIsNotSet()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogFileSaverTest.java71 EasyMock.expect(mockBuild.getBuildBranch()).andReturn(branch).anyTimes(); in testGetFileDir()
106 EasyMock.expect(mockBuild.getBuildBranch()).andReturn(null).anyTimes(); in testGetFileDir_nobranch()
131 EasyMock.expect(mockBuild.getBuildBranch()).andReturn(branch).anyTimes(); in testGetFileDir_retention()
DFileSystemLogSaverTest.java69 EasyMock.expect(mMockBuild.getBuildBranch()).andReturn(BRANCH).anyTimes(); in setUp()
120 EasyMock.expect(mockBuild.getBuildBranch()).andReturn(null).anyTimes(); in testGetFileDir_nobranch()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DTfTestLauncher.java168 } else if (mBuildInfo.getBuildBranch() != null) { in preRun()
169 mCmdArgs.add(mBuildInfo.getBuildBranch()); in preRun()
358 patterns.add(mBuildInfo.getBuildBranch()); in testTmpDirClean()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogFileSaver.java176 if (buildInfo.getBuildBranch() != null) { in generateTestArtifactPath()
177 pathSegments.add(buildInfo.getBuildBranch()); in generateTestArtifactPath()
DFileSystemLogSaver.java246 if (buildInfo.getBuildBranch() != null) { in createBuildDir()
247 pathSegments.add(buildInfo.getBuildBranch()); in createBuildDir()
DJsonHttpTestResultReporter.java255 result.put(KEY_BRANCH, buildInfo.getBuildBranch()); in convertMetricsToJson()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java856 EasyMock.expect(mockBuildInfo.getBuildBranch()).andReturn("branch").anyTimes(); in testLoadTests_moduleDifferentoptions()
907 EasyMock.expect(mockBuildInfo.getBuildBranch()).andReturn("branch").anyTimes(); in testLoadTestsForMainline()
DSuiteModuleLoaderTest.java114 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andStubReturn("branch"); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandler.java55 String buildBranch = buildInfo.getBuildBranch(); in buildDynamicBaseLink()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/build/
DIBuildInfo.java112 public String getBuildBranch(); in getBuildBranch() method
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DBootstrapBuildProviderTest.java123 assertEquals("stub", res.getBuildBranch()); in testGetBuild_stubDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DSandboxConfigurationFactoryTest.java173 assertEquals("test-branch", config.getBuildProvider().getBuild().getBuildBranch()); in testCreateConfiguration_runConfig()
DConfigurationFactoryTest.java1824 assertEquals("main", info.getBuildBranch()); in testCreateConfigurationFromArgs_yaml()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceFlashPreparer.java238 reportFlashMetrics(buildInfo.getBuildBranch(), buildInfo.getBuildFlavor(), in setUp()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceSshTunnelMonitor.java100 buildInfo.getBuildBranch(), in GceSshTunnelMonitor()
DGceManager.java300 gceArgs.add(b.getBuildBranch()); in buildGceCmd()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java256 EasyMock.expect(mMockBuildInfo.getBuildBranch()).andStubReturn("branch"); in setUp()