Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DBreakIteratorTest.java67 BreakIterator cloned = (BreakIterator) iterator.clone(); in testClone() local
68 assertNotSame(cloned, iterator); in testClone()
69 assertEquals(cloned, iterator); in testClone()
DDecimalFormatTest.java647 DecimalFormat cloned = (DecimalFormat) format.clone(); in test_equals() local
648 cloned.setDecimalFormatSymbols(new DecimalFormatSymbols(Locale.US)); in test_equals()
649 assertEquals(format, cloned); in test_equals()
652 cloned.setCurrency(c); in test_equals()
654 assertEquals(format, cloned); in test_equals()
999 DecimalFormat cloned = (DecimalFormat) format.clone(); in test_clone() local
1000 assertEquals(cloned.getDecimalFormatSymbols(), format.getDecimalFormatSymbols()); in test_clone()
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java170 Parsed cloned = new Parsed(); in copy() local
171 cloned.fieldValues.putAll(this.fieldValues); in copy()
172 cloned.zone = this.zone; in copy()
173 cloned.chrono = this.chrono; in copy()
174 cloned.leapSecond = this.leapSecond; in copy()
175 return cloned; in copy()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DHashSetTest.java227 HashSet<Integer> cloned = (HashSet) emptyHs.clone(); in test_empty_clone() local
228 cloned.add(new Integer(8)); in test_empty_clone()
DArrayDequeTest.java883 ArrayDeque<Object> cloned = testQue.clone(); in test_clone() local
884 assertEquals(0, cloned.size()); in test_clone()
885 assertFalse(cloned == testQue); in test_clone()
892 cloned = testQue.clone(); in test_clone()
893 assertEquals(6, cloned.size()); in test_clone()
895 assertEquals(testQue.remove(), cloned.remove()); in test_clone()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DLambdaTestHelpers.java408 …AssertionError cloned = new AssertionError(ae.getMessage() + String.format("%n%s", additionalInfo.…
409 cloned.setStackTrace(ae.getStackTrace());
411 cloned.initCause(ae.getCause());
412 throw cloned;
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DLambdaTestHelpers.java409 …AssertionError cloned = new AssertionError(ae.getMessage() + String.format("%n%s", additionalInfo.…
410 cloned.setStackTrace(ae.getStackTrace());
412 cloned.initCause(ae.getCause());
413 throw cloned;