Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs168 var parsed = JsonParser.Default.Parse<BytesValue>(WrapInQuotes(data.ToBase64())); in BytesWrapper_Standalone()
639 string json = WrapInQuotes(jsonValue); in Timestamp_Valid()
641 Assert.AreEqual(WrapInQuotes(expectedFormatted), parsed.ToString()); in Timestamp_Valid()
666 string json = WrapInQuotes(jsonValue); in Timestamp_Invalid()
740 string json = WrapInQuotes(jsonValue); in Duration_Valid()
742 Assert.AreEqual(WrapInQuotes(expectedFormatted), parsed.ToString()); in Duration_Valid()
770 string json = WrapInQuotes(jsonValue); in Duration_Invalid()
786 string json = WrapInQuotes(jsonValue); in FieldMask_Valid()
795 string json = WrapInQuotes(jsonValue); in FieldMask_Invalid()
931 internal static string WrapInQuotes(string text) in WrapInQuotes() method in Google.Protobuf.JsonParserTest
DJsonFormatterTest.cs334 Assert.AreEqual(WrapInQuotes(expected), new Timestamp { Nanos = nanos }.ToString()); in TimestampStandalone()
392 Assert.AreEqual(WrapInQuotes(expected), json); in DurationStandalone()