Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DRuleBasedCollatorTest.java45 RuleBasedCollator coll = new RuleBasedCollator(rule); in testHashCode() local
46 assertEquals(rule.hashCode(), coll.hashCode()); in testHashCode()
51 RuleBasedCollator coll = new RuleBasedCollator(rule); in testHashCode() local
52 assertEquals(rule.hashCode(), coll.hashCode()); in testHashCode()
57 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(Locale.US); in testClone() local
58 RuleBasedCollator clone = (RuleBasedCollator) coll.clone(); in testClone()
59 assertNotSame(coll, clone); in testClone()
60 assertEquals(coll.getRules(), clone.getRules()); in testClone()
61 assertEquals(coll.getDecomposition(), clone.getDecomposition()); in testClone()
62 assertEquals(coll.getStrength(), clone.getStrength()); in testClone()
[all …]
DCollationElementIteratorTest.java36 private RuleBasedCollator coll; field in CollationElementIteratorTest
39 coll = (RuleBasedCollator) Collator.getInstance(Locale.US); in setUp()
44 CollationElementIterator iterator = coll.getCollationElementIterator(text); in testGetOffset()
58 CollationElementIterator iterator = coll.getCollationElementIterator(text); in testNext()
82 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(Locale.US); in testPrevious() local
84 CollationElementIterator iterator = coll in testPrevious()
110 CollationElementIterator iterator = coll.getCollationElementIterator(text); in testReset()
/libcore/luni/src/test/java/libcore/java/text/
DCollatorTest.java92 RuleBasedCollator coll = new RuleBasedCollator(rule); in testEqualsObject() local
94 assertEquals(Collator.TERTIARY, coll.getStrength()); in testEqualsObject()
95 assertEquals(Collator.NO_DECOMPOSITION, coll.getDecomposition()); in testEqualsObject()
97 assertTrue(coll.equals(other)); in testEqualsObject()
99 coll.setStrength(Collator.PRIMARY); in testEqualsObject()
100 assertFalse(coll.equals(other)); in testEqualsObject()
102 coll.setStrength(Collator.TERTIARY); in testEqualsObject()
103 coll.setDecomposition(Collator.CANONICAL_DECOMPOSITION); in testEqualsObject()
105 assertFalse(coll.equals(other)); in testEqualsObject()
127 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(l); in assertGetCollationElementIteratorString() local
[all …]
/libcore/luni/src/test/java/tests/security/cert/
DCertStore1Test.java386 Collection<?> coll; in testCertStore15() local
388 coll = certS[i].getCertificates(null); in testCertStore15()
389 assertTrue("Result collection not empty",coll.isEmpty()); in testCertStore15()
390 coll = certS[i].getCRLs(null); in testCertStore15()
391 assertTrue("Result collection not empty",coll.isEmpty()); in testCertStore15()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationAccess.java124 Collection<Annotation> coll = map.values(); in getAnnotations() local
125 return coll.toArray(new Annotation[coll.size()]); in getAnnotations()
/libcore/jsr166-tests/src/test/java/jsr166/
DSynchronousQueueTest.java87 Collection<Integer> coll = Arrays.asList(ints); in testAddAll_ISE() local
89 q.addAll(coll); in testAddAll_ISE()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrayListTest.java445 Collection coll = Arrays.asList(new String[] { "1", "2" }); in testaddAllHarmony5839() local
457 list.addAll(6, coll); in testaddAllHarmony5839()