/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SerializationUtilTest.java | 20 import com.android.tradefed.build.BuildInfo; 54 BuildInfo b = new BuildInfo(); in testSerialize_Deserialize() 57 assertTrue(o instanceof BuildInfo); in testSerialize_Deserialize() 58 BuildInfo test = (BuildInfo) o; in testSerialize_Deserialize() 70 BuildInfo b = new BuildInfo(); in testSerialize_Deserialize_noDelete() 74 assertTrue(o instanceof BuildInfo); in testSerialize_Deserialize_noDelete() 75 BuildInfo test = (BuildInfo) o; in testSerialize_Deserialize_noDelete() 101 BuildInfo b = new BuildInfo(); in testSerialize_Deserialize_corrupted()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | BuildInfoTest.java | 49 private BuildInfo mBuildInfo; 54 mBuildInfo = new BuildInfo("1", "target"); in setUp() 69 BuildInfo copy = (BuildInfo) mBuildInfo.clone(); in testClone() 122 assertTrue(o instanceof BuildInfo); in testSerialization() 123 BuildInfo test = (BuildInfo) o; in testSerialization() 187 BuildInformation.BuildInfo proto = mBuildInfo.toProto(); in testProtoSerialization() 189 assertEquals(BuildInfo.class.getCanonicalName(), proto.getBuildInfoClass()); in testProtoSerialization() 194 IBuildInfo deserialized = BuildInfo.fromProto(proto); in testProtoSerialization() 205 BuildInfo testResourceBuild = new BuildInfo(); in testGetTestResource() 210 File file = BuildInfo.getTestResource(buildInfos, "test-resource1"); in testGetTestResource() [all …]
|
D | DeviceBuildDescriptorFuncTest.java | 29 BuildInfo b = new BuildInfo(); in testDeviceBuildDescriptor()
|
D | DeviceBuildDescriptorTest.java | 31 BuildInfo b = new BuildInfo(); in testDeviceBuildDescriptor()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | ShardMasterResultForwarderTest.java | 22 import com.android.tradefed.build.BuildInfo; 67 IBuildInfo mainBuild = new BuildInfo(); in testForwardBuildInfo() 73 IBuildInfo shardBuild1 = new BuildInfo(); in testForwardBuildInfo() 79 IBuildInfo shardBuild2 = new BuildInfo(); in testForwardBuildInfo() 101 IBuildInfo mainBuild1 = new BuildInfo(); in testForwardBuildInfo_multiDevice() 106 IBuildInfo mainBuild2 = new BuildInfo(); in testForwardBuildInfo_multiDevice() 112 IBuildInfo shardBuild1 = new BuildInfo(); in testForwardBuildInfo_multiDevice() 117 IBuildInfo shardBuild1_2 = new BuildInfo(); in testForwardBuildInfo_multiDevice() 123 IBuildInfo shardBuild2 = new BuildInfo(); in testForwardBuildInfo_multiDevice() 128 IBuildInfo shardBuild2_2 = new BuildInfo(); in testForwardBuildInfo_multiDevice() [all …]
|
D | SandboxedInvocationExecutionTest.java | 24 import com.android.tradefed.build.BuildInfo; 119 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, new BuildInfo()); in setUp() 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() 363 IBuildInfo info = new BuildInfo(); in testInvocation_preInvocationFailing()
|
D | TestInvocationMultiTest.java | 20 import com.android.tradefed.build.BuildInfo; 174 IBuildInfo build1 = new BuildInfo(); in testRunBuildProvider_oneMiss() 223 assertEquals(BuildInfo.UNKNOWN_BUILD_ID, stubBuild.getBuildId()); in testRunBuildProvider_oneMiss() 268 IBuildInfo build1 = new BuildInfo(); in testRunBuildProvider_oneThrow() 348 IBuildInfo build1 = new BuildInfo(); in testRunBuildProvider_cleanUpThrow()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | BuildInfo.java | 48 public class BuildInfo implements IBuildInfo { class 79 public BuildInfo() { in BuildInfo() method in BuildInfo 90 public BuildInfo(String buildId, String buildTargetName) { in BuildInfo() method in BuildInfo 101 BuildInfo(BuildInfo buildToCopy) { in BuildInfo() method in BuildInfo 209 protected void addAllBuildAttributes(BuildInfo build) { in addAllBuildAttributes() 229 protected void addAllFiles(BuildInfo build) throws IOException { in addAllFiles() 437 BuildInfo copy = null; in clone() 528 BuildInfo other = (BuildInfo) obj; in equals() 556 public BuildInformation.BuildInfo toProto() { in toProto() 557 BuildInformation.BuildInfo.Builder protoBuilder = BuildInformation.BuildInfo.newBuilder(); in toProto() [all …]
|
D | FolderBuildInfo.java | 25 public class FolderBuildInfo extends BuildInfo implements IFolderBuildInfo { 44 FolderBuildInfo(BuildInfo buildToCopy) { in FolderBuildInfo()
|
D | DeviceFolderBuildInfo.java | 66 copyAllFileFrom((BuildInfo) folderBuild); in setFolderBuild() 71 copyAllFileFrom((BuildInfo) deviceBuild); in setDeviceBuild()
|
D | AppBuildInfo.java | 28 public class AppBuildInfo extends BuildInfo implements IAppBuildInfo { 45 public AppBuildInfo(BuildInfo buildToCopy) { in AppBuildInfo()
|
D | AppDeviceBuildInfo.java | 60 copyAllFileFrom((BuildInfo) appBuild); in setAppBuild() 65 copyAllFileFrom((BuildInfo) deviceBuild); in setDeviceBuild()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | JarHostTestTest.java | 22 import com.android.tradefed.build.BuildInfo; 154 ((HostTest) shard1).setBuild(new BuildInfo()); in testSplit_withJar() 161 ((HostTest) shard2).setBuild(new BuildInfo()); in testSplit_withJar() 168 ((HostTest) shard3).setBuild(new BuildInfo()); in testSplit_withJar() 175 ((HostTest) shard4).setBuild(new BuildInfo()); in testSplit_withJar() 182 ((HostTest) shard5).setBuild(new BuildInfo()); in testSplit_withJar() 189 ((HostTest) shard6).setBuild(new BuildInfo()); in testSplit_withJar() 196 ((HostTest) shard7).setBuild(new BuildInfo()); in testSplit_withJar() 203 ((HostTest) shard8).setBuild(new BuildInfo()); in testSplit_withJar() 265 mTest.setBuild(new BuildInfo()); in testCountTestFails()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | PythonVirtualenvPreparerTest.java | 26 import com.android.tradefed.build.BuildInfo; 57 IBuildInfo buildInfo = new BuildInfo(); in testInstallDeps_reqFile_success() 68 IBuildInfo buildInfo = new BuildInfo(); in testInstallDeps_depModule_success() 79 IBuildInfo buildInfo = new BuildInfo(); in testInstallDeps_reqFile_failure() 94 IBuildInfo buildInfo = new BuildInfo(); in testInstallDeps_depModule_failure() 104 BuildInfo buildInfo = new BuildInfo(); in testInstallDeps_noDeps()
|
D | PushFilePreparerTest.java | 25 import com.android.tradefed.build.BuildInfo; 115 BuildInfo info = new BuildInfo(); in testPushFile_RemoteIsDir() 138 BuildInfo info = new BuildInfo(); in testPushDir_RemoteIsDir() 165 BuildInfo info = new BuildInfo(); in testPushDir_RemoteIsFile() 193 BuildInfo info = new BuildInfo(); in testRemotePush_conflict()
|
D | BuildInfoAttributePreparerTest.java | 18 import com.android.tradefed.build.BuildInfo; 42 final IBuildInfo build = new BuildInfo(); in testSimple()
|
D | TestFilePushSetupTest.java | 21 import com.android.tradefed.build.BuildInfo; 124 BuildInfo stubBuild = new BuildInfo("stub", "stub"); in testSetup_notDeviceBuildInfo()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | EmailResultReporterTest.java | 18 import com.android.tradefed.build.BuildInfo; 53 context.addDeviceBuildInfo("fakeDevice", new BuildInfo("888", "mybuild")); in testInvocationEnded() 73 context.addDeviceBuildInfo("fakeDevice", new BuildInfo("888", "mybuild")); in testInvocationEnded_multiBuild() 75 context.addDeviceBuildInfo("fakeDevice2", new BuildInfo("999", "mybuild2")); in testInvocationEnded_multiBuild() 94 context.addDeviceBuildInfo("fakeDevice", new BuildInfo("888", null)); in testNullFlavorAndBranch()
|
D | MetricsXMLResultReporterTest.java | 22 import com.android.tradefed.build.BuildInfo; 61 context.addDeviceBuildInfo("fakeDevice", new BuildInfo("1", "test")); in testEmptyGeneration() 78 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testRunMetrics() 105 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testTestMetrics() 130 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testTestFailMetrics()
|
D | LogFileSaverTest.java | 19 import com.android.tradefed.build.BuildInfo; 155 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testSaveLogData() 182 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testSaveAndGZipLogData() 206 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testSaveAndZipLogData() 236 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testCreateAndGZipLogData() 265 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testSaveLogDataRaw()
|
D | XmlResultReporterTest.java | 18 import com.android.tradefed.build.BuildInfo; 107 context.addDeviceBuildInfo("fakeDevice", new BuildInfo("1", "test")); in testEmptyGeneration() 121 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testSinglePass() 145 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testSingleFail()
|
D | DeviceUnavailEmailResultReporterTest.java | 20 import com.android.tradefed.build.BuildInfo; 53 context.addDeviceBuildInfo("fakeDevice", new BuildInfo("888", "mybuild")); in testGenerateEmailSubject()
|
/tools/tradefederation/core/proto/ |
D | build_info.proto | 34 // The Key indexing a list of BuildFile that are tracked by the BuildInfo. 36 // List of BuildFile that are tracked by the BuildInfo. 41 message BuildInfo { message 53 // For example: com.android.tradefed.build.BuildInfo
|
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | MetricsXmlParserTest.java | 27 import com.android.tradefed.build.BuildInfo; 89 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testSimpleParse() 117 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testParse() 152 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testParseBlacklist()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/adb/ |
D | AdbStopServerPreparerTest.java | 21 import com.android.tradefed.build.BuildInfo; 76 mMockBuild = new BuildInfo(); in setUp() 163 mPreparer.setUp(mMockDevice, new BuildInfo()); in testNoAdb()
|