HomeSort by relevance Sort by last modified time
    Searched defs:TestAllTypes (Results 1 - 4 of 4) sorted by null

  /external/protobuf/java/src/test/java/com/google/protobuf/
DescriptorsTest.java 51 import protobuf_unittest.UnittestProto.TestAllTypes;
99 Descriptor messageType = TestAllTypes.getDescriptor();
101 assertEquals(messageType, file.findMessageTypeByName("TestAllTypes"));
103 assertNull(file.findMessageTypeByName("protobuf_unittest.TestAllTypes"));
146 Descriptor messageType = TestAllTypes.getDescriptor();
147 Descriptor nestedType = TestAllTypes.NestedMessage.getDescriptor();
149 assertEquals("TestAllTypes", messageType.getName());
150 assertEquals("protobuf_unittest.TestAllTypes", messageType.getFullName());
155 assertEquals("TestAllTypes", messageType.toProto().getName());
158 assertEquals("protobuf_unittest.TestAllTypes.NestedMessage"
    [all...]
WireFormatTest.java 40 import protobuf_unittest.UnittestProto.TestAllTypes;
58 TestAllTypes message = TestUtil.getAllSet();
63 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes);
80 // TestAllTypes and TestAllExtensions should have compatible wire formats,
81 // so if we serialize a TestAllExtensions then parse it as TestAllTypes
88 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes);
128 // TestAllTypes and TestAllExtensions should have compatible wire formats,
129 // so if we serialize a TestAllExtensions then parse it as TestAllTypes
    [all...]
AbstractMessageTest.java 37 import protobuf_unittest.UnittestProto.TestAllTypes;
176 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null);
185 TestAllTypes.newBuilder(TestUtil.getAllSet()))
187 TestUtil.assertClear((TestAllTypes) message.wrappedMessage);
192 new AbstractMessageWrapper.Builder(TestAllTypes.newBuilder())
194 TestUtil.assertAllFieldsSet((TestAllTypes) message.wrappedMessage);
198 TestAllTypes message = TestUtil.getAllSet();
209 TestAllTypes.parseFrom(abstractMessage.toByteString()));
217 new AbstractMessageWrapper.Builder(TestAllTypes.newBuilder());
220 TestUtil.assertAllFieldsSet((TestAllTypes) message.wrappedMessage)
    [all...]
GeneratedMessageTest.java 39 import protobuf_unittest.UnittestProto.TestAllTypes;
62 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null);
65 assertSame(TestAllTypes.getDefaultInstance(),
66 TestAllTypes.getDefaultInstance().getDefaultInstanceForType());
67 assertSame(TestAllTypes.getDefaultInstance(),
68 TestAllTypes.newBuilder().getDefaultInstanceForType());
72 TestAllTypes.Builder builder = TestAllTypes.newBuilder();
74 TestAllTypes message = builder.build();
79 TestAllTypes.Builder builder = TestAllTypes.newBuilder()
    [all...]

Completed in 100 milliseconds