Lines Matching refs:expectedJson
342 public void Oneof(string fooStringValue, string expectedJson) in Oneof() argument
352 AssertJson(expectedJson, formatter.Format(message)); in Oneof()
354 AssertJson(expectedJson, formatter.Format(message)); in Oneof()
369 …var expectedJson = "{ 'int64Field': '10', 'int32Field': 0, 'stringField': '', 'bytesField': 'ABCD'… in WrapperFormatting_Single()
370 AssertJson(expectedJson, JsonFormatter.Default.Format(message)); in WrapperFormatting_Single()
628 public void Wrappers_Standalone(System.Type wrapperType, object value, string expectedJson) in Wrappers_Standalone() argument
632 Assert.AreEqual(expectedJson, JsonFormatter.Default.Format(populated)); in Wrappers_Standalone()
646 public void WriteValue_Constant(object value, string expectedJson) in WriteValue_Constant() argument
648 AssertWriteValue(value, expectedJson); in WriteValue_Constant()
679 private static void AssertWriteValue(object value, string expectedJson) in AssertWriteValue() argument
684 AssertJson(expectedJson, actual); in AssertWriteValue()
694 var expectedJson = expectedJsonWithApostrophes.Replace("'", "\""); in AssertJson()
695 Assert.AreEqual(expectedJson, actualJson); in AssertJson()