Searched refs:AssertJson (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 | 57 AssertJson("{ }", formatter.Format(new ForeignMessage())); in DefaultValues_WhenOmitted() 58 AssertJson("{ }", formatter.Format(new TestAllTypes())); in DefaultValues_WhenOmitted() 59 AssertJson("{ }", formatter.Format(new TestMap())); in DefaultValues_WhenOmitted() 66 AssertJson("{ 'c': 0 }", formatter.Format(new ForeignMessage())); in DefaultValues_WhenIncluded() 124 AssertJson(expectedText, actualText); in AllSingleFields() 130 AssertJson("{ 'repeatedInt32': [ 1, 2, 3, 4, 5 ] }", in RepeatedField() 137 AssertJson("{ 'mapStringString': { 'with spaces': 'bar', 'a': 'b' } }", in MapField_StringString() 145 AssertJson("{ 'mapInt32Int32': { '0': 1, '2': 3 } }", in MapField_Int32Int32() 153 AssertJson("{ 'mapBoolBool': { 'false': true, 'true': false } }", in MapField_BoolBool() 166 AssertJson(expectedText, actualText); in DoubleRepresentations() [all …]
|