Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java147 private void mergeFromJson(String json, Message.Builder builder) throws IOException { in mergeFromJson() method in JsonFormatTest
256 mergeFromJson( in testParserAcceptStringForNumbericField()
282 mergeFromJson( in testParserAcceptFloatingPointValueForIntegerField()
313 mergeFromJson("{\"" + name + "\":" + value + "}", builder); in assertRejects()
320 mergeFromJson("{\"" + name + "\":\"" + value + "\"}", builder); in assertRejects()
330 mergeFromJson("{\"" + name + "\":" + value + "}", builder); in assertAccepts()
332 mergeFromJson("{\"" + name + "\":\"" + value + "\"}", builder); in assertAccepts()
377 mergeFromJson( in testParserAcceptNull()
421 mergeFromJson("{\n" + " \"repeatedInt32\": [null, null],\n" + "}", builder); in testParserAcceptNull()
429 mergeFromJson("{\n" + " \"repeatedNestedMessage\": [null, null],\n" + "}", builder); in testParserAcceptNull()
[all …]