Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs55 AssertJson("{ }", formatter.Format(new ForeignMessage())); in DefaultValues_WhenOmitted()
56 AssertJson("{ }", formatter.Format(new TestAllTypes())); in DefaultValues_WhenOmitted()
57 AssertJson("{ }", formatter.Format(new TestMap())); in DefaultValues_WhenOmitted()
64 AssertJson("{ 'c': 0 }", formatter.Format(new ForeignMessage())); in DefaultValues_WhenIncluded()
122 AssertJson(expectedText, actualText); in AllSingleFields()
128 AssertJson("{ 'repeatedInt32': [ 1, 2, 3, 4, 5 ] }", in RepeatedField()
135 AssertJson("{ 'mapStringString': { 'with spaces': 'bar', 'a': 'b' } }", in MapField_StringString()
143 AssertJson("{ 'mapInt32Int32': { '0': 1, '2': 3 } }", in MapField_Int32Int32()
151 AssertJson("{ 'mapBoolBool': { 'false': true, 'true': false } }", in MapField_BoolBool()
164 AssertJson(expectedText, actualText); in DoubleRepresentations()
[all …]