Home
last modified time | relevance | path

Searched refs:deserialized (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DInvocationContextTest.java134 InvocationContext deserialized = in testSerialize() local
138 assertNotNull(deserialized.getDeviceBuildMap()); in testSerialize()
139 assertNotNull(deserialized.getConfigurationDescriptor()); in testSerialize()
140 assertEquals(info, deserialized.getBuildInfo("test-device")); in testSerialize()
143 assertTrue(deserialized.getDevices().isEmpty()); in testSerialize()
145 deserialized.addAllocatedDevice("test-device", device); in testSerialize()
167 InvocationContext deserialized = InvocationContext.fromProto(protoContext); in testProtoSerialize() local
168 assertNull(deserialized.getModuleInvocationContext()); in testProtoSerialize()
169 assertNotNull(deserialized.getConfigurationDescriptor()); in testProtoSerialize()
170 assertEquals("tag", deserialized.getTestTag()); in testProtoSerialize()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DConfigurationDescriptorTest.java98 ConfigurationDescriptor deserialized = ConfigurationDescriptor.fromProto(protoDescriptor); in testProtoSerialization() local
99 assertNull(deserialized.getAbi()); in testProtoSerialization()
100 assertTrue(deserialized.shouldUseSandbox()); in testProtoSerialization()
101 assertFalse(deserialized.isNotShardable()); in testProtoSerialization()
102 assertFalse(deserialized.isNotStrictShardable()); in testProtoSerialization()
/tools/tradefederation/core/javatests/com/android/tradefed/build/
DBuildInfoTest.java211 IBuildInfo deserialized = BuildInfo.fromProto(proto); in testProtoSerialization() local
212 assertEquals("1", deserialized.getBuildId()); in testProtoSerialization()
214 assertNull(deserialized.getBuildFlavor()); in testProtoSerialization()
215 assertNotNull(deserialized.getVersionedFile(FILE_KEY)); in testProtoSerialization()
219 assertTrue(deserialized.getRemoteFiles().contains(new File(file))); in testProtoSerialization()
/tools/tradefederation/core/javatests/com/android/tradefed/error/
DHarnessExceptionTest.java43 HarnessException deserialized = in testSerializable() local
46 assertEquals("com.android.tradefed.error.HarnessExceptionTest", deserialized.getOrigin()); in testSerializable()
47 assertEquals(InfraErrorIdentifier.UNDETERMINED, deserialized.getErrorId()); in testSerializable()