Home
last modified time | relevance | path

Searched refs:SampleMessages (Results 1 – 16 of 16) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DAnyTest.cs43 var message = SampleMessages.CreateFullTestAllTypes(); in Pack()
52 var message = SampleMessages.CreateFullTestAllTypes(); in Pack_WithCustomPrefix()
61 var message = SampleMessages.CreateFullTestAllTypes(); in Pack_WithCustomPrefixTrailingSlash()
70 var message = SampleMessages.CreateFullTestAllTypes(); in Unpack_WrongType()
78 var message = SampleMessages.CreateFullTestAllTypes(); in Unpack_Success()
87 var message = SampleMessages.CreateFullTestAllTypes(); in Unpack_CustomPrefix_Success()
96 var message = SampleMessages.CreateFullTestAllTypes(); in TryUnpack_WrongType()
105 var message = SampleMessages.CreateFullTestAllTypes(); in TryUnpack_RightType()
114 var message = SampleMessages.CreateFullTestAllTypes(); in ToString_WithValues()
147 var any = Any.Pack(SampleMessages.CreateFullTestAllTypes()); in IsWrongType()
[all …]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DAnyTest.cs43 var message = SampleMessages.CreateFullTestAllTypes(); in Pack()
52 var message = SampleMessages.CreateFullTestAllTypes(); in Pack_WithCustomPrefix()
61 var message = SampleMessages.CreateFullTestAllTypes(); in Pack_WithCustomPrefixTrailingSlash()
70 var message = SampleMessages.CreateFullTestAllTypes(); in Unpack_WrongType()
78 var message = SampleMessages.CreateFullTestAllTypes(); in Unpack_Success()
87 var message = SampleMessages.CreateFullTestAllTypes(); in Unpack_CustomPrefix_Success()
96 var message = SampleMessages.CreateFullTestAllTypes(); in ToString_WithValues()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs46 var message = SampleMessages.CreateFullTestAllTypes(); in GetValue()
91 var message = SampleMessages.CreateFullTestAllTypes(); in Clear()
101 var expected = new TestAllTypes(SampleMessages.CreateFullTestAllTypes()) in Clear()
125 var message = SampleMessages.CreateFullTestAllTypes(); in SetValue_SingleFields()
135 var expected = new TestAllTypes(SampleMessages.CreateFullTestAllTypes()) in SetValue_SingleFields()
152 IMessage message = SampleMessages.CreateFullTestAllTypes(); in SetValue_SingleFields_WrongType()
168 IMessage message = SampleMessages.CreateFullTestAllTypes(); in SetValue_RepeatedFields()
176 IMessage message = SampleMessages.CreateFullTestAllTypes(); in GetValue_IncorrectType()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs50 var message = SampleMessages.CreateFullTestAllTypes(); in GetValue()
95 IMessage message = SampleMessages.CreateFullTestAllTypes(); in GetValue_IncorrectType()
144 IMessage message = SampleMessages.CreateFullTestAllTypes(); in HasValue_Proto3_Primitive_NotOptional()
211 var message = SampleMessages.CreateFullTestAllTypes(); in SetValue_SingleFields()
221 var expected = new TestAllTypes(SampleMessages.CreateFullTestAllTypes()) in SetValue_SingleFields()
238 IMessage message = SampleMessages.CreateFullTestAllTypes(); in SetValue_SingleFields_WrongType()
254 IMessage message = SampleMessages.CreateFullTestAllTypes(); in SetValue_RepeatedFields()
282 var message = SampleMessages.CreateFullTestAllTypes(); in Clear()
292 var expected = new TestAllTypes(SampleMessages.CreateFullTestAllTypes()) in Clear()
389 var message = SampleMessages.CreateFullTestAllExtensions(); in GetExtensionValue()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DUnknownFieldSetTest.cs49 yield return SampleMessages.CreateFullTestAllTypesProto2();
50 yield return SampleMessages.CreateFullTestAllTypes();
DCodedInputStreamTest.cs313 TestAllTypes message = SampleMessages.CreateFullTestAllTypes(); in ReadWholeMessage_VaryingBlockSizes()
331 TestAllTypes message = SampleMessages.CreateFullTestAllTypes(); in ReadWholeMessage_VaryingBlockSizes_FromSequence()
569 … MemoryStream ms = new MemoryStream(SampleMessages.CreateFullTestAllTypes().ToByteArray()); in SizeLimit()
914 TestAllTypes message = SampleMessages.CreateFullTestAllTypes(); in GenerateBigSerializedMessage()
DCodedOutputStreamTest.cs259 TestAllTypes message = SampleMessages.CreateFullTestAllTypes(); in WriteWholeMessage_VaryingBlockSizes()
282 TestAllTypes message = SampleMessages.CreateFullTestAllTypes(); in WriteContext_WritesWithFlushes()
DGeneratedMessageTest.cs695 var message = SampleMessages.CreateFullTestAllTypes(); in DiscardUnknownFields_RealDataStillRead()
719 var data = SampleMessages.CreateFullTestAllTypes().ToByteArray(); in DiscardUnknownFields_AllTypes()
749 var message = SampleMessages.CreateFullTestAllTypes(); in ExtraEndGroupThrows()
DSampleMessages.cs44 public class SampleMessages class
DJsonParserTest.cs52 AssertRoundtrip(SampleMessages.CreateFullTestAllTypes()); in AllTypesRoundtrip()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DSampleMessages.cs41 public class SampleMessages class
DGeneratedMessageTest.cs643 var message = SampleMessages.CreateFullTestAllTypes(); in DiscardUnknownFields_RealDataStillRead()
663 var data = SampleMessages.CreateFullTestAllTypes().ToByteArray(); in DiscardUnknownFields_AllTypes()
686 var message = SampleMessages.CreateFullTestAllTypes(); in ExtraEndGroupThrows()
DCodedInputStreamTest.cs232 TestAllTypes message = SampleMessages.CreateFullTestAllTypes(); in ReadWholeMessage_VaryingBlockSizes()
332 … MemoryStream ms = new MemoryStream(SampleMessages.CreateFullTestAllTypes().ToByteArray()); in SizeLimit()
DCodedOutputStreamTest.cs196 TestAllTypes message = SampleMessages.CreateFullTestAllTypes(); in WriteWholeMessage_VaryingBlockSizes()
DJsonParserTest.cs50 AssertRoundtrip(SampleMessages.CreateFullTestAllTypes()); in AllTypesRoundtrip()
/third_party/protobuf/
DMakefile.am140 csharp/src/Google.Protobuf.Test/SampleMessages.cs \