Searched refs:emptyMessage (Results 1 – 5 of 5) sorted by relevance
58 emptyMessage = TestEmptyMessage.parseFrom(allFieldsData); in setUp()59 unknownFields = emptyMessage.getUnknownFields(); in setUp()99 TestEmptyMessage emptyMessage; field in UnknownFieldSetTest154 ByteString data = emptyMessage.toByteString(); in testSerialize()160 TestEmptyMessage.newBuilder().mergeFrom(emptyMessage).build(); in testCopyFrom()162 assertEquals(emptyMessage.toString(), message.toString()); in testCopyFrom()208 TestEmptyMessage.newBuilder().mergeFrom(emptyMessage).clear().build(); in testClearMessage()246 TestEmptyMessage emptyMessage = TestEmptyMessage.parseFrom(bizarroData); in testWrongTypeTreatedAsUnknown() local250 assertEquals(emptyMessage.toString(), allTypesMessage.toString()); in testWrongTypeTreatedAsUnknown()272 TestEmptyMessage emptyMessage = TestEmptyMessage.parseFrom(bizarroData); in testWrongExtensionTypeTreatedAsUnknown() local[all …]
196 TestAllExtensions emptyMessage = TestAllExtensions.newBuilder().build(); in testMergeKeepsExtensionsWhenPossible() local201 field.merge(createLazyFieldLiteFromMessage(emptyRegistry, emptyMessage)); in testMergeKeepsExtensionsWhenPossible()205 field = createLazyFieldLiteFromMessage(emptyRegistry, emptyMessage); in testMergeKeepsExtensionsWhenPossible()211 LazyFieldLite other = createLazyFieldLiteFromMessage(emptyRegistry, emptyMessage); in testMergeKeepsExtensionsWhenPossible()217 field = createLazyFieldLiteFromMessage(emptyRegistry, emptyMessage); in testMergeKeepsExtensionsWhenPossible()
217 TestEmptyMessage emptyMessage = in testParseUnknownFields() local221 emptyMessage.toByteString()); in testParseUnknownFields()
197 TestEmptyMessage* emptyMessage =202 XCTAssertEqualObjects(emptyMessage.data, allTypesMessage.data);224 TestEmptyMessage* emptyMessage =229 XCTAssertEqualObjects(emptyMessage.data, allExtensionsMessage.data);
37 @Test public void emptyMessage() throws IOException { in emptyMessage() method in StatusLineTest