Home
last modified time | relevance | path

Searched refs:emptyMessage (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DUnknownFieldSetTest.java58 emptyMessage = TestEmptyMessage.parseFrom(allFieldsData); in setUp()
59 unknownFields = emptyMessage.getUnknownFields(); in setUp()
99 TestEmptyMessage emptyMessage; field in UnknownFieldSetTest
154 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() local
250 assertEquals(emptyMessage.toString(), allTypesMessage.toString()); in testWrongTypeTreatedAsUnknown()
272 TestEmptyMessage emptyMessage = TestEmptyMessage.parseFrom(bizarroData); in testWrongExtensionTypeTreatedAsUnknown() local
[all …]
DLazyFieldLiteTest.java196 TestAllExtensions emptyMessage = TestAllExtensions.newBuilder().build(); in testMergeKeepsExtensionsWhenPossible() local
201 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()
DParserTest.java217 TestEmptyMessage emptyMessage = in testParseUnknownFields() local
221 emptyMessage.toByteString()); in testParseUnknownFields()
/external/protobuf/objectivec/Tests/
DGPBUnknownFieldSetTest.m197 TestEmptyMessage* emptyMessage =
202 XCTAssertEqualObjects(emptyMessage.data, allTypesMessage.data);
224 TestEmptyMessage* emptyMessage =
229 XCTAssertEqualObjects(emptyMessage.data, allExtensionsMessage.data);
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DStatusLineTest.java37 @Test public void emptyMessage() throws IOException { in emptyMessage() method in StatusLineTest