Home
last modified time | relevance | path

Searched refs:getTestTag (Results 1 – 25 of 28) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java570 context.setTestTag(getTestTag(config)); in updateInvocationContext()
574 private String getTestTag(IConfiguration config) { in getTestTag() method in InvocationExecution
575 String testTag = config.getCommandOptions().getTestTag(); in getTestTag()
586 if (!"stub".equals(config.getCommandOptions().getTestTag())) { in setTestTag()
587 info.setTestTag(getTestTag(config)); in setTestTag()
588 } else if (Strings.isNullOrEmpty(info.getTestTag())) { in setTestTag()
DInvocationContext.java289 public String getTestTag() { in getTestTag() method in InvocationContext
413 context.mTestTag = protoContext.getTestTag(); in fromProto()
DIInvocationContext.java173 public String getTestTag(); in getTestTag() method
DTestInvocation.java180 msg.append(context.getTestTag()); in logStartInvocation()
192 mStatus = String.format("running %s on build(s) '%s'", context.getTestTag(), in logStartInvocation()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java947 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice()
955 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice()
1016 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1027 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1073 config.getDeviceConfigByName("device1").getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice_singletag()
1087 config.getDeviceConfigByName("device2").getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice_singletag()
1122 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice_applyCommandLineGlobal()
1130 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_multidevice_applyCommandLineGlobal()
1245 .getBuildProvider().getBuild().getTestTag()); in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxedInvocationExecutionTest.java53 assertEquals("stub", info.getTestTag()); in testBuildInfo_testTag()
59 assertEquals("test", info.getTestTag()); in testBuildInfo_testTag()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogFileSaverTest.java73 EasyMock.expect(mockBuild.getTestTag()).andReturn(testtag).anyTimes(); in testGetFileDir()
108 EasyMock.expect(mockBuild.getTestTag()).andReturn(testtag).anyTimes(); in testGetFileDir_nobranch()
133 EasyMock.expect(mockBuild.getTestTag()).andReturn(testtag).anyTimes(); in testGetFileDir_retention()
DFileSystemLogSaverTest.java71 EasyMock.expect(mMockBuild.getTestTag()).andReturn(TEST_TAG).anyTimes(); in setUp()
122 EasyMock.expect(mockBuild.getTestTag()).andReturn(TEST_TAG).anyTimes(); in testGetFileDir_nobranch()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationContextTest.java162 assertEquals("tag", protoContext.getTestTag()); in testProtoSerialize()
170 assertEquals("tag", deserialized.getTestTag()); in testProtoSerialize()
DTestInvocationTest.java350 EasyMock.expect(mMockBuildInfo.getTestTag()).andStubReturn(null); in testInvoke_buildFailed()
373 assertEquals(expectedTestTag, mStubInvocationMetadata.getTestTag()); in testInvoke_buildFailed()
577 EasyMock.expect(mMockBuildInfo.getTestTag()).andStubReturn(""); in testInvoke_resume()
929 EasyMock.expect(mMockBuildInfo.getTestTag()).andStubReturn("stub"); in testInvoke_testtag()
958 EasyMock.expect(mMockBuildInfo.getTestTag()).andStubReturn("buildprovidertesttag"); in testInvoke_testtag_notset()
987 EasyMock.expect(mMockBuildInfo.getTestTag()).andStubReturn(null); in testInvoke_notesttag()
1027 EasyMock.expect(mMockBuildInfo.getTestTag()).andStubReturn(null); in testInvoke_buildProviderNeedTestTag()
1084 EasyMock.expect(mMockBuildInfo.getTestTag()).andStubReturn(""); in setupInvokeWithBuild()
1422 EasyMock.expect(mMockBuildInfo.getTestTag()).andStubReturn(""); in setupNShardInvocation()
/tools/tradefederation/core/src/com/android/tradefed/build/
DOtaDeviceBuildInfo.java82 public String getTestTag() { in getTestTag() method in OtaDeviceBuildInfo
83 return mBaselineBuild.getTestTag(); in getTestTag()
DIBuildInfo.java62 public String getTestTag(); in getTestTag() method
DBuildInfo.java151 public String getTestTag() { in getTestTag() method in BuildInfo
213 setTestTag(build.getTestTag()); in addAllBuildAttributes()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DTfTestLauncherTest.java125 EasyMock.expect(mMockBuildInfo.getTestTag()).andReturn(TEST_TAG); in testRun()
229 EasyMock.expect(mMockBuildInfo.getTestTag()).andReturn(TEST_TAG); in testRunCoverage()
/tools/tradefederation/core/src/com/android/tradefed/command/
DICommandOptions.java84 public String getTestTag(); in getTestTag() method
DCommandOptions.java437 public String getTestTag() { in getTestTag() method in CommandOptions
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessTestResultsParser.java491 if (mContext.getTestTag() == null || "stub".equals(mContext.getTestTag())) { in handleEvent()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java350 assertEquals(subTestTag, context.getTestTag()); in testParse_testTag()
431 assertEquals(parentTestTag, context.getTestTag()); in testParse_testTagNotOverwrite()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DPythonVirtualenvPreparer.java116 mVenvDir = FileUtil.createNamedTempDir(buildInfo.getTestTag() + "-virtualenv"); in startVirtualenv()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLegacySubprocessResultsReporter.java90 new InvocationStartedEventInfo(buildInfo.getTestTag(), System.currentTimeMillis()); in invocationStarted()
DXmlResultReporter.java151 serializer.attribute(NS, ATTR_NAME, getInvocationContext().getTestTag()); in printTestResults()
DEmailResultReporter.java147 if (!appendUnlessNull(subj, context.getTestTag())) { in generateEmailSubject()
DMetricsXMLResultReporter.java130 serializer.attribute(NS, ATTR_NAME, getInvocationContext().getTestTag()); in printRunResults()
DLogFileSaver.java180 pathSegments.add(buildInfo.getTestTag()); in generateTestArtifactPath()
DFileSystemLogSaver.java239 pathSegments.add(buildInfo.getTestTag()); in createBuildDir()

12