Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedBytesTest.java131 private static void assertParseFails(String value) { in assertParseFails() method in UnsignedBytesTest
144 assertParseFails("1000"); in testParseUnsignedByte()
145 assertParseFails("-1"); in testParseUnsignedByte()
146 assertParseFails("-128"); in testParseUnsignedByte()
147 assertParseFails("256"); in testParseUnsignedByte()
155 private static void assertParseFails(String value, int radix) { in assertParseFails() method in UnsignedBytesTest
169 assertParseFails(Integer.toString(1000, radix), radix); in testParseUnsignedByteWithRadix()
170 assertParseFails(Integer.toString(-1, radix), radix); in testParseUnsignedByteWithRadix()
171 assertParseFails(Integer.toString(-128, radix), radix); in testParseUnsignedByteWithRadix()
172 assertParseFails(Integer.toString(256, radix), radix); in testParseUnsignedByteWithRadix()