Searched refs:optionalOnlyMessage (Results 1 – 1 of 1) sorted by relevance
296 TestOptionalFieldsOnly optionalOnlyMessage = TestOptionalFieldsOnly.parseFrom(data); in testRepeatedFields() local297 assertEquals(1234, optionalOnlyMessage.getOptionalInt32()); in testRepeatedFields()298 assertEquals("hello", optionalOnlyMessage.getOptionalString()); in testRepeatedFields()299 assertTrue(optionalOnlyMessage.hasOptionalNestedMessage()); in testRepeatedFields()300 assertEquals(0, optionalOnlyMessage.getOptionalNestedMessage().getValue()); in testRepeatedFields()352 TestOptionalFieldsOnly optionalOnlyMessage = in testUnknownFields() local356 0, optionalOnlyMessage.getUnknownFields().toByteString().size()); in testUnknownFields()357 assertEquals(1234, optionalOnlyMessage.getOptionalInt32()); in testUnknownFields()358 message = TestAllTypes.parseFrom(optionalOnlyMessage.toByteString()); in testUnknownFields()370 assertEquals(optionalOnlyMessage.toByteString(), in testUnknownFields()