Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs171 var parsed = JsonParser.Default.Parse<BytesValue>(WrapInQuotes(data.ToBase64())); in BytesWrapper_Standalone()
642 string json = WrapInQuotes(jsonValue); in Timestamp_Valid()
644 Assert.AreEqual(WrapInQuotes(expectedFormatted), parsed.ToString()); in Timestamp_Valid()
669 string json = WrapInQuotes(jsonValue); in Timestamp_Invalid()
743 string json = WrapInQuotes(jsonValue); in Duration_Valid()
745 Assert.AreEqual(WrapInQuotes(expectedFormatted), parsed.ToString()); in Duration_Valid()
773 string json = WrapInQuotes(jsonValue); in Duration_Invalid()
789 string json = WrapInQuotes(jsonValue); in FieldMask_Valid()
798 string json = WrapInQuotes(jsonValue); in FieldMask_Invalid()
934 internal static string WrapInQuotes(string text) in WrapInQuotes() method in Google.Protobuf.JsonParserTest
DJsonFormatterTest.cs336 Assert.AreEqual(WrapInQuotes(expected), new Timestamp { Nanos = nanos }.ToString()); in TimestampStandalone()
394 Assert.AreEqual(WrapInQuotes(expected), json); in DurationStandalone()