Home
last modified time | relevance | path

Searched refs:messageWithExtensions (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLazyFieldLiteTest.java194 TestAllExtensions messageWithExtensions = in testMergeKeepsExtensionsWhenPossible() local
200 LazyFieldLite field = LazyFieldLite.fromValue(messageWithExtensions); in testMergeKeepsExtensionsWhenPossible()
202 assertEquals(messageWithExtensions, field.getValue(TestAllExtensions.getDefaultInstance())); in testMergeKeepsExtensionsWhenPossible()
206 field.merge(LazyFieldLite.fromValue(messageWithExtensions)); in testMergeKeepsExtensionsWhenPossible()
207 assertEquals(messageWithExtensions, field.getValue(TestAllExtensions.getDefaultInstance())); in testMergeKeepsExtensionsWhenPossible()
210 field = LazyFieldLite.fromValue(messageWithExtensions); in testMergeKeepsExtensionsWhenPossible()
214 assertEquals(messageWithExtensions, field.getValue(TestAllExtensions.getDefaultInstance())); in testMergeKeepsExtensionsWhenPossible()
219 other = LazyFieldLite.fromValue(messageWithExtensions); in testMergeKeepsExtensionsWhenPossible()
221 assertEquals(messageWithExtensions, field.getValue(TestAllExtensions.getDefaultInstance())); in testMergeKeepsExtensionsWhenPossible()
DLiteTest.java1528 TestAllExtensionsLite messageWithExtensions = TestAllExtensionsLite.newBuilder() in testToStringUnknownFields() local
1538 messageWithExtensions.toByteArray()); in testToStringUnknownFields()