Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DParsePositionTest.java41 ParsePosition pp2 = new ParsePosition(43); in test_equalsLjava_lang_Object() local
42 pp2.setErrorIndex(56); in test_equalsLjava_lang_Object()
43 assertTrue("equals failed.", !pp.equals(pp2)); in test_equalsLjava_lang_Object()
46 assertTrue("equals failed.", pp.equals(pp2)); in test_equalsLjava_lang_Object()
70 ParsePosition pp2 = new ParsePosition(Integer.MAX_VALUE); in test_hashCode() local
73 assertEquals(pp.hashCode(), pp2.hashCode()); in test_hashCode()
/libcore/ojluni/src/test/java/text/Format/NumberFormat/
DPositionTest.java65 ParsePosition pp2 = new ParsePosition ( to ); in TestParsePosition() local
66 if (pp2.getIndex() == 5) { in TestParsePosition()
71 pp2.setIndex( 3 ); in TestParsePosition()
72 if (pp2.getIndex() == 3) { in TestParsePosition()
79 ParsePosition pp2, pp3; in TestParsePosition() local
80 pp2 = new ParsePosition( 3 ); in TestParsePosition()
83 if (! pp2.equals(pp3)) { in TestParsePosition()
/libcore/luni/src/test/java/libcore/java/text/
DOldParsePositionTest.java28 ParsePosition pp2 = new ParsePosition(0); in test_hashCode() local
30 pp1.hashCode() == pp2.hashCode()); in test_hashCode()
33 pp1.hashCode() != pp2.hashCode()); in test_hashCode()