/libcore/support/src/test/java/tests/support/ |
H A D | Support_CollectionTest.java | 27 Collection<Integer> col; // must contain the Integers 0 to 99 field in class:Support_CollectionTest 35 col = c; 40 new Support_UnmodifiableCollectionTest("", col).runTest(); 49 assertTrue("CollectionTest - a) add did not work", col.add(new Integer( 51 assertTrue("CollectionTest - b) add did not work", col 55 assertTrue("CollectionTest - a) remove did not work", col 57 assertTrue("CollectionTest - b) remove did not work", !col 61 assertTrue("CollectionTest - a) addAll failed", col 63 assertTrue("CollectionTest - b) addAll failed", col 67 assertTrue("CollectionTest - a) containsAll failed", col [all...] |
H A D | Support_UnmodifiableCollectionTest.java | 29 Collection<Integer> col; field in class:Support_UnmodifiableCollectionTest 40 col = c; 47 assertTrue("UnmodifiableCollectionTest - should contain 0", col 49 assertTrue("UnmodifiableCollectionTest - should contain 50", col 51 assertTrue("UnmodifiableCollectionTest - should not contain 100", !col 61 col.containsAll(hs)); 65 !col.containsAll(hs)); 68 assertTrue("UnmodifiableCollectionTest - should not be empty", !col 72 Iterator<Integer> it = col.iterator(); 89 + col [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | ConcurrentModificationExceptionTest.java | 29 Collection col; field in class:ConcurrentModificationExceptionTest.CollectionModifier 34 col = c; 44 col.add(someItem); 45 col.remove(someItem);
|
H A D | CollectionsTest.java | 78 Collection col; field in class:CollectionsTest.SynchCollectionChecker 98 synchronized (col) { 99 if (!(col.isEmpty() || col.containsAll(normalCountingList) || col 102 col.clear(); 105 col.addAll(offsetCountingList); 107 col.addAll(normalCountingList); 117 col = c; 125 col 239 Collection col; // must contain the Integers 0 to 99 field in class:CollectionsTest.CollectionTest [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
H A D | Charset_TestGenerator.java | 104 int row = 0, col = 0; field in class:Charset_TestGenerator.CodesGenerator 118 col++; 119 if (col == 16) { 122 col = 0; 139 col++; 140 if (col == 80) { 143 col = 0; 153 buf[col] = (char) code; 156 col++; 157 if (col 190 int row = 0, col = 0; field in class:Charset_TestGenerator.Dumper [all...] |
H A D | OldCharset_AbstractTest.java | 266 int row = 0, col = 0; field in class:OldCharset_AbstractTest.CodesGenerator
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
H A D | X509CertificateTest.java | 816 Collection<List<?>> col = c.getSubjectAlternativeNames(); 818 checkAlternativeNames(f, col); 821 private void checkAlternativeNames(CertificateFactory f, Collection<List<?>> col) throws Exception { argument 822 assertNotNull(col); 827 col.add(new ArrayList<Object>()); 839 for (List<?> item : col) { 910 Collection<List<?>> col = c.getSubjectAlternativeNames(); 912 assertNotNull(f.getProvider().getName(), col); 914 assertEquals(1, col.size()); 915 List<?> item = col [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | TestCertUtils.java | 722 // @param col 726 private static String getData(int col, int startRow) { argument 729 if (datas[i][col] != null) { 730 return datas[i][col]; 735 if (datas[i][col] != null) { 736 return datas[i][col];
|