Home
last modified time | relevance | path

Searched refs:getAllSet (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLazyFieldTest.java47 MessageLite message = TestUtil.getAllSet(); in testHashCode()
70 MessageLite message = TestUtil.getAllSet(); in testGetValue()
86 MessageLite message = TestUtil.getAllSet(); in testEqualsObject()
112 TestAllTypes.Builder builder = TestUtil.getAllSet().toBuilder(); in changeValue()
DAbstractMessageTest.java217 TestAllTypes.newBuilder(TestUtil.getAllSet())) in testClear()
225 .mergeFrom(TestUtil.getAllSet()).build(); in testCopy()
230 TestAllTypes message = TestUtil.getAllSet(); in testSerializedSize()
231 Message abstractMessage = new AbstractMessageWrapper(TestUtil.getAllSet()); in testSerializedSize()
238 Message abstractMessage = new AbstractMessageWrapper(TestUtil.getAllSet()); in testSerialization()
243 assertEquals(TestUtil.getAllSet().toByteString(), in testSerialization()
251 builder.mergeFrom(TestUtil.getAllSet().toByteString()).build(); in testParsing()
444 TestAllTypes a = TestUtil.getAllSet(); in testEqualsAndHashCode()
DLazyFieldLiteTest.java51 MessageLite message = TestUtil.getAllSet(); in testGetValue()
67 MessageLite message = TestUtil.getAllSet(); in testSetValue()
87 MessageLite message = TestUtil.getAllSet(); in testGetSerializedSize()
103 MessageLite message = TestUtil.getAllSet(); in testGetByteString()
261 TestAllTypes.Builder builder = TestUtil.getAllSet().toBuilder(); in changeValue()
DParserTest.java61 assertEquals(TestAllTypes.parser(), TestUtil.getAllSet().getParserForType()); in testGeneratedMessageParserSingleton()
122 assertRoundTripEquals(TestUtil.getAllSet()); in testNormalMessage()
196 TestAllTypes normalMessage = TestUtil.getAllSet(); in testParseDelimitedTo()
218 TestEmptyMessage.parser().parseFrom(TestUtil.getAllSet().toByteString()); in testParseUnknownFields()
220 TestUtil.getAllSet().toByteString(), in testParseUnknownFields()
DWireFormatTest.java61 TestAllTypes message = TestUtil.getAllSet(); in testSerialization()
161 TestAllTypes message = TestUtil.getAllSet(); in testParseExtensions()
190 TestAllTypes message = TestUtil.getAllSet(); in testParseExtensionsLite()
223 assertNotSame(TestUtil.getAllSet().getSerializedSize(), in testExtensionsSerializedSize()
229 TestUtil.getAllSet().writeDelimitedTo(output); in testSerializeDelimited()
DCodedInputStreamTest.java317 TestAllTypes message = TestUtil.getAllSet(); in testReadWholeMessage()
335 TestAllTypes message = TestUtil.getAllSet(); in testSkipWholeMessage()
414 .setOptionalBytes(TestUtil.getAllSet().getOptionalBytes()) in testReadHugeBlob()
491 TestUtil.getAllSet().toByteString().newInput(), 16)); in testSizeLimit()
DDynamicMessageTest.java155 TestAllTypes message = TestUtil.getAllSet(); in testDynamicMessageSerializedSize()
178 assertEquals(TestUtil.getAllSet().toByteString(), rawBytes); in testDynamicMessageSerialization()
DUnknownFieldSetTest.java56 allFields = TestUtil.getAllSet(); in setUp()
DCodedOutputStreamTest.java318 TestAllTypes message = TestUtil.getAllSet(); in testWriteWholeMessage()
DTextFormatTest.java136 String javaText = TextFormat.printToString(TestUtil.getAllSet()); in testPrintMessage()
DGeneratedMessageTest.java190 TestAllTypes value = TestAllTypes.parser().parseFrom(TestUtil.getAllSet().toByteString()); in testParsedMessagesAreImmutable()
DTestUtil.java266 public static TestAllTypes getAllSet() { in getAllSet() method in TestUtil
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DAbstractMessageTest.java194 TestAllTypes.newBuilder(TestUtil.getAllSet())) in testClear()
202 .mergeFrom(TestUtil.getAllSet()).build(); in testCopy()
207 TestAllTypes message = TestUtil.getAllSet(); in testSerializedSize()
208 Message abstractMessage = new AbstractMessageWrapper(TestUtil.getAllSet()); in testSerializedSize()
215 Message abstractMessage = new AbstractMessageWrapper(TestUtil.getAllSet()); in testSerialization()
220 assertEquals(TestUtil.getAllSet().toByteString(), in testSerialization()
228 builder.mergeFrom(TestUtil.getAllSet().toByteString()).build(); in testParsing()
421 TestAllTypes a = TestUtil.getAllSet(); in testEqualsAndHashCode()
DParserTest.java60 TestUtil.getAllSet().getParserForType()); in testGeneratedMessageParserSingleton()
117 assertRoundTripEquals(TestUtil.getAllSet()); in testNormalMessage()
175 TestAllTypes normalMessage = TestUtil.getAllSet(); in testParseDelimitedTo()
188 TestUtil.getAllSet().toByteString()); in testParseUnknownFields()
190 TestUtil.getAllSet().toByteString(), in testParseUnknownFields()
DWireFormatTest.java58 TestAllTypes message = TestUtil.getAllSet(); in testSerialization()
132 TestAllTypes message = TestUtil.getAllSet(); in testParseExtensions()
157 assertEquals(TestUtil.getAllSet().getSerializedSize(), in testExtensionsSerializedSize()
163 TestUtil.getAllSet().writeDelimitedTo(output); in testSerializeDelimited()
DCodedInputStreamTest.java258 TestAllTypes message = TestUtil.getAllSet(); in testReadWholeMessage()
276 TestAllTypes message = TestUtil.getAllSet(); in testSkipWholeMessage()
354 .setOptionalBytes(TestUtil.getAllSet().getOptionalBytes()) in testReadHugeBlob()
DDynamicMessageTest.java152 TestAllTypes message = TestUtil.getAllSet(); in testDynamicMessageSerializedSize()
175 assertEquals(TestUtil.getAllSet().toByteString(), rawBytes); in testDynamicMessageSerialization()
DCodedOutputStreamTest.java281 TestAllTypes message = TestUtil.getAllSet(); in testWriteWholeMessage()
DTextFormatTest.java115 String javaText = TextFormat.printToString(TestUtil.getAllSet()); in testPrintMessage()
DUnknownFieldSetTest.java53 allFields = TestUtil.getAllSet(); in setUp()
DGeneratedMessageTest.java168 TestUtil.getAllSet().toByteString()); in testParsedMessagesAreImmutable()
DTestUtil.java178 public static TestAllTypes getAllSet() { in getAllSet() method in TestUtil