Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs240 public void Oneof(string fooStringValue, string expectedJson) in Oneof() argument
250 AssertJson(expectedJson, formatter.Format(message)); in Oneof()
252 AssertJson(expectedJson, formatter.Format(message)); in Oneof()
267 …var expectedJson = "{ 'int64Field': '10', 'int32Field': 0, 'stringField': '', 'bytesField': 'ABCD'… in WrapperFormatting_Single()
268 AssertJson(expectedJson, JsonFormatter.Default.Format(message)); in WrapperFormatting_Single()
522 var expectedJson = expectedJsonWithApostrophes.Replace("'", "\""); in AssertJson()
523 Assert.AreEqual(expectedJson, actualJson); in AssertJson()