Home
last modified time | relevance | path

Searched refs:TestOneof (Results 1 - 10 of 10) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
H A DAnyTest.cs72 Assert.Throws<InvalidProtocolBufferException>(() => any.Unpack<TestOneof>()); in Unpack_WrongType()
98 Assert.False(any.TryUnpack(out TestOneof unpacked)); in TryUnpack_WrongType()
148 Assert.False(any.Is(TestOneof.Descriptor)); in IsWrongType()
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
H A DJsonFormatTest.java63 import com.google.protobuf.util.proto.JsonTestProto.TestOneof;
471 TestOneof.Builder builder = TestOneof.newBuilder(); in testNullInOneof()
473 TestOneof message = builder.build(); in testNullInOneof()
474 assertEquals(TestOneof.OneofFieldCase.ONEOF_NULL_VALUE, message.getOneofFieldCase()); in testNullInOneof()
479 TestOneof.Builder builder = TestOneof.newBuilder(); in testNullFirstInDuplicateOneof()
481 TestOneof message = builder.build(); in testNullFirstInDuplicateOneof()
486 TestOneof.Builder builder = TestOneof in testNullLastInDuplicateOneof()
[all...]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
H A DAnyTest.cs72 Assert.Throws<InvalidProtocolBufferException>(() => any.Unpack<TestOneof>()); in Unpack_WrongType()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DJsonFormatterTest.cs193 var message = new TestOneof(); in WithFormatDefaultValues_DoesNotAffectOneofFields()
344 var message = new TestOneof(); in Oneof()
/third_party/protobuf/src/google/protobuf/util/
H A Djson_util_test.cc58 using proto3::TestOneof;
294 TestOneof message; in TEST_F()
H A Dtype_resolver_util_test.cc314 TEST_F(DescriptorPoolTypeResolverTest, TestOneof) { in TEST_F()
/third_party/protobuf/python/google/protobuf/internal/
H A Djson_format_test.py408 message = json_format_proto3_pb2.TestOneof()
419 parsed_message = json_format_proto3_pb2.TestOneof()
1084 message = json_format_proto3_pb2.TestOneof()
1088 'Message type "proto3.TestOneof"'
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
H A DUnittestProto3.cs185 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestOneof), global::Google.Protobuf.TestProtos.TestOneof.Parser, new[]{ "FooInt", "FooString", "FooMessage" }, new[]{ "Foo" }, null, null, null), in UnittestProto3Reflection()
6760 public sealed partial class TestOneof : pb::IMessage<TestOneof> class
6765 private static readonly pb::MessageParser<TestOneof> _parser = new pb::MessageParser<TestOneof>(() => new TestOneof());
6768 public static pb::MessageParser<TestOneof> Parser { get { return _parser; } }
6781 public TestOneof() { in TestOneof() method in Google.Protobuf.TestProtos.TestOneof
6788 public TestOneof(TestOneo method in Google.Protobuf.TestProtos.TestOneof
[all...]
H A DUnittest.cs719 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestOneof), global::Google.Protobuf.TestProtos.Proto2.TestOneof.Parser, new[]{ "FooInt", "FooString", "FooMessage", "FooGroup" }, new[]{ "Foo" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestOneof.Types.FooGroup), global::Google.Protobuf.TestProtos.Proto2.TestOneof.Types.FooGroup.Parser, new[]{ "A", "B" }, null, null, null, null)}), in UnittestReflection()
19026 public sealed partial class TestOneof : pb::IMessage<TestOneof> class
19031 private static readonly pb::MessageParser<TestOneof> _parser = new pb::MessageParser<TestOneof>(() => new TestOneof());
19034 public static pb::MessageParser<TestOneof> Parse
19047 public TestOneof() { TestOneof() method in Google.Protobuf.TestProtos.Proto2.TestOneof
19054 public TestOneof(TestOneof other) : this() { TestOneof() method in Google.Protobuf.TestProtos.Proto2.TestOneof
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dwire_format_unittest.cc209 unittest::TestOneof oneof_dest; in TEST()

Completed in 51 milliseconds