Home
last modified time | relevance | path

Searched refs:four (Results 1 – 23 of 23) sorted by relevance

/libcore/luni/src/test/java/libcore/xml/
DSimpleBuilderTest.java74 Element four = (Element) list.item(3); in testGoodFile1() local
81 assertEquals("", getTextContent(four)); in testGoodFile1()
87 assertEquals("vier", four.getAttribute("t:four")); in testGoodFile1()
88 assertEquals("vier", four.getAttributeNS("http://www.foo.bar", "four")); in testGoodFile1()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DConcurrentModTest.java39 Double four = new Double(4.0); in testGet() local
43 al.add(four); in testGet()
83 Double four = new Double(4.0); in testSet() local
87 al.add(four); in testSet()
113 Double four = new Double(4.0); in testAdd() local
117 al.add(four); in testAdd()
143 Double four = new Double(4.0); in testRemove() local
147 al.add(four); in testRemove()
209 Double four = new Double(4.0); in testAddAll() local
213 al.add(four); in testAddAll()
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeMapTest.java24 map.put(four, "D"); in map5()
152 assertTrue(s.contains(four)); in testKeySet()
260 (e.getKey().equals(four) && e.getValue().equals("D")) ||
279 (e.getKey().equals(four) && e.getValue().equals("D")) ||
323 assertTrue(empty.containsKey(four));
361 assertEquals(four, e1.getKey());
433 assertEquals(four, e1);
497 map.remove(four);
517 assertEquals(four, e.getKey());
611 NavigableMap sm = map.subMap(two, true, four, false);
[all …]
DConcurrentSkipListMapTest.java25 map.put(four, "D"); in map5()
153 assertTrue(s.contains(four)); in testKeySet()
277 (e.getKey().equals(four) && e.getValue().equals("D")) ||
296 (e.getKey().equals(four) && e.getValue().equals("D")) ||
340 assertTrue(empty.containsKey(four));
419 map.remove(four, "A");
421 assertTrue(map.containsKey(four));
448 assertEquals(four, e1.getKey());
552 assertEquals(four, e1);
616 map.remove(four);
[all …]
DTreeSubMapTest.java25 map.put(four, "D"); in map5()
147 assertTrue(s.contains(four)); in testKeySet()
195 (e.getKey().equals(four) && e.getValue().equals("D")) ||
211 assertTrue(empty.containsKey(four));
249 assertEquals(four, e1.getKey());
313 map.remove(four);
336 assertEquals(four, e.getKey());
440 SortedMap sm = map.subMap(two, four);
447 assertFalse(sm.containsKey(four));
478 assertFalse(sm.containsKey(four));
[all …]
DConcurrentSkipListSubMapTest.java27 map.put(four, "D"); in map5()
149 assertTrue(s.contains(four)); in testKeySet()
239 (e.getKey().equals(four) && e.getValue().equals("D")) ||
255 assertTrue(empty.containsKey(four));
334 map.remove(four, "A");
336 assertTrue(map.containsKey(four));
363 assertEquals(four, e1.getKey());
427 map.remove(four);
447 assertEquals(four, e.getKey());
606 SortedMap sm = map.subMap(two, four);
[all …]
DTreeSetTest.java60 q.add(four); in set5()
400 assertEquals(four, e1); in testHigher()
551 SortedSet sm = set.subSet(two, four); in testSubSetContents()
558 assertFalse(sm.contains(four)); in testSubSetContents()
589 assertFalse(sm.contains(four)); in testSubSetContents2()
612 SortedSet sm = set.headSet(four); in testHeadSetContents()
616 assertFalse(sm.contains(four)); in testHeadSetContents()
630 assertEquals(four, set.first()); in testHeadSetContents()
642 assertTrue(sm.contains(four)); in testTailSetContents()
651 assertEquals(four, k); in testTailSetContents()
[all …]
DConcurrentSkipListSetTest.java56 q.add(four); in set5()
396 assertEquals(four, e1); in testHigher()
546 SortedSet sm = set.subSet(two, four); in testSubSetContents()
553 assertFalse(sm.contains(four)); in testSubSetContents()
584 assertFalse(sm.contains(four)); in testSubSetContents2()
607 SortedSet sm = set.headSet(four); in testHeadSetContents()
611 assertFalse(sm.contains(four)); in testHeadSetContents()
625 assertEquals(four, set.first()); in testHeadSetContents()
637 assertTrue(sm.contains(four)); in testTailSetContents()
646 assertEquals(four, k); in testTailSetContents()
[all …]
DLinkedTransferQueueTest.java769 q.transfer(four); in testTransfer3()
770 assertTrue(!q.contains(four)); in testTransfer3()
785 assertSame(four, q.poll()); in testTransfer3()
802 q.transfer(four); in testTransfer4()
803 assertFalse(q.contains(four)); in testTransfer4()
812 assertSame(four, q.poll()); in testTransfer4()
826 q.transfer(four); in testTransfer5()
834 assertSame(four, q.take()); in testTransfer5()
962 assertTrue(q.offer(four)); in testTryTransfer7()
973 assertSame(four, q.poll()); in testTryTransfer7()
[all …]
DConcurrentSkipListSubSetTest.java60 q.add(four); in set5()
358 assertEquals(four, e1); in testHigher()
509 SortedSet sm = set.subSet(two, four); in testSubSetContents()
516 assertFalse(sm.contains(four)); in testSubSetContents()
547 assertFalse(sm.contains(four)); in testSubSetContents2()
570 SortedSet sm = set.headSet(four); in testHeadSetContents()
574 assertFalse(sm.contains(four)); in testHeadSetContents()
588 assertEquals(four, set.first()); in testHeadSetContents()
600 assertTrue(sm.contains(four)); in testTailSetContents()
609 assertEquals(four, k); in testTailSetContents()
[all …]
DTreeSubSetTest.java55 q.add(four); in set5()
350 assertEquals(four, e1); in testHigher()
501 SortedSet sm = set.subSet(two, four); in testSubSetContents()
508 assertFalse(sm.contains(four)); in testSubSetContents()
539 assertFalse(sm.contains(four)); in testSubSetContents2()
562 SortedSet sm = set.headSet(four); in testHeadSetContents()
566 assertFalse(sm.contains(four)); in testHeadSetContents()
580 assertEquals(four, set.first()); in testHeadSetContents()
592 assertTrue(sm.contains(four)); in testTailSetContents()
601 assertEquals(four, k); in testTailSetContents()
[all …]
DAtomicReferenceArrayTest.java42 Integer[] a = { two, one, three, four, seven }; in testConstructor2()
53 Integer[] a = { two, one, three, four, seven }; in testConstructorSubClassArray()
209 Integer[] a = { two, one, three, four, seven }; in testToString()
DConcurrentHashMapTest.java26 map.put(four, "D"); in map5()
249 assertTrue(s.contains(four)); in testKeySet()
324 (e.getKey().equals(four) && e.getValue().equals("D")) || in testEntrySet()
340 assertTrue(empty.containsKey(four)); in testPutAll()
417 map.remove(four, "A"); in testRemove2()
419 assertTrue(map.containsKey(four)); in testRemove2()
DLinkedListTest.java485 q.addFirst(four); in testAddFirst()
486 assertSame(four, q.peek()); in testAddFirst()
494 q.push(four); in testPush()
495 assertSame(four, q.peekFirst()); in testPush()
DCopyOnWriteArraySetTest.java71 v.add(four); in testAddAll()
85 v.add(four); in testAddAll2()
DCopyOnWriteArrayListTest.java85 v.add(four); in testAddAll()
99 v.add(four); in testAddAllAbsent()
390 assertEquals(2, full.set(2, four)); in testSet()
DLinkedBlockingDequeTest.java287 q.addFirst(four); in testAddFirst()
288 assertSame(four, q.peekFirst()); in testAddFirst()
297 q.addLast(four); in testAddLast()
298 assertSame(four, q.peekLast()); in testAddLast()
434 q.push(four); in testPushWithPeek()
435 assertSame(four, q.peekFirst()); in testPushWithPeek()
DConcurrentLinkedDequeTest.java136 q.push(four); in testPush()
137 assertSame(four, q.peekFirst()); in testPush()
DArrayDequeTest.java134 q.push(four); in testPush()
135 assertSame(four, q.peekFirst()); in testPush()
DJSR166TestCase.java488 public static final Integer four = new Integer(4); field in JSR166TestCase
/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidInstanceofTest.java72 InterfaceFour four = mFour; in testDerivedFour() local
74 assertFalse("m_four should not be a ChildOfAFive", four instanceof ChildOfAFive); in testDerivedFour()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DTimestampTest.java111 Timestamp four = null; in testHashCode() local
118 four.hashCode(); in testHashCode()
DCodeSignerTest.java89 CodeSigner four = new CodeSigner(cpath2, null); in testEqualsObject() local
98 assertFalse( three.equals(four)); in testEqualsObject()