/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | CodeSignerTest.java | 86 CodeSigner three = new CodeSigner(cpath, null); in testEqualsObject() local 94 assertFalse(one.equals(three)); in testEqualsObject() 95 assertFalse(three.equals(one)); in testEqualsObject() 96 assertTrue(three.equals(three)); in testEqualsObject() 98 assertFalse( three.equals(four)); in testEqualsObject()
|
D | TimestampTest.java | 109 Timestamp three = new Timestamp(now, new MyCertPath(new byte[] { 10, in testHashCode() local 114 assertTrue(one.hashCode() != three.hashCode()); in testHashCode() 115 assertTrue(two.hashCode() != three.hashCode()); in testHashCode()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TreeMapTest.java | 22 map.put(three, "C"); in map5() 151 assertTrue(s.contains(three)); in testKeySet() 259 (e.getKey().equals(three) && e.getValue().equals("C")) || 278 (e.getKey().equals(three) && e.getValue().equals("C")) || 322 assertTrue(empty.containsKey(three)); 342 Map.Entry e1 = map.lowerEntry(three); 360 Map.Entry e1 = map.higherEntry(three); 378 Map.Entry e1 = map.floorEntry(three); 379 assertEquals(three, e1.getKey()); 396 Map.Entry e1 = map.ceilingEntry(three); [all …]
|
D | ConcurrentSkipListMapTest.java | 23 map.put(three, "C"); in map5() 152 assertTrue(s.contains(three)); in testKeySet() 276 (e.getKey().equals(three) && e.getValue().equals("C")) || 295 (e.getKey().equals(three) && e.getValue().equals("C")) || 339 assertTrue(empty.containsKey(three)); 429 Map.Entry e1 = map.lowerEntry(three); 447 Map.Entry e1 = map.higherEntry(three); 465 Map.Entry e1 = map.floorEntry(three); 466 assertEquals(three, e1.getKey()); 483 Map.Entry e1 = map.ceilingEntry(three); [all …]
|
D | TreeSubMapTest.java | 23 map.put(three, "C"); in map5() 146 assertTrue(s.contains(three)); in testKeySet() 194 (e.getKey().equals(three) && e.getValue().equals("C")) || 210 assertTrue(empty.containsKey(three)); 230 Map.Entry e1 = map.lowerEntry(three); 248 Map.Entry e1 = map.higherEntry(three); 266 Map.Entry e1 = map.floorEntry(three); 267 assertEquals(three, e1.getKey()); 284 Map.Entry e1 = map.ceilingEntry(three); 285 assertEquals(three, e1.getKey()); [all …]
|
D | TreeSetTest.java | 59 q.add(three); in set5() 381 Object e1 = q.lower(three); in testLower() 399 Object e1 = q.higher(three); in testHigher() 417 Object e1 = q.floor(three); in testFloor() 418 assertEquals(three, e1); in testFloor() 435 Object e1 = q.ceiling(three); in testCeiling() 436 assertEquals(three, e1); in testCeiling() 553 assertEquals(three, sm.last()); in testSubSetContents() 557 assertTrue(sm.contains(three)); in testSubSetContents() 565 assertEquals(three, k); in testSubSetContents() [all …]
|
D | ConcurrentSkipListSetTest.java | 55 q.add(three); in set5() 377 Object e1 = q.lower(three); in testLower() 395 Object e1 = q.higher(three); in testHigher() 413 Object e1 = q.floor(three); in testFloor() 414 assertEquals(three, e1); in testFloor() 431 Object e1 = q.ceiling(three); in testCeiling() 432 assertEquals(three, e1); in testCeiling() 548 assertEquals(three, sm.last()); in testSubSetContents() 552 assertTrue(sm.contains(three)); in testSubSetContents() 560 assertEquals(three, k); in testSubSetContents() [all …]
|
D | ConcurrentSkipListSubMapTest.java | 25 map.put(three, "C"); in map5() 148 assertTrue(s.contains(three)); in testKeySet() 238 (e.getKey().equals(three) && e.getValue().equals("C")) || 254 assertTrue(empty.containsKey(three)); 344 Map.Entry e1 = map.lowerEntry(three); 362 Map.Entry e1 = map.higherEntry(three); 380 Map.Entry e1 = map.floorEntry(three); 381 assertEquals(three, e1.getKey()); 398 Map.Entry e1 = map.ceilingEntry(three); 399 assertEquals(three, e1.getKey()); [all …]
|
D | AtomicReferenceArrayTest.java | 42 Integer[] a = { two, one, three, four, seven }; in testConstructor2() 53 Integer[] a = { two, one, three, four, seven }; in testConstructorSubClassArray() 149 while (!a.compareAndSet(0, two, three)) in testCompareAndSetInMultipleThreads() 157 assertSame(three, a.get(0)); in testCompareAndSetInMultipleThreads() 209 Integer[] a = { two, one, three, four, seven }; in testToString()
|
D | ConcurrentSkipListSubSetTest.java | 59 q.add(three); in set5() 339 Object e1 = q.lower(three); in testLower() 357 Object e1 = q.higher(three); in testHigher() 375 Object e1 = q.floor(three); in testFloor() 376 assertEquals(three, e1); in testFloor() 393 Object e1 = q.ceiling(three); in testCeiling() 394 assertEquals(three, e1); in testCeiling() 511 assertEquals(three, sm.last()); in testSubSetContents() 515 assertTrue(sm.contains(three)); in testSubSetContents() 523 assertEquals(three, k); in testSubSetContents() [all …]
|
D | TreeSubSetTest.java | 54 q.add(three); in set5() 331 Object e1 = q.lower(three); in testLower() 349 Object e1 = q.higher(three); in testHigher() 367 Object e1 = q.floor(three); in testFloor() 368 assertEquals(three, e1); in testFloor() 385 Object e1 = q.ceiling(three); in testCeiling() 386 assertEquals(three, e1); in testCeiling() 503 assertEquals(three, sm.last()); in testSubSetContents() 507 assertTrue(sm.contains(three)); in testSubSetContents() 515 assertEquals(three, k); in testSubSetContents() [all …]
|
D | CopyOnWriteArrayListTest.java | 84 v.add(three); in testAddAll() 98 v.add(three); in testAddAllAbsent() 119 full.addIfAbsent(three); in testAddIfAbsent2() 120 assertTrue(full.contains(three)); in testAddIfAbsent2() 298 full.add(three); in testLastIndexOf1() 309 full.add(three); in testLastIndexOf2() 311 assertEquals(-1, full.lastIndexOf(three, 3)); in testLastIndexOf2()
|
D | AtomicReferenceTest.java | 78 while (!ai.compareAndSet(two, three)) in testCompareAndSetInMultipleThreads() 86 assertSame(three, ai.get()); in testCompareAndSetInMultipleThreads()
|
D | AtomicReferenceFieldUpdaterTest.java | 122 while (!a.compareAndSet(AtomicReferenceFieldUpdaterTest.this, two, three)) in testCompareAndSetInMultipleThreads() 130 assertSame(three, a.get(this)); in testCompareAndSetInMultipleThreads()
|
D | ExchangerTest.java | 130 assertSame(three, e.exchange(one)); in testReplacementAfterExchange() 135 assertSame(one, e.exchange(three)); in testReplacementAfterExchange()
|
D | AtomicMarkableReferenceTest.java | 95 while (!ai.compareAndSet(two, three, false, false)) in testCompareAndSetInMultipleThreads() 103 assertSame(three, ai.getReference()); in testCompareAndSetInMultipleThreads()
|
D | AtomicStampedReferenceTest.java | 95 while (!ai.compareAndSet(two, three, 0, 0)) in testCompareAndSetInMultipleThreads() 103 assertSame(three, ai.getReference()); in testCompareAndSetInMultipleThreads()
|
D | CopyOnWriteArraySetTest.java | 70 v.add(three); in testAddAll() 84 v.add(three); in testAddAll2() 105 full.add(three); in testAdd3() 106 assertTrue(full.contains(three)); in testAdd3()
|
D | LinkedBlockingQueueTest.java | 122 assertFalse(q.offer(three)); in testEmptyFull() 627 q.add(three); in testIteratorRemove() 635 assertSame(it.next(), three); in testIteratorRemove() local 646 q.add(three); in testIteratorOrdering() 662 q.add(three); in testWeaklyConsistentIteration() 692 assertFalse(q.offer(three)); in testOfferInExecutor() 694 assertTrue(q.offer(three, LONG_DELAY_MS, MILLISECONDS)); in testOfferInExecutor()
|
D | ConcurrentLinkedQueueTest.java | 438 q.add(three); in testIteratorOrdering() 455 q.add(three); in testWeaklyConsistentIteration() 472 q.add(three); in testIteratorRemove() 478 assertSame(it.next(), three); in testIteratorRemove() local
|
D | ArrayBlockingQueueTest.java | 133 assertFalse(q.offer(three)); in testEmptyFull() 691 q.add(three); in testIteratorRemove() 699 assertSame(it.next(), three); in testIteratorRemove() local 710 q.add(three); in testIteratorOrdering() 728 q.add(three); in testWeaklyConsistentIteration() 758 assertFalse(q.offer(three)); in testOfferInExecutor() 760 assertTrue(q.offer(three, LONG_DELAY_MS, MILLISECONDS)); in testOfferInExecutor()
|
D | LinkedTransferQueueTest.java | 370 assertTrue(q.add(three)); in testRemoveElementAndAdd() 371 assertSame(q.take(), three); in testRemoveElementAndAdd() local 507 q.add(three); in testIteratorRemove() 515 assertSame(it.next(), three); in testIteratorRemove() local 528 q.add(three); in testIteratorOrdering() 544 q.add(three); in testWeaklyConsistentIteration() 804 assertSame(three, q.poll()); in testTransfer4() 811 assertTrue(q.offer(three)); in testTransfer4()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ConcurrentModTest.java | 38 Double three = new Double(3.0); in testGet() local 42 al.add(three); in testGet() 82 Double three = new Double(3.0); in testSet() local 86 al.add(three); in testSet() 112 Double three = new Double(3.0); in testAdd() local 116 al.add(three); in testAdd() 142 Double three = new Double(3.0); in testRemove() local 146 al.add(three); in testRemove() 208 Double three = new Double(3.0); in testAddAll() local 212 al.add(three); in testAddAll()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | SimpleBuilderTest.java | 73 Element three = (Element) list.item(2); in testGoodFile1() local 80 assertEquals("Rent this space!", getTextContent(three)); in testGoodFile1() 85 assertEquals("drei", three.getAttribute("three")); in testGoodFile1()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldAndroidInstanceofTest.java | 65 InterfaceThree three = mThree; in testDerivedThree() local 67 assertFalse("m_three should not be a ChildOfAFive", three instanceof ChildOfAFive); in testDerivedThree()
|