Home
last modified time | relevance | path

Searched refs:OneofFieldOneofCase (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestWellKnownTypes.cs1389 case OneofFieldOneofCase.AnyField: in OneofWellKnownTypes()
1392 case OneofFieldOneofCase.ApiField: in OneofWellKnownTypes()
1395 case OneofFieldOneofCase.DurationField: in OneofWellKnownTypes()
1398 case OneofFieldOneofCase.EmptyField: in OneofWellKnownTypes()
1401 case OneofFieldOneofCase.FieldMaskField: in OneofWellKnownTypes()
1404 case OneofFieldOneofCase.SourceContextField: in OneofWellKnownTypes()
1407 case OneofFieldOneofCase.StructField: in OneofWellKnownTypes()
1410 case OneofFieldOneofCase.TimestampField: in OneofWellKnownTypes()
1413 case OneofFieldOneofCase.TypeField: in OneofWellKnownTypes()
1416 case OneofFieldOneofCase.DoubleField: in OneofWellKnownTypes()
[all …]
DUnittestProto3.cs306 case OneofFieldOneofCase.OneofUint32: in TestAllTypes()
309 case OneofFieldOneofCase.OneofNestedMessage: in TestAllTypes()
312 case OneofFieldOneofCase.OneofString: in TestAllTypes()
315 case OneofFieldOneofCase.OneofBytes: in TestAllTypes()
805 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; }
808 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32;
816 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::Google.Protobuf.…
819 …oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessag…
827 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; }
830 oneofFieldCase_ = OneofFieldOneofCase.OneofString;
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs109 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.None, message.OneofFieldCase); in DefaultValues()
562 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.None, message.OneofFieldCase); in OneofProperties()
569 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofString, message.OneofFieldCase); in OneofProperties()
577 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofBytes, message.OneofFieldCase); in OneofProperties()
584 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message.OneofFieldCase); in OneofProperties()
592 … Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofNestedMessage, message.OneofFieldCase); in OneofProperties()
599 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.None, message.OneofFieldCase); in OneofProperties()
607 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofString, message1.OneofFieldCase); in Oneof_DefaultValuesNotEqual()
608 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message2.OneofFieldCase); in Oneof_DefaultValuesNotEqual()
623 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message2.OneofFieldCase); in OneofSerialization_NonDefaultValue()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs264 … Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.EmptyField, message.OneofFieldCase); in Oneof()
268 … Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.StringField, message.OneofFieldCase); in Oneof()
272 … Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.StringField, message.OneofFieldCase); in Oneof()
276 … Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.DoubleField, message.OneofFieldCase); in Oneof()
280 … Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.DoubleField, message.OneofFieldCase); in Oneof()
284 Assert.AreEqual(OneofWellKnownTypes.OneofFieldOneofCase.None, message.OneofFieldCase); in Oneof()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/
DConformance.cs894 case OneofFieldOneofCase.OneofUint32: in TestAllTypes()
897 case OneofFieldOneofCase.OneofNestedMessage: in TestAllTypes()
900 case OneofFieldOneofCase.OneofString: in TestAllTypes()
903 case OneofFieldOneofCase.OneofBytes: in TestAllTypes()
1570 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; }
1573 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32;
1581 …get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::Conformance.Test…
1584 …oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessag…
1592 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; }
1595 oneofFieldCase_ = OneofFieldOneofCase.OneofString;
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs198 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.None, message.OneofFieldCase); in Oneof()