/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 | Clamp.java | 56 {0, Integer.MIN_VALUE, Integer.MAX_VALUE, 0}, in testIntClamp() 57 {Integer.MIN_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE, Integer.MIN_VALUE}, in testIntClamp() 58 {Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE}, in testIntClamp() 59 {Long.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE}, in testIntClamp() 60 {Long.MIN_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE, Integer.MIN_VALUE}, in testIntClamp() 62 {Long.MAX_VALUE, 1, 1, 1} in testIntClamp() 67 {1, Integer.MAX_VALUE, Integer.MIN_VALUE} in testIntClamp() 98 {0L, Long.MIN_VALUE, Long.MAX_VALUE, 0}, in testLongClamp() 99 {Long.MIN_VALUE, Long.MIN_VALUE, Long.MAX_VALUE, Long.MIN_VALUE}, in testLongClamp() 100 {Long.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE, Long.MAX_VALUE}, in testLongClamp() [all …]
|
D | DivModTests.java | 97 testIntFloorDivMod(Integer.MAX_VALUE, 1, Integer.MAX_VALUE, 0); in testIntFloorDivMod() 98 testIntFloorDivMod(Integer.MAX_VALUE, -1, -Integer.MAX_VALUE, 0); in testIntFloorDivMod() 99 testIntFloorDivMod(Integer.MAX_VALUE, 3, 715827882, 1); in testIntFloorDivMod() 100 testIntFloorDivMod(Integer.MAX_VALUE - 1, 3, 715827882, 0); in testIntFloorDivMod() 103 testIntFloorDivMod(Integer.MIN_VALUE + 1, -1, Integer.MAX_VALUE, 0); in testIntFloorDivMod() 104 testIntFloorDivMod(Integer.MAX_VALUE, Integer.MAX_VALUE, 1, 0); in testIntFloorDivMod() 105 testIntFloorDivMod(Integer.MAX_VALUE, Integer.MIN_VALUE, -1, -1); in testIntFloorDivMod() 107 testIntFloorDivMod(Integer.MIN_VALUE, Integer.MAX_VALUE, -2, 2147483646); in testIntFloorDivMod() 190 testLongFloorDivMod(Long.MAX_VALUE, 1, Long.MAX_VALUE, 0L); in testLongFloorDivMod() 191 testLongFloorDivMod(Long.MAX_VALUE, -1, -Long.MAX_VALUE, 0L); in testLongFloorDivMod() [all …]
|
D | AbsTests.java | 46 {-Integer.MAX_VALUE, Integer.MAX_VALUE}, in testInRangeIntAbs() 47 {+Integer.MAX_VALUE, Integer.MAX_VALUE} in testInRangeIntAbs() 84 {-Integer.MAX_VALUE, Integer.MAX_VALUE}, in testInRangeLongAbs() 85 {+Integer.MAX_VALUE, Integer.MAX_VALUE}, in testInRangeLongAbs() 87 {-Long.MAX_VALUE, Long.MAX_VALUE}, in testInRangeLongAbs()
|
D | ExactArithTests.java | 81 testIntegerExact(Integer.MAX_VALUE, Integer.MAX_VALUE); in testIntegerExact() 83 testIntegerExact(Integer.MAX_VALUE, 1); in testIntegerExact() 85 testIntegerExact(Integer.MAX_VALUE, 2); in testIntegerExact() 87 testIntegerExact(Integer.MAX_VALUE, -1); in testIntegerExact() 89 testIntegerExact(Integer.MAX_VALUE, -2); in testIntegerExact() 313 testLongExactTwice(Long.MAX_VALUE, Long.MAX_VALUE); in testLongExact() 315 testLongExactTwice(Long.MAX_VALUE, 1); in testLongExact() 317 testLongExactTwice(Long.MAX_VALUE, 2); in testLongExact() 319 testLongExactTwice(Long.MAX_VALUE, -1); in testLongExact() 321 testLongExactTwice(Long.MAX_VALUE, -2); in testLongExact() [all …]
|
D | IeeeRecommendedTests.java | 139 +Float.MAX_VALUE in testFloatGetExponent() 236 +Double.MAX_VALUE in testDoubleGetExponent() 376 {infinityF, -infinityF, Float.MAX_VALUE}, in testFloatNextAfter() 377 {infinityF, 0.0f, Float.MAX_VALUE}, in testFloatNextAfter() 379 {Float.MAX_VALUE, infinityF, infinityF}, in testFloatNextAfter() 380 {Float.MAX_VALUE, -infinityF, Float_MAX_VALUEmm}, in testFloatNextAfter() 381 {Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}, in testFloatNextAfter() 382 {Float.MAX_VALUE, 0.0f, Float_MAX_VALUEmm}, in testFloatNextAfter() 384 {Float_MAX_VALUEmm, Float.MAX_VALUE, Float.MAX_VALUE}, in testFloatNextAfter() 385 {Float_MAX_VALUEmm, infinityF, Float.MAX_VALUE}, in testFloatNextAfter() [all …]
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | ExactArithTests.java | 53 testIntegerExact(Integer.MAX_VALUE, Integer.MAX_VALUE); in testIntegerExact() 55 testIntegerExact(Integer.MAX_VALUE, 1); in testIntegerExact() 57 testIntegerExact(Integer.MAX_VALUE, 2); in testIntegerExact() 59 testIntegerExact(Integer.MAX_VALUE, -1); in testIntegerExact() 61 testIntegerExact(Integer.MAX_VALUE, -2); in testIntegerExact() 179 testLongExactTwice(Long.MAX_VALUE, Long.MAX_VALUE); in testLongExact() 181 testLongExactTwice(Long.MAX_VALUE, 1); in testLongExact() 183 testLongExactTwice(Long.MAX_VALUE, 2); in testLongExact() 185 testLongExactTwice(Long.MAX_VALUE, -1); in testLongExact() 187 testLongExactTwice(Long.MAX_VALUE, -2); in testLongExact() [all …]
|
D | MultiplicationTests.java | 96 {Long.MAX_VALUE, Long.MAX_VALUE}, in testMultiplyHigh() 97 {Long.MAX_VALUE, -Long.MAX_VALUE}, in testMultiplyHigh() 98 {-Long.MAX_VALUE, Long.MAX_VALUE}, in testMultiplyHigh() 99 {Long.MAX_VALUE, Long.MIN_VALUE}, in testMultiplyHigh() 100 {Long.MIN_VALUE, Long.MAX_VALUE}, in testMultiplyHigh()
|
/libcore/ojluni/src/test/java/math/BigDecimal/ |
D | CompareToTests.java | 62 {valueOf(Long.MAX_VALUE), valueOf(Long.MAX_VALUE), ZERO}, in compareToTests() 63 {valueOf(Long.MAX_VALUE).negate(), valueOf(Long.MAX_VALUE), MINUS_ONE}, in compareToTests() 65 {valueOf(Long.MAX_VALUE-1), valueOf(Long.MAX_VALUE), MINUS_ONE}, in compareToTests() 66 {valueOf(Long.MAX_VALUE-1).negate(), valueOf(Long.MAX_VALUE), MINUS_ONE}, in compareToTests() 68 {valueOf(Long.MIN_VALUE), valueOf(Long.MAX_VALUE), MINUS_ONE}, in compareToTests() 69 {valueOf(Long.MIN_VALUE).negate(), valueOf(Long.MAX_VALUE), ONE}, in compareToTests() 71 {valueOf(Long.MIN_VALUE+1), valueOf(Long.MAX_VALUE), MINUS_ONE}, in compareToTests() 72 {valueOf(Long.MIN_VALUE+1).negate(), valueOf(Long.MAX_VALUE), ZERO}, in compareToTests() 74 {valueOf(Long.MAX_VALUE), valueOf(Long.MIN_VALUE), ONE}, in compareToTests() 75 {valueOf(Long.MAX_VALUE).negate(), valueOf(Long.MIN_VALUE), ONE}, in compareToTests() [all …]
|
D | PowTests.java | 42 …{BigDecimal.valueOf(0, Integer.MAX_VALUE), new BigDecimal(0), BigDecimal.valueOf(1, … in zeroAndOneTests() 43 …{BigDecimal.valueOf(0, Integer.MAX_VALUE), new BigDecimal(1), BigDecimal.valueOf(0, … in zeroAndOneTests() 44 …{BigDecimal.valueOf(0, Integer.MAX_VALUE), new BigDecimal(2), BigDecimal.valueOf(0, … in zeroAndOneTests() 45 …{BigDecimal.valueOf(0, Integer.MAX_VALUE), new BigDecimal(999999999), BigDecimal.valueOf(0, … in zeroAndOneTests() 52 …{BigDecimal.valueOf(1, Integer.MAX_VALUE), new BigDecimal(0), BigDecimal.valueOf(1, … in zeroAndOneTests() 53 …{BigDecimal.valueOf(1, Integer.MAX_VALUE), new BigDecimal(1), BigDecimal.valueOf(1, … in zeroAndOneTests() 54 … {BigDecimal.valueOf(1, Integer.MAX_VALUE), new BigDecimal(2), null}, // overflow in zeroAndOneTests() 55 … {BigDecimal.valueOf(1, Integer.MAX_VALUE), new BigDecimal(999999999), null}, // overflow in zeroAndOneTests()
|
/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/ojluni/src/test/java/lang/String/CompactString/ |
D | Numbers.java | 49 { Integer.toBinaryString(Integer.MAX_VALUE), in numbers() 55 { Integer.toOctalString(Integer.MAX_VALUE), "17777777777" }, in numbers() 59 { Integer.toHexString(Integer.MAX_VALUE), "7fffffff" }, in numbers() 63 { Integer.toString(Integer.MAX_VALUE, 2), in numbers() 69 { Integer.toString(Integer.MAX_VALUE, 8), "17777777777" }, in numbers() 72 { Integer.toString(Integer.MAX_VALUE, 16), "7fffffff" }, in numbers() 75 { Long.toBinaryString(Long.MAX_VALUE), in numbers() 79 { Long.toOctalString(Long.MAX_VALUE), "777777777777777777777" }, in numbers() 81 { Long.toHexString(Long.MAX_VALUE), "7fffffffffffffff" }, in numbers() 83 { Long.toString(Long.MAX_VALUE, 2), in numbers() [all …]
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | CountedLoopIterationCountsTest.java | 42 run(Integer.MAX_VALUE - 1, Integer.MIN_VALUE + 10, 0); in main() 44 run(Integer.MAX_VALUE - 2, Integer.MAX_VALUE - 1, 1); in main() 45 run(Integer.MAX_VALUE - 1, 0, 0); in main() 46 run(Integer.MAX_VALUE - 1, 10, 0); in main() 47 run(Integer.MAX_VALUE - 1, -10, 0); in main() 48 run(Integer.MAX_VALUE, Integer.MIN_VALUE + 10, 0); in main() 49 run(Integer.MAX_VALUE - 1, Integer.MAX_VALUE, 1); in main() 50 run(Integer.MAX_VALUE, Integer.MAX_VALUE, 0); in main()
|
/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 …]
|
/libcore/ojluni/src/test/java/math/BigInteger/ |
D | CompareToTests.java | 74 {valueOf(Long.MAX_VALUE), valueOf(Long.MAX_VALUE), ZERO}, in compareToTests() 75 {valueOf(Long.MAX_VALUE).negate(), valueOf(Long.MAX_VALUE), MINUS_ONE}, in compareToTests() 77 {valueOf(Long.MAX_VALUE-1), valueOf(Long.MAX_VALUE), MINUS_ONE}, in compareToTests() 78 {valueOf(Long.MAX_VALUE-1).negate(), valueOf(Long.MAX_VALUE), MINUS_ONE}, in compareToTests() 80 {valueOf(Long.MIN_VALUE), valueOf(Long.MAX_VALUE), MINUS_ONE}, in compareToTests() 81 {valueOf(Long.MIN_VALUE).negate(), valueOf(Long.MAX_VALUE), ONE}, in compareToTests() 83 {valueOf(Long.MIN_VALUE+1), valueOf(Long.MAX_VALUE), MINUS_ONE}, in compareToTests() 84 {valueOf(Long.MIN_VALUE+1).negate(), valueOf(Long.MAX_VALUE), ZERO}, in compareToTests() 86 {valueOf(Long.MAX_VALUE), valueOf(Long.MIN_VALUE), ONE}, in compareToTests() 87 {valueOf(Long.MAX_VALUE).negate(), valueOf(Long.MIN_VALUE), ONE}, in compareToTests() [all …]
|
D | TestValueExact.java | 45 BigInteger.valueOf(Long.MAX_VALUE) in testLongValueExact() 50 BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE) in testLongValueExact() 75 BigInteger.valueOf(Integer.MAX_VALUE) in testIntValueExact() 80 BigInteger.valueOf((long)Integer.MAX_VALUE + 1) in testIntValueExact() 105 BigInteger.valueOf(Short.MAX_VALUE) in testShortValueExact() 112 BigInteger.valueOf( (int)Short.MAX_VALUE + 1), in testShortValueExact() 113 BigInteger.valueOf((long)Integer.MAX_VALUE), in testShortValueExact() 114 BigInteger.valueOf((long)Integer.MAX_VALUE + 1) in testShortValueExact() 139 BigInteger.valueOf(Byte.MAX_VALUE) in testByteValueExact() 148 BigInteger.valueOf( (int)Byte.MAX_VALUE + 1), in testByteValueExact() [all …]
|
/libcore/luni/src/test/java/tests/java/lang/ |
D | StrictMathTest.java | 38 assertEquals(Integer.MAX_VALUE, StrictMath.absExact(-Integer.MAX_VALUE)); in test_absExact_int() 39 assertEquals(Integer.MAX_VALUE, StrictMath.absExact(Integer.MAX_VALUE)); in test_absExact_int() 47 assertEquals(Long.MAX_VALUE, StrictMath.absExact(-Long.MAX_VALUE)); in test_absExact_long() 48 assertEquals(Long.MAX_VALUE, StrictMath.absExact(Long.MAX_VALUE)); in test_absExact_long()
|
/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/ojluni/src/test/java/lang/String/concat/ |
D | ImplicitStringConcatBoundaries.java | 108 public static final byte BYTE_MAX_1 = Byte.MAX_VALUE; 109 public static byte BYTE_MAX_2 = Byte.MAX_VALUE; 113 public static final short SHORT_MAX_1 = Short.MAX_VALUE; 114 public static short SHORT_MAX_2 = Short.MAX_VALUE; 118 public static final char CHAR_MAX_1 = Character.MAX_VALUE; 119 public static char CHAR_MAX_2 = Character.MAX_VALUE; 123 public static final int INT_MAX_1 = Integer.MAX_VALUE; 124 public static int INT_MAX_2 = Integer.MAX_VALUE; 132 public static final float FLOAT_MAX_1 = Float.MAX_VALUE; 133 public static float FLOAT_MAX_2 = Float.MAX_VALUE; [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 | 1411 f.format("%c", Integer.MAX_VALUE); in test_formatLjava_lang_String$Ljava_lang_Object_CharacterConversion() 1735 { Long.MAX_VALUE, 'a', "So." }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1741 { Long.MAX_VALUE, 'b', "Aug" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1747 { 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() 1753 { Long.MAX_VALUE, 'd', "17" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1759 { Long.MAX_VALUE, 'e', "17" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1765 { Long.MAX_VALUE, 'h', "Aug" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1771 { Long.MAX_VALUE, 'j', "229" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1777 { Long.MAX_VALUE, 'k', "15" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1783 { Long.MAX_VALUE, 'l', "3" }, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() [all …]
|
/libcore/ojluni/src/test/java/lang/Double/ |
D | ParseHexFloatingPointTest.java | 158 (long)Integer.MAX_VALUE-1, in testDouble() 159 (long)Integer.MAX_VALUE, in testDouble() 160 (long)Integer.MAX_VALUE+1, in testDouble() 166 Long.MAX_VALUE-1, in testDouble() 167 Long.MAX_VALUE, in testDouble() 231 new PairSD("0x1.fffffffffffffp1023", Double.MAX_VALUE), in testDouble() 232 new PairSD("0x1.fffffffffffff0000000p1023", Double.MAX_VALUE), in testDouble() 233 new PairSD("0x1.fffffffffffff4p1023", Double.MAX_VALUE), in testDouble() 234 new PairSD("0x1.fffffffffffff7fffffp1023", Double.MAX_VALUE), in testDouble() 238 new PairSD("0x1.ffffffffffffep1023", Math.nextDown(Double.MAX_VALUE)), in testDouble() [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()
|