/libcore/luni/src/test/java/libcore/java/util/ |
D | OldTreeSetTest.java | 31 TreeSet ts; field in OldTreeSetTest 74 ts.add(new Integer(-8)); in test_addLjava_lang_Object() 75 assertTrue("Failed to add Object", ts.contains(new Integer(-8))); in test_addLjava_lang_Object() 76 ts.add(objArray[0]); in test_addLjava_lang_Object() 77 assertTrue("Added existing element", ts.size() == objArray.length + 1); in test_addLjava_lang_Object() 84 ts.add("Wrong element"); in test_addLjava_lang_Object() 95 s.addAll(ts); in test_addAllLjava_util_Collection() 96 assertTrue("Incorrect size after add", s.size() == ts.size()); in test_addAllLjava_util_Collection() 97 Iterator i = ts.iterator(); in test_addAllLjava_util_Collection() 123 ts.first() == objArray[0]); in test_first() [all …]
|
D | OldCollectionsTest.java | 838 TreeSet ts = new TreeSet<Integer>(); in test_checkedSortedSetLjava_util_SortedSetLjava_lang_Class() local 840 SortedSet ss = Collections.checkedSortedSet(ts, Integer.class); in test_checkedSortedSetLjava_util_SortedSetLjava_lang_Class()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeSetTest.java | 46 TreeSet ts; field in TreeSetTest 114 ts.add(new Integer(-8)); in test_addLjava_lang_Object() 115 assertTrue("Failed to add Object", ts.contains(new Integer(-8))); in test_addLjava_lang_Object() 116 ts.add(objArray[0]); in test_addLjava_lang_Object() 117 assertTrue("Added existing element", ts.size() == objArray.length + 1); in test_addLjava_lang_Object() 128 s.addAll(ts); in test_addAllLjava_util_Collection() 129 assertTrue("Incorrect size after add", s.size() == ts.size()); in test_addAllLjava_util_Collection() 130 Iterator i = ts.iterator(); in test_addAllLjava_util_Collection() 141 ts.clear(); in test_clear() 142 assertEquals("Returned non-zero size after clear", 0, ts.size()); in test_clear() [all …]
|
D | CollectionsTest.java | 399 TreeSet ts = new TreeSet(); in test_enumerationLjava_util_Collection() local 400 ts.addAll(s); in test_enumerationLjava_util_Collection() 401 Enumeration e = Collections.enumeration(ts); in test_enumerationLjava_util_Collection()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | CodeSignerTest.java | 41 private Timestamp ts = new Timestamp(now, cpath); field in CodeSignerTest 48 new CodeSigner(null, ts); in testCodeSigner_00() 72 CodeSigner cs = new CodeSigner(cpath, ts); in testCodeSigner_02() 84 CodeSigner one = new CodeSigner(cpath, ts); in testEqualsObject() 85 CodeSigner two = new CodeSigner(cpath, ts); in testEqualsObject() 116 assertSame(new CodeSigner(cpath, ts).getTimestamp(), ts); in testGetTimestamp() 124 assertTrue(new CodeSigner(cpath, ts).toString().contains("")); in testToString() 127 assertTrue(new CodeSigner(cpath, ts).toString().contains(ts.toString())); in testToString() 134 CodeSigner cs1 = new CodeSigner(cpath, ts); in testHashCode() 135 CodeSigner cs2 = new CodeSigner(cpath, ts); in testHashCode()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Timestamp.java | 400 public boolean equals(Timestamp ts) { in equals() argument 401 if (super.equals(ts)) { in equals() 402 if (nanos == ts.nanos) { in equals() 430 public boolean equals(java.lang.Object ts) { in equals() argument 431 if (ts instanceof Timestamp) { in equals() 432 return this.equals((Timestamp)ts); in equals() 446 public boolean before(Timestamp ts) { in before() argument 447 return compareTo(ts) < 0; in before() 458 public boolean after(Timestamp ts) { in after() argument 459 return compareTo(ts) > 0; in after() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadStateTest.java | 49 for(Thread.State ts:thStates) { in test_values() 50 assertTrue(isContain(ts)); in test_values() 55 for(Thread.State ts:exStates) { in isContain() 56 if(ts.equals(state)) return true; in isContain()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ComparableTimSort.java | 194 ComparableTimSort ts = new ComparableTimSort(a, work, workBase, workLen); in sort() local 208 ts.pushRun(lo, runLen); in sort() 209 ts.mergeCollapse(); in sort() 218 ts.mergeForceCollapse(); in sort() 219 assert ts.stackSize == 1; in sort()
|
D | TimSort.java | 226 TimSort<T> ts = new TimSort<>(a, c, work, workBase, workLen); in sort() local 240 ts.pushRun(lo, runLen); in sort() 241 ts.mergeCollapse(); in sort() 250 ts.mergeForceCollapse(); in sort() 251 assert ts.stackSize == 1; in sort()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | OpTestCase.java | 333 for (BaseStreamTestScenario ts : tests) { in without() 334 if (ts.getShape() == shape) { in without() 335 testSet.remove(ts); in without() 353 for (BaseStreamTestScenario ts : tests) { in with() 354 if (ts.getShape() == shape) { in with() 355 testSet.add(ts); in with()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | OpTestCase.java | 334 for (BaseStreamTestScenario ts : tests) { in without() 335 if (ts.getShape() == shape) { in without() 336 testSet.remove(ts); in without() 354 for (BaseStreamTestScenario ts : tests) { in with() 355 if (ts.getShape() == shape) { in with() 356 testSet.add(ts); in with()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ForkJoinTask.java | 794 List<? extends ForkJoinTask<?>> ts = in invokeAll() local 797 int last = ts.size() - 1; in invokeAll() 799 ForkJoinTask<?> t = ts.get(i); in invokeAll() 810 ForkJoinTask<?> t = ts.get(i); in invokeAll()
|
D | ConcurrentHashMap.java | 687 Class<?> c; Type[] ts, as; Type t; ParameterizedType p; in comparableClassFor() local 690 if ((ts = c.getGenericInterfaces()) != null) { in comparableClassFor() 691 for (int i = 0; i < ts.length; ++i) { in comparableClassFor() 692 if (((t = ts[i]) instanceof ParameterizedType) && in comparableClassFor()
|
/libcore/support/src/test/java/tests/resources/ |
D | junit4-4.3.1.jar | META-INF/
META-INF/MANIFEST.MF
junit/
junit/extensions/
junit/ ... |