Searched refs:col (Results 1 - 14 of 14) sorted by relevance

/libcore/support/src/test/java/tests/support/
H A DSupport_CollectionTest.java27 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 DSupport_UnmodifiableCollectionTest.java29 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/libcore/java/nio/charset/
H A DCharset_TestGenerator.java104 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 DOldCharset_AbstractTest.java297 int row = 0, col = 0; field in class:OldCharset_AbstractTest.CodesGenerator
/libcore/luni/src/test/java/tests/api/java/util/
H A DConcurrentModificationExceptionTest.java29 Collection col; field in class:ConcurrentModificationExceptionTest.CollectionModifier
34 col = c;
44 col.add(someItem);
45 col.remove(someItem);
H A DCollectionsTest.java78 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/tests/java/sql/
H A DDatabaseMetaDataTest.java191 int col = rsmd.getColumnCount();
192 assertEquals("Incorrect number of columns", 8, col);
197 for (int c = 1; c <= col; ++c) {
450 int col = rsmd.getColumnCount();
451 assertEquals("Incorrect number of columns", 14, col);
457 for (int c = 1; c <= col; ++c) {
689 int col = rsmd.getColumnCount();
690 assertEquals("Incorrect number of columns", 14, col);
696 for (int c = 1; c <= col; ++c) {
835 int col
[all...]
H A DDatabaseMetaDataNotSupportedTest.java259 int col = rsmd.getColumnCount();
260 assertEquals("Incorrect number of columns", 13, col);
265 for (int c = 1; c <= col; ++c) {
313 int col = rsmd.getColumnCount();
314 assertEquals("Incorrect number of columns", 8, col);
318 for (int c = 1; c <= col; ++c) {
351 int col = rsmd.getColumnCount();
352 assertEquals("Incorrect number of columns", 14, col);
358 for (int c = 1; c <= col; ++c) {
/libcore/luni/src/test/java/tests/security/cert/
H A DCertificateFactorySpiTest.java85 Collection<? extends Certificate> col = certFactorySpi.engineGenerateCertificates(bais);
86 assertNull("Not null Collection", col);
151 Collection<? extends Certificate> col = certFactorySpi
153 assertNull("Result must be null", col);
221 Collection<? extends Certificate> col = certFactorySpi
223 assertNull("Result must be null", col);
H A DCertificateFactory3Test.java109 Collection<? extends Certificate> col = null;
110 col = certFs[i].generateCertificates(new ByteArrayInputStream(
112 Iterator<? extends Certificate> it = col.iterator();
113 assertEquals("Incorrect Collection size", col.size(), 1);
H A DCertificateFactory2Test.java134 Collection<? extends Certificate> col = certFactory.generateCertificates(dis);
135 assertNull("Result must be null", col);
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DTestCertUtils.java722 // @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];
/libcore/luni/src/main/java/java/lang/
H A DClassLoader.java593 Collection<Package> col = packages.values();
594 Package[] result = new Package[col.size()];
595 col.toArray(result);
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldResultSetGetterTests.java1060 String col = it.next();
1062 Time timeRes = res.getTime(col);
1080 col = it.next();
1082 timeRes = res.getTime(col);
1089 assertNull(res.getTime(col));
1133 String col = it.next();
1135 Time timeRes = res.getTime(col, new GregorianCalendar());
1139 assertEquals(t1, res.getTime(col));
1141 col = it.next();
1143 timeRes = res.getTime(col, ne
[all...]

Completed in 245 milliseconds