Home
last modified time | relevance | path

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

/external/protobuf/java/src/test/java/com/google/protobuf/
DLazyFieldLiteTest.java47 MessageLite message = TestUtil.getAllSet(); in testGetValue()
63 MessageLite message = TestUtil.getAllSet(); in testSetValue()
83 MessageLite message = TestUtil.getAllSet(); in testGetSerializedSize()
99 MessageLite message = TestUtil.getAllSet(); in testGetByteString()
123 TestAllTypes.Builder builder = TestUtil.getAllSet().toBuilder(); in changeValue()
DLazyFieldTest.java46 MessageLite message = TestUtil.getAllSet(); in testHashCode()
69 MessageLite message = TestUtil.getAllSet(); in testGetValue()
85 MessageLite message = TestUtil.getAllSet(); in testEqualsObject()
111 TestAllTypes.Builder builder = TestUtil.getAllSet().toBuilder(); in changeValue()
DAbstractMessageTest.java193 TestAllTypes.newBuilder(TestUtil.getAllSet())) in testClear()
201 .mergeFrom(TestUtil.getAllSet()).build(); in testCopy()
206 TestAllTypes message = TestUtil.getAllSet(); in testSerializedSize()
207 Message abstractMessage = new AbstractMessageWrapper(TestUtil.getAllSet()); in testSerializedSize()
214 Message abstractMessage = new AbstractMessageWrapper(TestUtil.getAllSet()); in testSerialization()
219 assertEquals(TestUtil.getAllSet().toByteString(), in testSerialization()
227 builder.mergeFrom(TestUtil.getAllSet().toByteString()).build(); in testParsing()
420 TestAllTypes a = TestUtil.getAllSet(); in testEqualsAndHashCode()
DParserTest.java62 TestUtil.getAllSet().getParserForType()); in testGeneratedMessageParserSingleton()
123 assertRoundTripEquals(TestUtil.getAllSet()); in testNormalMessage()
198 TestAllTypes normalMessage = TestUtil.getAllSet(); in testParseDelimitedTo()
220 TestUtil.getAllSet().toByteString()); in testParseUnknownFields()
222 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.java315 TestAllTypes message = TestUtil.getAllSet(); in testReadWholeMessage()
333 TestAllTypes message = TestUtil.getAllSet(); in testSkipWholeMessage()
412 .setOptionalBytes(TestUtil.getAllSet().getOptionalBytes()) in testReadHugeBlob()
489 TestUtil.getAllSet().toByteString().newInput(), 16)); in testSizeLimit()
DDynamicMessageTest.java155 TestAllTypes message = TestUtil.getAllSet(); in testDynamicMessageSerializedSize()
178 assertEquals(TestUtil.getAllSet().toByteString(), rawBytes); in testDynamicMessageSerialization()
DCodedOutputStreamTest.java281 TestAllTypes message = TestUtil.getAllSet(); in testWriteWholeMessage()
DUnknownFieldSetTest.java55 allFields = TestUtil.getAllSet(); in setUp()
DTextFormatTest.java133 String javaText = TextFormat.printToString(TestUtil.getAllSet()); in testPrintMessage()
DGeneratedMessageTest.java193 TestUtil.getAllSet().toByteString()); in testParsedMessagesAreImmutable()
DTestUtil.java290 public static TestAllTypes getAllSet() { in getAllSet() method in TestUtil