Searched refs:assertAccepts (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/ |
D | JsonFormatTest.java | 327 private void assertAccepts(String name, String value) throws IOException { in assertAccepts() method in JsonFormatTest 336 assertAccepts("optionalInt32", String.valueOf(Integer.MAX_VALUE)); in testParserRejectOutOfRangeNumericValues() 337 assertAccepts("optionalInt32", String.valueOf(Integer.MIN_VALUE)); in testParserRejectOutOfRangeNumericValues() 341 assertAccepts("optionalUint32", String.valueOf(Integer.MAX_VALUE + 1L)); in testParserRejectOutOfRangeNumericValues() 348 assertAccepts("optionalInt64", maxLong.toString()); in testParserRejectOutOfRangeNumericValues() 349 assertAccepts("optionalInt64", minLong.toString()); in testParserRejectOutOfRangeNumericValues() 353 assertAccepts("optionalUint64", maxLong.add(one).toString()); in testParserRejectOutOfRangeNumericValues() 357 assertAccepts("optionalBool", "true"); in testParserRejectOutOfRangeNumericValues() 361 assertAccepts("optionalFloat", String.valueOf(Float.MAX_VALUE)); in testParserRejectOutOfRangeNumericValues() 362 assertAccepts("optionalFloat", String.valueOf(-Float.MAX_VALUE)); in testParserRejectOutOfRangeNumericValues() [all …]
|