Searched refs:expectedJson (Results 1 – 1 of 1) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/ |
D | JsonFormatterTest.cs | 242 public void Oneof(string fooStringValue, string expectedJson) in Oneof() argument 252 AssertJson(expectedJson, formatter.Format(message)); in Oneof() 254 AssertJson(expectedJson, formatter.Format(message)); in Oneof() 269 …var expectedJson = "{ 'int64Field': '10', 'int32Field': 0, 'stringField': '', 'bytesField': 'ABCD'… in WrapperFormatting_Single() 270 AssertJson(expectedJson, JsonFormatter.Default.Format(message)); in WrapperFormatting_Single() 526 public void Wrappers_Standalone(System.Type wrapperType, object value, string expectedJson) in Wrappers_Standalone() argument 530 Assert.AreEqual(expectedJson, JsonFormatter.Default.Format(populated)); in Wrappers_Standalone() 544 public void WriteValue_Constant(object value, string expectedJson) in WriteValue_Constant() argument 546 AssertWriteValue(value, expectedJson); in WriteValue_Constant() 570 private static void AssertWriteValue(object value, string expectedJson) in AssertWriteValue() argument [all …]
|