Searched refs:SampleMessages (Results 1 – 16 of 16) sorted by relevance
43 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 …]
43 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()
46 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()
50 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()
49 yield return SampleMessages.CreateFullTestAllTypesProto2();50 yield return SampleMessages.CreateFullTestAllTypes();
313 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()
259 TestAllTypes message = SampleMessages.CreateFullTestAllTypes(); in WriteWholeMessage_VaryingBlockSizes()282 TestAllTypes message = SampleMessages.CreateFullTestAllTypes(); in WriteContext_WritesWithFlushes()
695 var message = SampleMessages.CreateFullTestAllTypes(); in DiscardUnknownFields_RealDataStillRead()719 var data = SampleMessages.CreateFullTestAllTypes().ToByteArray(); in DiscardUnknownFields_AllTypes()749 var message = SampleMessages.CreateFullTestAllTypes(); in ExtraEndGroupThrows()
44 public class SampleMessages class
52 AssertRoundtrip(SampleMessages.CreateFullTestAllTypes()); in AllTypesRoundtrip()
41 public class SampleMessages class
643 var message = SampleMessages.CreateFullTestAllTypes(); in DiscardUnknownFields_RealDataStillRead()663 var data = SampleMessages.CreateFullTestAllTypes().ToByteArray(); in DiscardUnknownFields_AllTypes()686 var message = SampleMessages.CreateFullTestAllTypes(); in ExtraEndGroupThrows()
232 TestAllTypes message = SampleMessages.CreateFullTestAllTypes(); in ReadWholeMessage_VaryingBlockSizes()332 … MemoryStream ms = new MemoryStream(SampleMessages.CreateFullTestAllTypes().ToByteArray()); in SizeLimit()
196 TestAllTypes message = SampleMessages.CreateFullTestAllTypes(); in WriteWholeMessage_VaryingBlockSizes()
50 AssertRoundtrip(SampleMessages.CreateFullTestAllTypes()); in AllTypesRoundtrip()
140 csharp/src/Google.Protobuf.Test/SampleMessages.cs \