Home
last modified time | relevance | path

Searched refs:SingleString (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs91 SingleString = "test\twith\ttabs", in AllSingleFields()
201 var message = new TestAllTypes { SingleString = text }; in SimpleNonAscii()
208 var message = new TestAllTypes { SingleString = "a\uD801\uDC01b" }; in SurrogatePairEscaping()
219 var message = new TestAllTypes { SingleString = "a\uDC01b" }; in InvalidSurrogatePairsFail()
223 message = new TestAllTypes { SingleString = "a\uD801b" }; in InvalidSurrogatePairsFail()
DSampleMessages.cs70 SingleString = "test", in CreateFullTestAllTypes()
DGeneratedMessageTest.cs82 Assert.AreEqual("", message.SingleString); in DefaultValues()
120 Assert.Throws<ArgumentNullException>(() => message.SingleString = null); in NullStringAndBytesRejected()
161 SingleString = "test", in RoundTrip_SingleValues()
457 SingleString = "test", in CloneSingleNonMessageValues()
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs65 …Assert.AreEqual(message.SingleString, fields[TestAllTypes.SingleStringFieldNumber].Accessor.GetVal… in GetValue()
105 SingleString = "", in Clear()
139 SingleString = "It's a string", in SetValue_SingleFields()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs459 public string SingleString { property in Google.Protobuf.TestProtos.TestAllTypes
836 if (SingleString != other.SingleString) return false; in Equals()
890 if (SingleString.Length != 0) hash ^= SingleString.GetHashCode(); in GetHashCode()
986 if (SingleString.Length != 0) { in WriteTo()
988 output.WriteString(SingleString); in WriteTo()
1103 if (SingleString.Length != 0) { in CalculateSize()
1104 size += 1 + pb::CodedOutputStream.ComputeStringSize(SingleString); in CalculateSize()
1210 if (other.SingleString.Length != 0) { in MergeFrom()
1211 SingleString = other.SingleString; in MergeFrom()
1348 SingleString = input.ReadString(); in MergeFrom()