/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | ExactArithTests.java | 79 testIntegerExact(Integer.MAX_VALUE, Integer.MAX_VALUE); in testIntegerExact() 81 testIntegerExact(Integer.MAX_VALUE, 1); in testIntegerExact() 83 testIntegerExact(Integer.MAX_VALUE, 2); in testIntegerExact() 85 testIntegerExact(Integer.MAX_VALUE, -1); in testIntegerExact() 87 testIntegerExact(Integer.MAX_VALUE, -2); in testIntegerExact() 161 testLongExactTwice(Long.MAX_VALUE, Long.MAX_VALUE); in testLongExact() 163 testLongExactTwice(Long.MAX_VALUE, 1); in testLongExact() 165 testLongExactTwice(Long.MAX_VALUE, 2); in testLongExact() 167 testLongExactTwice(Long.MAX_VALUE, -1); in testLongExact() 169 testLongExactTwice(Long.MAX_VALUE, -2); in testLongExact() [all …]
|
D | MultiplicationTests.java | 93 {Long.MAX_VALUE, Long.MAX_VALUE}, in testMultiplyHigh() 94 {Long.MAX_VALUE, -Long.MAX_VALUE}, in testMultiplyHigh() 95 {-Long.MAX_VALUE, Long.MAX_VALUE}, in testMultiplyHigh() 96 {Long.MAX_VALUE, Long.MIN_VALUE}, in testMultiplyHigh() 97 {Long.MIN_VALUE, Long.MAX_VALUE}, in testMultiplyHigh()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | ConcatOpTest.java | 59 LongStream.range(0, Long.MAX_VALUE / 2).boxed(), in testSize() 60 LongStream.range(0, Long.MAX_VALUE / 2).boxed())); in testSize() 63 LongStream.range(0, Long.MAX_VALUE).boxed(), in testSize() 64 LongStream.range(0, Long.MAX_VALUE).boxed())); in testSize() 67 LongStream.range(0, Long.MAX_VALUE).boxed(), in testSize() 72 LongStream.range(0, Long.MAX_VALUE).boxed())); in testSize() 77 LongStream.range(0, Long.MAX_VALUE / 2), in testLongSize() 78 LongStream.range(0, Long.MAX_VALUE / 2))); in testLongSize() 81 LongStream.range(0, Long.MAX_VALUE), in testLongSize() 82 LongStream.range(0, Long.MAX_VALUE))); in testLongSize() [all …]
|
D | RangeTest.java | 102 int[] inc = IntStream.rangeClosed(Integer.MAX_VALUE - 1, Integer.MAX_VALUE).toArray(); in testIntRange() 104 assertEquals(Integer.MAX_VALUE - 1, inc[0]); in testIntRange() 105 assertEquals(Integer.MAX_VALUE, inc[1]); in testIntRange() 107 inc = IntStream.rangeClosed(Integer.MAX_VALUE, Integer.MAX_VALUE).toArray(); in testIntRange() 109 assertEquals(Integer.MAX_VALUE, inc[0]); in testIntRange() 112 … () -> IntStream.rangeClosed(Integer.MAX_VALUE - 8, Integer.MAX_VALUE).spliterator()); in testIntRange() 117 Spliterator.OfInt s = IntStream.rangeClosed(Integer.MIN_VALUE, Integer.MAX_VALUE). in testIntRange() 192 long[] inc = LongStream.rangeClosed(Long.MAX_VALUE - 1, Long.MAX_VALUE).toArray(); in testLongRange() 194 assertEquals(Long.MAX_VALUE - 1, inc[0]); in testLongRange() 195 assertEquals(Long.MAX_VALUE, inc[1]); in testLongRange() [all …]
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | ExactArithTests.java | 55 testIntegerExact(Integer.MAX_VALUE, Integer.MAX_VALUE); in testIntegerExact() 57 testIntegerExact(Integer.MAX_VALUE, 1); in testIntegerExact() 59 testIntegerExact(Integer.MAX_VALUE, 2); in testIntegerExact() 61 testIntegerExact(Integer.MAX_VALUE, -1); in testIntegerExact() 63 testIntegerExact(Integer.MAX_VALUE, -2); in testIntegerExact() 186 testLongExactTwice(Long.MAX_VALUE, Long.MAX_VALUE); in testLongExact() 188 testLongExactTwice(Long.MAX_VALUE, 1); in testLongExact() 190 testLongExactTwice(Long.MAX_VALUE, 2); in testLongExact() 192 testLongExactTwice(Long.MAX_VALUE, -1); in testLongExact() 194 testLongExactTwice(Long.MAX_VALUE, -2); in testLongExact() [all …]
|
D | MultiplicationTests.java | 53 {Long.MAX_VALUE, Long.MAX_VALUE}, in testMultiplyHigh() 54 {Long.MAX_VALUE, -Long.MAX_VALUE}, in testMultiplyHigh() 55 {-Long.MAX_VALUE, Long.MAX_VALUE}, in testMultiplyHigh() 56 {-Long.MAX_VALUE, -Long.MAX_VALUE}, in testMultiplyHigh() 57 {Long.MAX_VALUE, Long.MIN_VALUE}, in testMultiplyHigh() 58 {Long.MIN_VALUE, Long.MAX_VALUE}, in testMultiplyHigh()
|
D | DivModTests.java | 74 testIntFloorDivMod(Integer.MAX_VALUE, 1, Integer.MAX_VALUE, 0); in testIntFloorDivMod() 75 testIntFloorDivMod(Integer.MAX_VALUE, -1, -Integer.MAX_VALUE, 0); in testIntFloorDivMod() 76 testIntFloorDivMod(Integer.MAX_VALUE, 3, 715827882, 1); in testIntFloorDivMod() 77 testIntFloorDivMod(Integer.MAX_VALUE - 1, 3, 715827882, 0); in testIntFloorDivMod() 80 testIntFloorDivMod(Integer.MIN_VALUE + 1, -1, Integer.MAX_VALUE, 0); in testIntFloorDivMod() 163 testLongFloorDivMod(Long.MAX_VALUE, 1, Long.MAX_VALUE, 0L); in testLongFloorDivMod() 164 testLongFloorDivMod(Long.MAX_VALUE, -1, -Long.MAX_VALUE, 0L); in testLongFloorDivMod() 165 testLongFloorDivMod(Long.MAX_VALUE, 3L, Long.MAX_VALUE / 3L, 1L); in testLongFloorDivMod() 166 testLongFloorDivMod(Long.MAX_VALUE - 1L, 3L, (Long.MAX_VALUE - 1L) / 3L, 0L); in testLongFloorDivMod() 169 testLongFloorDivMod(Long.MIN_VALUE + 1, -1, Long.MAX_VALUE, 0L); in testLongFloorDivMod() [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | TimeUnitTest.java | 131 Integer.MAX_VALUE, Integer.MIN_VALUE, in testConvert() 132 Long.MAX_VALUE, Long.MIN_VALUE, in testConvert() 304 assertEquals(Long.MAX_VALUE, in testConvertSaturate() 305 NANOSECONDS.convert(Long.MAX_VALUE / 2, SECONDS)); in testConvertSaturate() 307 NANOSECONDS.convert(-Long.MAX_VALUE / 4, SECONDS)); in testConvertSaturate() 308 assertEquals(Long.MAX_VALUE, in testConvertSaturate() 309 NANOSECONDS.convert(Long.MAX_VALUE / 2, MINUTES)); in testConvertSaturate() 311 NANOSECONDS.convert(-Long.MAX_VALUE / 4, MINUTES)); in testConvertSaturate() 312 assertEquals(Long.MAX_VALUE, in testConvertSaturate() 313 NANOSECONDS.convert(Long.MAX_VALUE / 2, HOURS)); in testConvertSaturate() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StrictMathTest.java | 29 testIntExact(Integer.MAX_VALUE, 1); in testIntExact() 30 testIntExact(Integer.MAX_VALUE, -1); in testIntExact() 33 testIntExact(Integer.MAX_VALUE, Integer.MAX_VALUE); in testIntExact() 81 testLongExact(Long.MAX_VALUE, 1); in testLongExact() 82 testLongExact(Long.MAX_VALUE, -1); in testLongExact() 85 testLongExact(Long.MAX_VALUE, Long.MAX_VALUE); in testLongExact() 134 if (a <= Integer.MAX_VALUE && a >= Integer.MIN_VALUE) { in testToIntExactL() 145 testFloorDivModI(Integer.MAX_VALUE, 1); in testIntFloorDivMod() 146 testFloorDivModI(Integer.MAX_VALUE, -1); in testIntFloorDivMod() 191 testFloorDivModL(Long.MAX_VALUE, 1L); in testLongFloorDivMod() [all …]
|
D | MathTest.java | 29 testIntExact(Integer.MAX_VALUE, 1); in testIntExact() 30 testIntExact(Integer.MAX_VALUE, -1); in testIntExact() 33 testIntExact(Integer.MAX_VALUE, Integer.MAX_VALUE); in testIntExact() 117 testLongExact(Long.MAX_VALUE, 1); in testLongExact() 118 testLongExact(Long.MAX_VALUE, -1); in testLongExact() 121 testLongExact(Long.MAX_VALUE, Long.MAX_VALUE); in testLongExact() 206 if (a <= Integer.MAX_VALUE && a >= Integer.MIN_VALUE) { in testToIntExactL() 217 testFloorDivModI(Integer.MAX_VALUE, 1); in testIntFloorDivMod() 218 testFloorDivModI(Integer.MAX_VALUE, -1); in testIntFloorDivMod() 263 testFloorDivModL(Long.MAX_VALUE, 1L); in testLongFloorDivMod() [all …]
|
D | OldDoubleTest.java | 24 Double d = new Double(Byte.MAX_VALUE); in test_byteValue() 25 assertEquals("Returned incorrect byte value", Byte.MAX_VALUE, d.byteValue()); in test_byteValue() 28 d= new Double(Double.MAX_VALUE); in test_byteValue() 47 assertEquals(Double.MAX_VALUE, new Double("1.7976931348623157E308").doubleValue()); in test_doubleValue() 54 assertEquals(Float.MAX_VALUE, new Double("3.4028235E38").floatValue()); in test_floatValue() 59 assertEquals("Returned incorrect int value", Integer.MAX_VALUE, in test_intValue() 66 assertFalse("Doesn't return false value", Double.isNaN(new Double(Double.MAX_VALUE))); in test_isNaND()
|
D | OldStringBufferTest.java | 95 testBuffer.insert(-1, Double.MAX_VALUE); in test_insertID() 102 testBuffer.insert(testBuffer.length() + 1, Double.MAX_VALUE); in test_insertID() 111 testBuffer.insert(-1, Float.MAX_VALUE); in test_insertIF() 118 testBuffer.insert(testBuffer.length() + 1, Float.MAX_VALUE); in test_insertIF() 127 testBuffer.insert(-1, Integer.MAX_VALUE); in test_insertII() 134 testBuffer.insert(testBuffer.length() + 1, Integer.MAX_VALUE); in test_insertII() 143 testBuffer.insert(-1, Long.MAX_VALUE); in test_insertIJ() 150 testBuffer.insert(testBuffer.length() + 1, Long.MAX_VALUE); in test_insertIJ() 301 testBuffer.subSequence(0, Integer.MAX_VALUE); in test_subSequence() 308 testBuffer.subSequence(Integer.MAX_VALUE, testBuffer.length()); in test_subSequence()
|
D | OldFloatTest.java | 33 Float f = new Float(Double.MAX_VALUE); in test_ConstructorD() 64 assertTrue(new Float(Float.MAX_VALUE).hashCode() != new Float(Float.MIN_VALUE).hashCode()); in test_hashCode() 78 assertEquals(Integer.MAX_VALUE, new Float(Float.MAX_VALUE).intValue()); in test_intValue() 84 assertFalse(Float.isNaN(Float.MAX_VALUE)); in test_isNaNF() 89 assertEquals(Long.MAX_VALUE, new Float(Float.MAX_VALUE).longValue()); in test_longValue()
|
D | ShortTest.java | 23 final short max = Short.MAX_VALUE; in test_compare() 44 for(int i = Short.MIN_VALUE; i < Short.MAX_VALUE; i++) { 53 for(int i = Short.MIN_VALUE; i < Short.MAX_VALUE; i++) { in testToUnsignedLong() 88 assertTrue(Short.compareUnsigned(Short.MAX_VALUE, (short)32767) == 0); in testCompareUnsigned() 89 assertTrue(Short.compareUnsigned(Short.MIN_VALUE, Short.MAX_VALUE) > 0); in testCompareUnsigned() 91 assertTrue(Short.compareUnsigned(Short.MAX_VALUE, z) < 0); in testCompareUnsigned()
|
D | ByteTest.java | 23 final byte max = Byte.MAX_VALUE; in test_compare() 44 for(int i = Byte.MIN_VALUE; i < Byte.MAX_VALUE; i++) { 53 for(int i = Byte.MIN_VALUE; i < Byte.MAX_VALUE; i++) { in testToUnsignedLong() 88 assertTrue(Byte.compareUnsigned(Byte.MAX_VALUE, (byte)127) == 0); in testCompareUnsigned() 89 assertTrue(Byte.compareUnsigned(Byte.MIN_VALUE, Byte.MAX_VALUE) > 0); in testCompareUnsigned() 91 assertTrue(Byte.compareUnsigned(Byte.MAX_VALUE, z) < 0); in testCompareUnsigned()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDuration.java | 163 Duration.ofSeconds(Long.MAX_VALUE, 1000000000); in factory_seconds_long_long_tooBig() 219 Duration test = Duration.ofNanos(Long.MAX_VALUE); in factory_nanos_max() 220 assertEquals(test.getSeconds(), Long.MAX_VALUE / 1000000000); in factory_nanos_max() 221 assertEquals(test.getNano(), Long.MAX_VALUE % 1000000000); in factory_nanos_max() 243 Duration test = Duration.ofMinutes(Long.MAX_VALUE / 60); in factory_minutes_max() 244 assertEquals(test.getSeconds(), (Long.MAX_VALUE / 60) * 60); in factory_minutes_max() 257 Duration.ofMinutes(Long.MAX_VALUE / 60 + 1); in factory_minutes_tooBig() 277 Duration test = Duration.ofHours(Long.MAX_VALUE / 3600); in factory_hours_max() 278 assertEquals(test.getSeconds(), (Long.MAX_VALUE / 3600) * 3600); in factory_hours_max() 291 Duration.ofHours(Long.MAX_VALUE / 3600 + 1); in factory_hours_tooBig() [all …]
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | BigDecimalTest.java | 51 String maxLong = Long.toString(Long.MAX_VALUE); in testGetPrecision() 143 checkDivide("1", Long.MAX_VALUE, Long.MAX_VALUE / 2 + 1, 0, RoundingMode.DOWN); in testDivideRounding() 144 checkDivide("2", Long.MAX_VALUE, Long.MAX_VALUE / 2, 0, RoundingMode.DOWN); in testDivideRounding() 145 checkDivide("0.50", Long.MAX_VALUE / 2, Long.MAX_VALUE, 2, RoundingMode.HALF_UP); in testDivideRounding() 167 checkDivide("0", Long.MAX_VALUE / 2, Long.MAX_VALUE, 0, RoundingMode.HALF_UP); in testDivideRounding_sign() 174 checkDivide("0", -(Long.MAX_VALUE / 2), -Long.MAX_VALUE, 0, RoundingMode.HALF_UP); in testDivideRounding_sign() 181 checkDivide("0", -(Long.MAX_VALUE / 2), Long.MAX_VALUE, 0, RoundingMode.HALF_UP); in testDivideRounding_sign() 188 checkDivide("0", Long.MAX_VALUE / 2, -Long.MAX_VALUE, 0, RoundingMode.HALF_UP); in testDivideRounding_sign() 195 Long.MAX_VALUE, in testDivideByOne() 196 Long.MAX_VALUE - 1, in testDivideByOne() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | FormatterTest.java | 1419 f.format("%c", Integer.MAX_VALUE); in test_formatLjava_lang_String$Ljava_lang_Object_CharacterConversion() 1743 { Long.MAX_VALUE, 'a', "So." }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1749 { Long.MAX_VALUE, 'b', "Aug" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1755 { Long.MAX_VALUE, 'c', "So. Aug 17 15:18:47 GMT+08:00 292278994" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1761 { Long.MAX_VALUE, 'd', "17" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1767 { Long.MAX_VALUE, 'e', "17" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1773 { Long.MAX_VALUE, 'h', "Aug" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1779 { Long.MAX_VALUE, 'j', "229" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1785 { Long.MAX_VALUE, 'k', "15" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1791 { Long.MAX_VALUE, 'l', "3" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() [all …]
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldParsePositionTest.java | 23 ParsePosition pp = new ParsePosition(Integer.MAX_VALUE); 31 pp1.setIndex(Integer.MAX_VALUE); in test_hashCode() 40 pp.setErrorIndex(Integer.MAX_VALUE); in test_getErrorIndex() 41 assertEquals("getErrorIndex failed.", Integer.MAX_VALUE, in test_getErrorIndex() 43 assertEquals("getErrorIndex failed.", Integer.MAX_VALUE, in test_getErrorIndex()
|
D | OldNumberFormatTest.java | 242 String out = nf1.format(Long.MAX_VALUE); in test_formatLlong() 449 nf1.setMaximumFractionDigits(Integer.MAX_VALUE); in test_getMaximumFractionDigits() 452 + " instead of: " + Integer.MAX_VALUE, in test_getMaximumFractionDigits() 453 result == Integer.MAX_VALUE); in test_getMaximumFractionDigits() 460 nf1.setMinimumFractionDigits(Integer.MAX_VALUE); in test_getMaximumFractionDigits() 463 + " instead of Integer.MAX_VALUE", result == Integer.MAX_VALUE); in test_getMaximumFractionDigits() 468 nf1.setMinimumFractionDigits(Integer.MAX_VALUE); in test_getMinimumFractionDigits() 471 + " instead of: " + Integer.MAX_VALUE, in test_getMinimumFractionDigits() 472 result == Integer.MAX_VALUE); in test_getMinimumFractionDigits() 487 nf1.setMaximumIntegerDigits(Integer.MAX_VALUE); in test_getMaximumIntegerDigits() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | ObjectsTest.java | 50 assertFromIndexSizeOutOfBounds(/* fromIndex */ Integer.MAX_VALUE - 10, /* size */ 11, in test_checkFromIndexSize_beyondEnd() 51 /* length */ Integer.MAX_VALUE); in test_checkFromIndexSize_beyondEnd() 82 assertFromToIndexOutOfBounds(/* fromIndex */ Integer.MAX_VALUE - 10, in test_checkFromToIndex_beyondEnd() 83 /* toIndex */ Integer.MIN_VALUE, /* length */ Integer.MAX_VALUE); in test_checkFromToIndex_beyondEnd() 100 assertIndexOutOfBounds(Integer.MAX_VALUE, 0); in test_checkIndex_empty() 101 assertIndexOutOfBounds(Integer.MAX_VALUE, 0); in test_checkIndex_empty() 110 assertIndexOutOfBounds(Integer.MAX_VALUE, 1); in test_checkIndex_size1() 111 assertIndexOutOfBounds(Integer.MAX_VALUE, 1); in test_checkIndex_size1() 117 Objects.checkIndex(100, Integer.MAX_VALUE); in test_checkIndex_largeSize() 118 Objects.checkIndex(Integer.MAX_VALUE - 1, Integer.MAX_VALUE); in test_checkIndex_largeSize() [all …]
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | JniTest.java | 150 final char[] literals = {Character.MAX_VALUE, Character.MIN_VALUE, in testPassingChars() 181 final byte[] literals = {Byte.MAX_VALUE, Byte.MIN_VALUE, 0, -1}; in testPassingBytes() 209 …final short[] literals = {Byte.MAX_VALUE, Byte.MIN_VALUE, Short.MAX_VALUE, Short.MIN_VALUE, 0, -1}; in testPassingShorts() 237 final int[] literals = {Byte.MAX_VALUE, Byte.MIN_VALUE, Short.MAX_VALUE, Short.MIN_VALUE, in testPassingInts() 238 Integer.MAX_VALUE, Integer.MIN_VALUE, 0, -1}; in testPassingInts() 266 final long[] literals = {Byte.MAX_VALUE, Byte.MIN_VALUE, Short.MAX_VALUE, Short.MIN_VALUE, in testPassingLongs() 267 … Integer.MAX_VALUE, Integer.MIN_VALUE, Long.MAX_VALUE, Long.MIN_VALUE, 0, -1}; in testPassingLongs() 295 final float[] literals = {Byte.MAX_VALUE, Byte.MIN_VALUE, Short.MAX_VALUE, Short.MIN_VALUE, in testPassingFloats() 296 … Integer.MAX_VALUE, Integer.MIN_VALUE, Long.MAX_VALUE, Long.MIN_VALUE, in testPassingFloats() 297 Float.MAX_VALUE, Float.MIN_VALUE, Float.MIN_NORMAL, Float.NaN, in testPassingFloats() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineResultTest.java | 95 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; in test_bytesConsumed() 118 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; in test_bytesProduced() 141 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; in test_getHandshakeStatus() 164 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; in test_getStatus() 187 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; in test_toString()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TimeUnitTest.java | 271 assertEquals(Long.MAX_VALUE, in testConvertSaturate() 272 NANOSECONDS.convert(Long.MAX_VALUE / 2, SECONDS)); in testConvertSaturate() 274 NANOSECONDS.convert(-Long.MAX_VALUE / 4, SECONDS)); in testConvertSaturate() 275 assertEquals(Long.MAX_VALUE, in testConvertSaturate() 276 NANOSECONDS.convert(Long.MAX_VALUE / 2, MINUTES)); in testConvertSaturate() 278 NANOSECONDS.convert(-Long.MAX_VALUE / 4, MINUTES)); in testConvertSaturate() 279 assertEquals(Long.MAX_VALUE, in testConvertSaturate() 280 NANOSECONDS.convert(Long.MAX_VALUE / 2, HOURS)); in testConvertSaturate() 282 NANOSECONDS.convert(-Long.MAX_VALUE / 4, HOURS)); in testConvertSaturate() 283 assertEquals(Long.MAX_VALUE, in testConvertSaturate() [all …]
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 78 cmp(Long.MAX_VALUE, DAYS, Long.MAX_VALUE, NANOSECONDS, 1); in main() 79 cmp(Long.MAX_VALUE, DAYS, Long.MIN_VALUE, NANOSECONDS, 1); in main() 81 cmp(Long.MIN_VALUE, DAYS, Long.MAX_VALUE, NANOSECONDS, -1); in main() 91 cmp(Instant.MAX, Long.MAX_VALUE, DAYS, -1); in main() 92 cmp(Instant.MAX, Long.MAX_VALUE, HOURS, -1); in main() 93 cmp(Instant.MAX, Long.MAX_VALUE, MINUTES, -1); in main() 94 cmp(Instant.MAX, Long.MAX_VALUE, SECONDS, -1); in main() 119 to(Long.MAX_VALUE, unit); in main() 143 value = Long.MAX_VALUE; in main() 232 overflow(Long.MAX_VALUE, in main() [all …]
|