Home
last modified time | relevance | path

Searched refs:FieldCodecTestData (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DFieldCodecTest.cs46 new FieldCodecTestData<bool>(FieldCodec.ForBool(100), true, "FixedBool"),
47 new FieldCodecTestData<string>(FieldCodec.ForString(100), "sample", "String"),
48 …new FieldCodecTestData<ByteString>(FieldCodec.ForBytes(100), ByteString.CopyFrom(1, 2, 3), "Bytes"…
49 new FieldCodecTestData<int>(FieldCodec.ForInt32(100), -1000, "Int32"),
50 new FieldCodecTestData<int>(FieldCodec.ForSInt32(100), -1000, "SInt32"),
51 new FieldCodecTestData<int>(FieldCodec.ForSFixed32(100), -1000, "SFixed32"),
52 new FieldCodecTestData<uint>(FieldCodec.ForUInt32(100), 1234, "UInt32"),
53 new FieldCodecTestData<uint>(FieldCodec.ForFixed32(100), 1234, "Fixed32"),
54 new FieldCodecTestData<long>(FieldCodec.ForInt64(100), -1000, "Int64"),
55 new FieldCodecTestData<long>(FieldCodec.ForSInt64(100), -1000, "SInt64"),
[all …]
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DFieldCodecTest.cs46 new FieldCodecTestData<bool>(FieldCodec.ForBool(100), true, "FixedBool"),
47 new FieldCodecTestData<string>(FieldCodec.ForString(100), "sample", "String"),
48 …new FieldCodecTestData<ByteString>(FieldCodec.ForBytes(100), ByteString.CopyFrom(1, 2, 3), "Bytes"…
49 new FieldCodecTestData<int>(FieldCodec.ForInt32(100), -1000, "Int32"),
50 new FieldCodecTestData<int>(FieldCodec.ForSInt32(100), -1000, "SInt32"),
51 new FieldCodecTestData<int>(FieldCodec.ForSFixed32(100), -1000, "SFixed32"),
52 new FieldCodecTestData<uint>(FieldCodec.ForUInt32(100), 1234, "UInt32"),
53 new FieldCodecTestData<uint>(FieldCodec.ForFixed32(100), 1234, "Fixed32"),
54 new FieldCodecTestData<long>(FieldCodec.ForInt64(100), -1000, "Int64"),
55 new FieldCodecTestData<long>(FieldCodec.ForSInt64(100), -1000, "SInt64"),
[all …]