/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerHashCodeTest.java | 36 String value1 = "12378246728727834290276457386374882976782849"; in testSameObject() local 38 BigInteger aNumber1 = new BigInteger(value1); in testSameObject() 54 String value1 = "12378246728727834290276457386374882976782849"; in testEqualObjects() local 56 BigInteger aNumber1 = new BigInteger(value1); in testEqualObjects() 70 String value1 = "12378246728727834290276457386374882976782849"; in testUnequalObjectsUnequal() local 72 BigInteger aNumber1 = new BigInteger(value1); in testUnequalObjectsUnequal()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | StructTimevalTest.java | 86 StructTimeval value1 = StructTimeval.fromMillis(millisValue); in testEqualsAndHashcode() local 89 assertEquals("value1.equals(value1)", value1, value1); in testEqualsAndHashcode() 90 assertEquals("value1.equals(value2)", value1, value2); in testEqualsAndHashcode() 91 assertEquals("value2.equals(value1)", value2, value1); in testEqualsAndHashcode() 94 value1.hashCode(), value2.hashCode()); in testEqualsAndHashcode() 96 timeVals[i] = value1; in testEqualsAndHashcode()
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldLevelTest.java | 43 int value1 = 120; in testIntValue() local 44 Level l = new MockLevel("level1", value1); in testIntValue() 46 value1, l.intValue()); in testIntValue()
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestDateTimeBuilderCombinations.java | 105 public void test_derive(final TemporalField field1, final Number value1, in test_derive() argument 119 return value1.longValue(); in test_derive() 136 str += value1 + "-"; in test_derive() 186 …public void test_normalized(final TemporalField field1, final Number value1, TemporalField expecte… in test_normalized() argument 196 return value1.longValue(); in test_normalized() 202 String str = value1.toString(); in test_normalized()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 152 public void test_resolveOneNoChange(TemporalField field1, long value1) { in test_resolveOneNoChange() argument 153 String str = Long.toString(value1); in test_resolveOneNoChange() 160 assertEquals(accessor.getLong(field1), value1); in test_resolveOneNoChange() local 189 …public void test_resolveTwoNoChange(TemporalField field1, long value1, TemporalField field2, long … in test_resolveTwoNoChange() argument 190 String str = value1 + " " + value2; in test_resolveTwoNoChange() 200 assertEquals(accessor.getLong(field1), value1); in test_resolveTwoNoChange() local 220 …public void test_resolveThreeNoChange(TemporalField field1, long value1, TemporalField field2, lon… in test_resolveThreeNoChange() argument 221 String str = value1 + " " + value2 + " " + value3; in test_resolveThreeNoChange() 233 assertEquals(accessor.getLong(field1), value1); in test_resolveThreeNoChange() local 255 public void test_resolveOneToField(TemporalField field1, long value1, in test_resolveOneToField() argument [all …]
|
D | TCKDateTimeFormatters.java | 1496 Expected(TemporalField field1, long value1, TemporalField field2, long value2) { in Expected() argument 1497 fieldValues.put(field1, value1); in Expected()
|
/libcore/ojluni/src/main/java/java/text/ |
D | AttributedString.java | 677 private final static boolean valuesMatch(Object value1, Object value2) { in valuesMatch() argument 678 if (value1 == null) { in valuesMatch() 681 return value1.equals(value2); in valuesMatch()
|
/libcore/luni/src/main/java/java/math/ |
D | BigDecimal.java | 2717 private static int compareAbsoluteValues(long value1, long value2) { in compareAbsoluteValues() argument 2725 value1 = Math.abs(value1) - 1; in compareAbsoluteValues() 2728 return value1 > value2 ? 1 : (value1 < value2 ? -1 : 0); in compareAbsoluteValues()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeMapExtendTest.java | 3440 Integer value1, value2; in test_DescendingSubMapEntrySet_comparator() local 3452 value1 = (Integer) entryArray[i - 1].getValue(); in test_DescendingSubMapEntrySet_comparator() 3454 assertTrue(value1 > value2); in test_DescendingSubMapEntrySet_comparator() 3455 assertTrue(comparator.compare(value1, value2) < 0); in test_DescendingSubMapEntrySet_comparator() 3469 value1 = (Integer) entryArray[i - 1].getValue(); in test_DescendingSubMapEntrySet_comparator() 3471 assertTrue(value1 > value2); in test_DescendingSubMapEntrySet_comparator() 3472 assertTrue(comparator.compare(value1, value2) < 0); in test_DescendingSubMapEntrySet_comparator() 3486 value1 = (Integer) entryArray[i - 1].getValue(); in test_DescendingSubMapEntrySet_comparator() 3488 assertTrue(value1 > value2); in test_DescendingSubMapEntrySet_comparator() 3489 assertTrue(comparator.compare(value1, value2) < 0); in test_DescendingSubMapEntrySet_comparator() [all …]
|
D | ArraysTest.java | 1992 private void orderFail(int index, String value1, String value2) { in orderFail() argument 1993 fail("Array is not sorted at " + index + "-th position: " + value1 + " and " + value2); in orderFail()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldPreparedStatementTest.java | 591 float value1 = 12345678.12345689f; in testSetFloat() local 602 ps.setFloat(1, value1); in testSetFloat() 605 st.execute("select * from type where FloatVal=" + value1); in testSetFloat()
|