blob: 53da52173bc441bf919827289941355aa394efce [file] [log] [blame]
Jesse Wilson220002e2010-09-22 19:16:17 -07001/*
2 * This file contains expectations for tests that were annotated with @KnownFailure at the time
3 */
4[
5{
Jesse Wilson4d105202010-09-25 08:53:24 -07006 description: "Math failures when running on the host",
7 names: [
8 "org.apache.harmony.luni.tests.java.lang.LongTest#test_bitCountJ",
9 "org.apache.harmony.luni.tests.java.lang.LongTest#test_highestOneBitJ",
10 "org.apache.harmony.luni.tests.java.lang.LongTest#test_reverseBytesJ",
11 "org.apache.harmony.luni.tests.java.lang.LongTest#test_reverseJ",
12 "org.apache.harmony.luni.tests.java.lang.LongTest#test_rotateLeftJI",
13 "org.apache.harmony.luni.tests.java.lang.LongTest#test_rotateRightJI",
14 "org.apache.harmony.luni.tests.java.lang.MathTest#test_cbrt_D",
15 "org.apache.harmony.luni.tests.java.lang.MathTest#test_powDD",
16 "org.apache.harmony.luni.tests.java.lang.MathTest#test_sinh_D",
17 "org.apache.harmony.luni.tests.java.lang.StrictMathTest#test_log1p_D",
18 "org.apache.harmony.luni.tests.java.lang.StrictMathTest#test_rintD"
19 ],
20 bug: 2931959
21},
22{
23 description: "Double.parseDouble().toString does wrong rounding",
24 name: "org.apache.harmony.luni.tests.java.lang.DoubleTest#test_parseDoubleLjava_lang_String",
25 bug: 1607938
26},
27{
Jesse Wilson0e5792e2010-09-24 17:29:36 -070028 description: "We fake support for these by substituting similar (but not identical) charsets",
29 names: [
30 "libcore.java.nio.charset.OldCharset_MultiByte_Big5#test_Decode",
31 "libcore.java.nio.charset.OldCharset_MultiByte_Big5#test_Encode",
32 "libcore.java.nio.charset.OldCharset_MultiByte_EUC_JP#test_CodecDynamic",
33 "libcore.java.nio.charset.OldCharset_MultiByte_EUC_JP#test_Decode",
34 "libcore.java.nio.charset.OldCharset_MultiByte_EUC_JP#test_Encode",
35 "libcore.java.nio.charset.OldCharset_MultiByte_GB2312#test_Decode",
36 "libcore.java.nio.charset.OldCharset_MultiByte_GB2312#test_Encode",
37 "libcore.java.nio.charset.OldCharset_MultiByte_GB2312#test_nameMatch",
38 "libcore.java.nio.charset.OldCharset_MultiByte_GBK#test_Decode",
39 "libcore.java.nio.charset.OldCharset_MultiByte_GBK#test_Encode",
40 "libcore.java.nio.charset.OldCharset_MultiByte_ISO_2022_JP#test_Decode",
41 "libcore.java.nio.charset.OldCharset_MultiByte_ISO_2022_JP#test_Encode",
42 "libcore.java.nio.charset.OldCharset_MultiByte_x_windows_950#test_Encode",
43 "libcore.java.nio.charset.OldCharset_MultiByte_x_windows_950#test_nameMatch"
44 ],
45 bug: 2985901
46},
47{
Jesse Wilson5e8f0b92010-09-23 19:41:28 -070048 description: "UTF-16 and UTF-32 encoders don't write big-endian output on little-endian devices",
49 names: [
Jesse Wilson0e5792e2010-09-24 17:29:36 -070050 "libcore.java.nio.charset.CharsetEncoderTest#test_defaultReplacementBytesUtf_16",
51 "libcore.java.nio.charset.OldCharset_MultiByte_UTF_16#test_Encode",
Jesse Wilson5e8f0b92010-09-23 19:41:28 -070052 "libcore.java.nio.charset.OldCharsetTest#test_UTF_16",
53 "libcore.java.nio.charset.OldCharsetTest#test_UTF_32",
54 "libcore.java.nio.charset.OldCharsetTest#test_UTF_16BE",
55 "libcore.java.nio.charset.OldCharsetTest#test_UTF_16LE",
56 "libcore.java.nio.charset.OldCharsetTest#test_UTF_32BE",
57 "libcore.java.nio.charset.OldCharsetTest#test_UTF_32LE",
58 "libcore.java.nio.charset.OldCharsetTest#test_x_UTF_16LE_BOM",
59 "libcore.java.nio.charset.OldCharsetTest#test_X_UTF_32BE_BOM",
60 "libcore.java.nio.charset.OldCharsetTest#test_X_UTF_32LE_BOM"
61 ],
62 bug: 2702411
63},
64{
65 description: "Pre-NIO aliases not implemented",
66 name: "libcore.java.nio.charset.OldCharsetTest#test_preNioAliases",
67 bug: 3032697
68},
69{
70 description: "HTTPS proxy broken on host",
71 names: [
72 "org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest#testConsequentProxyConnection",
73 "org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest#testProxyAuthConnection",
74 "org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest#testProxyAuthConnection_doOutput",
75 "org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest#testProxyConnection",
76 "org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest#testProxyConnection_Not_Found_Response"
77 ],
78 bug: 3032875
79},
80{
81 name: "libcore.java.net.URLConnectionTest#testConnectTimeouts",
82 bug: 3032900
83},
84{
Jesse Wilson220002e2010-09-22 19:16:17 -070085 description: "Fails in CTS but passes under run-core-tests",
86 result: EXEC_FAILED,
87 name: "tests.api.java.io.FileTest#test_deleteOnExit"
88},
89{
90 description: "Fails in CTS but passes under run-core-tests",
91 result: EXEC_FAILED,
92 name: "tests.api.java.io.SerializationStressTest4#test_writeObject_Proxy"
93},
94{
95 description: "Defining classes from byte[] not supported in Android",
96 result: EXEC_FAILED,
97 name: "org.apache.harmony.luni.tests.java.lang.ClassTest#test_getClasses_subtest0"
98},
99{
100 description: "There is no protection domain set in Android.",
101 result: EXEC_FAILED,
102 name: "org.apache.harmony.luni.tests.java.lang.ClassTest#test_getProtectionDomain"
103},
104{
105 description: "Fails in CTS but passes under run-core-tests",
106 result: EXEC_FAILED,
107 names: [
108 "org.apache.harmony.luni.tests.java.lang.RuntimeTest#test_traceMethodCalls",
109 "tests.api.java.net.MulticastSocketTest#test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface",
110 "tests.api.java.util.FormatterTest#test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion"
111 ]
112},
113{
114 description: "It's not allowed to pass null as parent class loader to a new ClassLoader anymore. Maybe we need
115 to change URLClassLoader to allow this? It's not specified.",
116 result: EXEC_FAILED,
117 name: "tests.api.java.util.ResourceBundleTest#test_getBundleLjava_lang_StringLjava_util_LocaleLjava_lang_ClassLoader"
118},
119{
120 description: "Fails in CTS but passes under run-core-tests",
121 result: EXEC_FAILED,
122 names: [
123 "tests.api.java.nio.charset.CharsetProviderTest#testForName_InsufficientPrivilege",
124 "tests.api.java.nio.charset.CharsetProviderTest#testIsSupported_And_ForName_NormalProvider"
125 ]
126},
127{
128 description: "Fails (probably) because no protection domain is set.",
129 result: EXEC_FAILED,
130 names: [
131 "org.apache.harmony.security.tests.java.security.AccessController2Test#test_checkPermission_InvalidPermission",
132 "org.apache.harmony.security.tests.java.security.AccessController2Test#test_doPrivilegedLjava_security_PrivilegedAction",
133 "org.apache.harmony.security.tests.java.security.AccessController2Test#test_doPrivilegedLjava_security_PrivilegedActionLjava_security_AccessControlContext",
134 "org.apache.harmony.security.tests.java.security.AccessController2Test#test_doPrivilegedLjava_security_PrivilegedExceptionAction",
135 "org.apache.harmony.security.tests.java.security.AccessController2Test#test_doPrivilegedLjava_security_PrivilegedExceptionActionLjava_security_AccessControlContext"
136 ]
137},
138{
139 description: "Android throws IllegalArgumentException, RI throws NullPointerException",
140 result: EXEC_FAILED,
141 name: "org.apache.harmony.security.tests.java.security.SignatureTest#testUpdatebyteArrayintint2"
142},
143{
144 description: "Android doesn't support protection domains.",
145 result: EXEC_FAILED,
146 name: "tests.api.java.security.PermissionCollectionTest#test_impliesLjava_security_Permission"
147},
148{
149 description: "Android doesn't allow null parent.",
150 result: EXEC_FAILED,
151 name: "tests.java.security.SecureClassLoaderTest#testSecureClassLoaderClassLoader"
152},
153{
154 description: "expired certificate bug 2322662",
155 result: EXEC_FAILED,
156 names: [
157 "tests.security.cert.CertPathBuilder1Test#testBuild",
158 "tests.security.cert.CertPathTest#testSerializationCompatibility",
159 "tests.security.cert.CertPathTest#testSerializationSelf"
160 ]
161},
162{
163 description: "Assertion does not evaluate to true... Works in javax.Certificate",
164 result: EXEC_FAILED,
165 name: "tests.security.cert.CertificateTest#testGetEncoded"
166},
167{
168 description: "throws SocketException with message: the socket level is invalid. Works on the RI",
169 result: EXEC_FAILED,
170 name: "tests.security.permissions.JavaNetSocketTest#test_ctor2"
171},
172{
173 description: "Not all Drivers are loaded in testsetup. ClassLoader issue in DriverManager.",
174 result: EXEC_FAILED,
175 name: "org.apache.harmony.sql.tests.java.sql.DriverManagerTest#testDeregisterDriver"
176},
177{
178 description: "not supported",
179 result: EXEC_FAILED,
180 names: [
181 "tests.java.sql.SelectFunctionalityTest#test_SelectRightOuterJoin",
182 "tests.java.sql.UpdateFunctionalityTest2#testUpdate2",
183 "tests.java.sql.UpdateFunctionalityTest2#testUpdate4",
184 "tests.java.sql.UpdateFunctionalityTest2#testUpdate6",
185 "tests.java.sql.UpdateFunctionalityTest2#testUpdate7",
186 "tests.java.sql.DeleteFunctionalityTest#testDelete6"
187 ]
188},
189{
190 description: "Not supported : pattern with %",
191 result: EXEC_FAILED,
192 name: "tests.java.sql.DatabaseMetaDataTest#test_getColumnsArbitrary"
193},
194{
195 description: "Wildcard operator does not seem wo work correctly.",
196 result: EXEC_FAILED,
197 name: "tests.java.sql.DatabaseMetaDataTest#test_getColumnsSpecific"
198},
199{
200 description: "Not supported ops applied: test fails on arguments: '', '', '%', '%'",
201 result: EXEC_FAILED,
202 name: "tests.java.sql.DatabaseMetaDataTest#test_getColumnsTableWithNoCatalogSchema"
203},
204{
205 description: "(Ticket 91) Tables apply foreign key constraint. Catalogs not supported",
206 result: EXEC_FAILED,
207 name: "tests.java.sql.DatabaseMetaDataTest#test_getCrossReferenceLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String"
208},
209{
210 description: "Ticket 98",
211 result: EXEC_FAILED,
212 names: [
213 "tests.java.sql.DatabaseMetaDataTest#test_getDatabaseMajorVersion",
214 "tests.java.sql.DatabaseMetaDataTest#test_getDatabaseMinorVersion",
215 "tests.java.sql.DatabaseMetaDataTest#test_getDatabaseProductName",
216 "tests.java.sql.DatabaseMetaDataTest#test_getDatabaseProductVersion",
217 "tests.java.sql.DatabaseMetaDataTest#test_getDefaultTransactionIsolation",
218 "tests.java.sql.DatabaseMetaDataTest#test_getDriverName",
219 "tests.java.sql.DatabaseMetaDataTest#test_getDriverVersion"
220 ]
221},
222{
223 description: "Keys are not supported: Ticket 91",
224 result: EXEC_FAILED,
225 name: "tests.java.sql.DatabaseMetaDataTest#test_getImportedKeysLjava_lang_StringLjava_lang_StringLjava_lang_String"
226},
227{
228 description: "Ticket 98",
229 result: EXEC_FAILED,
230 names: [
231 "tests.java.sql.DatabaseMetaDataTest#test_getJDBCMajorVersion",
232 "tests.java.sql.DatabaseMetaDataTest#test_getJDBCMinorVersion"
233 ]
234},
235{
236 description: "Not supported feature, Ticket 98. Broken because NUMERIC_FUNCTIONS not complete. When fixed
237 change to @KnownFailure",
238 result: EXEC_FAILED,
239 name: "tests.java.sql.DatabaseMetaDataTest#test_getNumericFunctions"
240},
241{
242 description: "Ticket 91 : relies on not supported features: getCatalog, keys",
243 result: EXEC_FAILED,
244 name: "tests.java.sql.DatabaseMetaDataTest#test_getPrimaryKeysLjava_lang_StringLjava_lang_StringLjava_lang_String"
245},
246{
247 description: "Ticket 98",
248 result: EXEC_FAILED,
249 names: [
250 "tests.java.sql.DatabaseMetaDataTest#test_getResultSetHoldability",
251 "tests.java.sql.DatabaseMetaDataTest#test_getSQLKeywords",
252 "tests.java.sql.DatabaseMetaDataTest#test_getSQLStateType",
253 "tests.java.sql.DatabaseMetaDataTest#test_getSchemas",
254 "tests.java.sql.DatabaseMetaDataTest#test_getSearchStringEscape"
255 ]
256},
257{
258 description: "not supported",
259 result: EXEC_FAILED,
260 names: [
261 "tests.java.sql.DatabaseMetaDataTest#test_getStringFunctions",
262 "tests.java.sql.DatabaseMetaDataTest#test_getSystemFunctions"
263 ]
264},
265{
266 description: "Ticket 98",
267 result: EXEC_FAILED,
268 name: "tests.java.sql.DatabaseMetaDataTest#test_getTableTypes"
269},
270{
271 description: "If no schema is associated: returns empty string where actually null be returned?. Ticket 98",
272 result: EXEC_FAILED,
273 name: "tests.java.sql.DatabaseMetaDataTest#test_getTablesLjava_lang_StringLjava_lang_StringLjava_lang_String$Ljava_lang_String"
274},
275{
276 description: "not supported",
277 result: EXEC_FAILED,
278 names: [
279 "tests.java.sql.DatabaseMetaDataTest#test_getTimeDateFunctions",
280 "tests.java.sql.DatabaseMetaDataTest#test_getTypeInfo"
281 ]
282},
283{
284 description: "Ticket 98",
285 result: EXEC_FAILED,
286 names: [
287 "tests.java.sql.DatabaseMetaDataTest#test_getURL",
288 "tests.java.sql.DatabaseMetaDataTest#test_insertsAreDetectedI",
289 "tests.java.sql.DatabaseMetaDataTest#test_isReadOnly",
290 "tests.java.sql.DatabaseMetaDataTest#test_othersDeletesAreVisibleI",
291 "tests.java.sql.DatabaseMetaDataTest#test_othersInsertsAreVisibleI",
292 "tests.java.sql.DatabaseMetaDataTest#test_othersUpdatesAreVisibleI"
293 ]
294},
295{
296 description: "not supported. SQLException checking test fails",
297 result: EXEC_FAILED,
298 name: "tests.java.sql.DatabaseMetaDataTest#test_supportsColumnAliasing"
299},
300{
301 description: "exception test fails",
302 result: EXEC_FAILED,
303 names: [
304 "tests.java.sql.DatabaseMetaDataTest#test_supportsExpressionsInOrderBy",
305 "tests.java.sql.DatabaseMetaDataTest#test_supportsGroupBy",
306 "tests.java.sql.DatabaseMetaDataTest#test_supportsGroupByUnrelated"
307 ]
308},
309{
310 description: "Ticket 98",
311 result: EXEC_FAILED,
312 name: "tests.java.sql.DatabaseMetaDataTest#test_supportsNonNullableColumns"
313},
314{
315 description: "exception test fails",
316 result: EXEC_FAILED,
317 names: [
318 "tests.java.sql.DatabaseMetaDataTest#test_supportsOrderByUnrelated",
319 "tests.java.sql.DatabaseMetaDataTest#test_supportsSelectForUpdate",
320 "tests.java.sql.DatabaseMetaDataTest#test_supportsSubqueriesInExists",
321 "tests.java.sql.DatabaseMetaDataTest#test_supportsTableCorrelationNames"
322 ]
323},
324{
325 description: "Not supported ops applied",
326 result: EXEC_FAILED,
327 name: "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_allTablesAreSelectable"
328},
329{
330 description: "not supported",
331 result: EXEC_FAILED,
332 name: "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_doesMaxRowSizeIncludeBlobs"
333},
334{
335 description: "not supported. Privileges are not supported.",
336 result: EXEC_FAILED,
337 name: "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_getColumnPrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String"
338},
339{
340 description: "not supported",
341 result: EXEC_FAILED,
342 names: [
343 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_getExportedKeysLjava_lang_StringLjava_lang_StringLjava_lang_String",
344 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_getIndexInfoLjava_lang_StringLjava_lang_StringLjava_lang_StringZZ"
345 ]
346},
347{
348 description: "Exception test fails",
349 result: EXEC_FAILED,
350 names: [
351 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_getMaxTableNameLength",
352 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_getMaxTablesInSelect",
353 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_getMaxUserNameLength",
354 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_getProcedureTerm",
355 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_getSchemaTerm"
356 ]
357},
358{
359 description: "not supported. Privileges are not supported.",
360 result: EXEC_FAILED,
361 name: "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String"
362},
363{
364 description: "Not supported ops applied",
365 result: EXEC_FAILED,
366 name: "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_getVersionColumnsLjava_lang_StringLjava_lang_StringLjava_lang_String"
367},
368{
369 description: "Exception test fails",
370 result: EXEC_FAILED,
371 name: "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_isCatalogAtStart"
372},
373{
374 description: "not supported",
375 result: EXEC_FAILED,
376 names: [
377 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_locatorsUpdateCopy",
378 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_supportsANSI92EntryLevelSQL",
379 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_supportsDataDefinitionAndDataManipulationTransactions",
380 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_supportsMinimumSQLGrammar",
381 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_supportsResultSetTypeI",
382 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_supportsSubqueriesInComparisons",
383 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_supportsSubqueriesInIns",
384 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_supportsTransactions",
385 "tests.java.sql.DatabaseMetaDataNotSupportedTest#test_usesLocalFiles",
386 "tests.sql.ConnectionTest#testClearWarnings",
387 "tests.sql.ConnectionTest#testCreateStatementIntIntIntNotSupported"
388 ]
389},
390{
391 description: "Scrolling on a forward only RS not allowed. conn.close() does not wrap up",
392 result: EXEC_FAILED,
393 name: "tests.sql.ConnectionTest#testCreateStatement_int_int"
394},
395{
396 description: "not supported",
397 result: EXEC_FAILED,
398 names: [
399 "tests.sql.ConnectionTest#testGetCatalog",
400 "tests.sql.ConnectionTest#testGetHoldability"
401 ]
402},
403{
404 description: "conn.close() does not wrap up",
405 result: EXEC_FAILED,
406 name: "tests.sql.ConnectionTest#testGetMetaData"
407},
408{
409 description: "not supported",
410 result: EXEC_FAILED,
411 names: [
412 "tests.sql.ConnectionTest#testGetTransactionIsolation",
413 "tests.sql.ConnectionTest#testGetWarnings"
414 ]
415},
416{
417 description: "conn.close() does not wrap up",
418 result: EXEC_FAILED,
419 name: "tests.sql.ConnectionTest#testIsReadOnly"
420},
421{
422 description: "not supported",
423 result: EXEC_FAILED,
424 names: [
425 "tests.sql.ConnectionTest#testPrepareStatementNotSupported",
426 "tests.sql.ConnectionTest#testPrepareStatement_String_int"
427 ]
428},
429{
430 description: "conn.close() does not wrap up",
431 result: EXEC_FAILED,
432 name: "tests.sql.ConnectionTest#testSetAutoCommit"
433},
434{
435 description: "not supported",
436 result: EXEC_FAILED,
437 names: [
438 "tests.sql.ConnectionTest#testSetHoldability",
439 "tests.sql.ConnectionTest#testSetReadOnly"
440 ]
441},
442{
443 description: "First Exception test fails: parameters not cleared.",
444 result: EXEC_FAILED,
445 name: "tests.sql.PreparedStatementTest#testClearParameters"
446},
447{
448 description: "preparedStatement.execute() does not return false on update.",
449 result: EXEC_FAILED,
450 name: "tests.sql.PreparedStatementTest#testExecute"
451},
452{
453 description: "it is not possible to invoke the method getMetaData on a PreparedStatement object before it is
454 executed: got NullPointerException.Test passes on RI.",
455 result: EXEC_FAILED,
456 name: "tests.sql.PreparedStatementTest#testGetMetaData"
457},
458{
459 description: "preparedStatement.execute() does not return false on update.",
460 result: EXEC_FAILED,
461 name: "tests.sql.PreparedStatementTest#testSetBigDecimal"
462},
463{
464 description: "exception test fails",
465 result: EXEC_FAILED,
466 names: [
467 "tests.sql.PreparedStatementTest#testSetBoolean",
468 "tests.sql.PreparedStatementTest#testSetByte"
469 ]
470},
471{
472 description: "preparedStatement.execute() does not return false on update.",
473 result: EXEC_FAILED,
474 name: "tests.sql.PreparedStatementTest#testSetBytes"
475},
476{
477 description: "preparedStatement.execute() does not return false on update. Setting a data for a declared
478 INTEGER should throw Exception",
479 result: EXEC_FAILED,
480 name: "tests.sql.PreparedStatementTest#testSetDate_int_Date"
481},
482{
483 description: "preparedStatement.execute() does not return false on update.",
484 result: EXEC_FAILED,
485 name: "tests.sql.PreparedStatementTest#testSetDate_int_Date_Calendar"
486},
487{
488 description: "exception test fails",
489 result: EXEC_FAILED,
490 names: [
491 "tests.sql.PreparedStatementTest#testSetDouble",
492 "tests.sql.PreparedStatementTest#testSetFloat",
493 "tests.sql.PreparedStatementTest#testSetInt",
494 "tests.sql.PreparedStatementTest#testSetLong",
495 "tests.sql.PreparedStatementTest#testSetObject_int_Object"
496 ]
497},
498{
499 description: "Fails for Types.DATE",
500 result: EXEC_FAILED,
501 names: [
502 "tests.sql.PreparedStatementTest#testSetObject_int_Object_int",
503 "tests.sql.PreparedStatementTest#testSetObject_int_Object_int_int"
504 ]
505},
506{
507 description: "exception test fails",
508 result: EXEC_FAILED,
509 names: [
510 "tests.sql.PreparedStatementTest#testSetShort",
511 "tests.sql.PreparedStatementTest#testSetString_charField",
512 "tests.sql.PreparedStatementTest#testSetString_longTextField"
513 ]
514},
515{
516 description: "statement.close() does not wrap up",
517 result: EXEC_FAILED,
518 name: "tests.sql.PreparedStatementTest#testSetString_tinyTextField"
519},
520{
521 description: "preparedStatement.execute() does not return False on update.",
522 result: EXEC_FAILED,
523 name: "tests.sql.PreparedStatementTest#testSetTime_int_Time_Calendar"
524},
525{
526 description: "statement.close() does not wrap up",
527 result: EXEC_FAILED,
528 name: "tests.sql.PreparedStatementTest#testSetTimeint_Time"
529},
530{
531 description: "preparedStatement.execute() does not return false on update.",
532 result: EXEC_FAILED,
533 names: [
534 "tests.sql.PreparedStatementTest#testSetTimestampIntTimestampCalendar",
535 "tests.sql.PreparedStatementTest#testSetTimestamp_int_Timestamp"
536 ]
537},
538{
539 description: "last assertion fails: invalid conversion. Test passes on RI",
540 result: EXEC_FAILED,
541 names: [
542 "tests.sql.ResultSetGetterTests#testGetBytesStringBinary",
543 "tests.sql.ResultSetGetterTests#testGetBytesStringVarbinary"
544 ]
545},
546{
547 description: "Wrong value returned for Long: java.lang.String (VARCHAR)",
548 result: EXEC_FAILED,
549 name: "tests.sql.ResultSetGetterTests#testGetMetaData"
550},
551{
552 description: "Wrong value returned for Long: java.lang.String",
553 result: EXEC_FAILED,
554 names: [
555 "tests.sql.ResultSetGetterTests#testGetObjectInt",
556 "tests.sql.ResultSetGetterTests#testGetObjectString"
557 ]
558},
559{
560 description: "If there is no current row 0 must be returned. res.close() does not wrap up",
561 result: EXEC_FAILED,
562 name: "tests.sql.ResultSetGetterTests#testGetRow"
563},
564{
565 description: "According to spec info.getStatement should return null but an exception is thrown: stale result
566 set.",
567 result: EXEC_FAILED,
568 name: "tests.sql.ResultSetGetterTests#testGetStatement"
569},
570{
571 description: "getTime should return Time value for a TIMESTAMP type but returns null",
572 result: EXEC_FAILED,
573 name: "tests.sql.ResultSetGetterTests#testGetTimeInt"
574},
575{
576 description: "getTime on TIMESTAMP value fails: returns null",
577 result: EXEC_FAILED,
578 name: "tests.sql.ResultSetGetterTests#testGetTimeIntCalendar"
579},
580{
581 description: "getTime should return a Time value for a TIMESTAMP type but returns null",
582 result: EXEC_FAILED,
583 name: "tests.sql.ResultSetGetterTests#testGetTimeString"
584},
585{
586 description: "getTime on TIMESTAMP value fails: returns null",
587 result: EXEC_FAILED,
588 name: "tests.sql.ResultSetGetterTests#testGetTimeStringCalendar"
589},
590{
591 description: "res.close() does not wrap up",
592 result: EXEC_FAILED,
593 name: "tests.sql.ResultSetGetterTests#testGetType"
594},
595{
596 description: "not supported",
597 result: EXEC_FAILED,
598 name: "tests.sql.ResultSetMetaDataTest#testGetCatalogName"
599},
600{
601 description: "SQLException checking test fails",
602 result: EXEC_FAILED,
603 name: "tests.sql.ResultSetMetaDataTest#testGetColumnCount"
604},
605{
606 description: "not supported",
607 result: EXEC_FAILED,
608 name: "tests.sql.ResultSetMetaDataTest#testGetColumnDisplaySize"
609},
610{
611 description: "Column label has format TABLE.COLUMN expected: COLUMN",
612 result: EXEC_FAILED,
613 names: [
614 "tests.sql.ResultSetMetaDataTest#testGetColumnLabel",
615 "tests.sql.ResultSetMetaDataTest#testGetColumnName"
616 ]
617},
618{
619 description: "not supported",
620 result: EXEC_FAILED,
621 name: "tests.sql.ResultSetMetaDataTest#testGetPrecision"
622},
623{
624 description: "Not supported",
625 result: EXEC_FAILED,
626 name: "tests.sql.ResultSetMetaDataTest#testGetScale"
627},
628{
629 description: "not supported",
630 result: EXEC_FAILED,
631 name: "tests.sql.ResultSetMetaDataTest#testGetSchema"
632},
633{
634 description: "For int = 0, exception expected",
635 result: EXEC_FAILED,
636 name: "tests.sql.ResultSetMetaDataTest#testGetTableName"
637},
638{
639 description: "not supported",
640 result: EXEC_FAILED,
641 names: [
642 "tests.sql.ResultSetMetaDataTest#testIsCaseSensitive",
643 "tests.sql.ResultSetMetaDataTest#testIsCurrency",
644 "tests.sql.ResultSetMetaDataTest#testIsDefinitlyWritable",
645 "tests.sql.ResultSetMetaDataTest#testIsNullable",
646 "tests.sql.ResultSetMetaDataTest#testIsReadOnly",
647 "tests.sql.ResultSetMetaDataTest#testIsSearchable",
648 "tests.sql.ResultSetMetaDataTest#testIsSigned",
649 "tests.sql.ResultSetMetaDataTest#testIsWritable",
650 "tests.sql.ResultSetMetaDataTest#testisAutoIncrement"
651 ]
652},
653{
654 description: "res.close() does not wrap up",
655 result: EXEC_FAILED,
656 name: "tests.sql.ResultSetTest#testAfterLast"
657},
658{
659 description: "statement.close() does not wrap up",
660 result: EXEC_FAILED,
661 name: "tests.sql.ResultSetTest#testBeforeFirst"
662},
663{
664 description: "Not supported",
665 result: EXEC_FAILED,
666 name: "tests.sql.ResultSetTest#testClearWarnings"
667},
668{
669 description: "Resultset.close() does not wrap up",
670 result: EXEC_FAILED,
671 names: [
672 "tests.sql.ResultSetTest#testClose1",
673 "tests.sql.ResultSetTest#testNext"
674 ]
675},
676{
677 description: "no exception is thrown when moving cursor backwards on forward only statement",
678 result: EXEC_FAILED,
679 name: "tests.sql.ResultSetTest#testRelative"
680},
681{
682 description: "Scrollable resultSet. Not supported",
683 result: EXEC_FAILED,
684 name: "tests.sql.ResultSetTest#testRelativeScrollableResultSet"
685},
686{
687 description: "not supported",
688 result: EXEC_FAILED,
689 name: "tests.sql.ResultSetTest#testUpdateObjectStringObject"
690},
691{
692 description: "Feature not supported",
693 result: EXEC_FAILED,
694 name: "tests.sql.ResultSetTest#testUpdateStringStringString"
695},
696{
697 description: "the default tests, and exception tests fail.",
698 result: EXEC_FAILED,
699 name: "tests.sql.ResultSetTest#testWasNull"
700},
701{
702 description: "statement.close() does not wrap up",
703 result: EXEC_FAILED,
704 names: [
705 "tests.sql.ResultSetTest#testtestFirst",
706 "tests.sql.ResultSetTest#testtestIsAfterLast"
707 ]
708},
709{
710 description: "In Second code block assertion fails. statement. close() does not wrap up",
711 result: EXEC_FAILED,
712 name: "tests.sql.ResultSetTest#testtestIsBeforeFirst"
713},
714{
715 description: "statement.close() does not wrap up",
716 result: EXEC_FAILED,
717 name: "tests.sql.ResultSetTest#testtestIsFirst"
718},
719{
720 description: "Second block first assertion fails. Is Last should evaluate true if the row on which the cursor
721 is actually provides a result.statement.close() does not wrap up",
722 result: EXEC_FAILED,
723 name: "tests.sql.ResultSetTest#testtestIsLast"
724},
725{
726 description: "statement.close() does not wrap up",
727 result: EXEC_FAILED,
728 name: "tests.sql.ResultSetTest#testtestLast"
729},
730{
731 description: "Bug in implementation of cancel: Does not fulfill spec.",
732 result: EXEC_FAILED,
733 name: "tests.sql.StatementTest#testCancel"
734},
735{
736 description: "statement.close() does not wrap up",
737 result: EXEC_FAILED,
738 name: "tests.sql.StatementTest#testClose"
739},
740{
741 description: "Return value wrong for queries below.",
742 result: EXEC_FAILED,
743 name: "tests.sql.StatementTest#testExecute"
744},
745{
746 description: "always returns 1 for no. of updates",
747 result: EXEC_FAILED,
748 name: "tests.sql.StatementTest#testExecuteBatch"
749},
750{
751 description: "Does throw an exception on non select statement.",
752 result: EXEC_FAILED,
753 name: "tests.sql.StatementTest#testExecuteQuery_String"
754},
755{
756 description: "Spec is not precise enough: should be: number of rows affected. eg. to be consistent for deletes:
757 'delete from s1;' should be different from 'delete from s1 where c1 = 1;'",
758 result: EXEC_FAILED,
759 name: "tests.sql.StatementTest#testExecuteUpdate_String"
760},
761{
762 description: "statement.close() does not wrap up",
763 result: EXEC_FAILED,
764 names: [
765 "tests.sql.StatementTest#testGetConnection",
766 "tests.sql.StatementTest#testGetFetchDirection",
767 "tests.sql.StatementTest#testGetFetchSize"
768 ]
769},
770{
771 description: "not supported",
772 result: EXEC_FAILED,
773 name: "tests.sql.StatementTest#testGetMoreResults"
774},
775{
776 description: "An other value is returned than was set (X * 1000)",
777 result: EXEC_FAILED,
778 name: "tests.sql.StatementTest#testGetQueryTimeout"
779},
780{
781 description: "Does not return null on update count > 0 (not a select statement)",
782 result: EXEC_FAILED,
783 name: "tests.sql.StatementTest#testGetResultSet"
784},
785{
786 description: "Not supported",
787 result: EXEC_FAILED,
788 name: "tests.sql.StatementTest#testGetResultSetConcurrency"
789},
790{
791 description: "Test for default value fails",
792 result: EXEC_FAILED,
793 name: "tests.sql.StatementTest#testGetResultSetHoldability"
794},
795{
796 description: "not fully supported",
797 result: EXEC_FAILED,
798 name: "tests.sql.StatementTest#testGetResultSetType"
799},
800{
801 description: "statement.close() does not wrap up",
802 result: EXEC_FAILED,
803 name: "tests.sql.StatementTest#testGetUpdateCount"
804},
805{
806 description: "Fails in CTS but passes under run-core-tests",
807 result: EXEC_FAILED,
808 name: "org.apache.harmony.text.tests.java.text.DecimalFormatTest#test_formatToCharacterIteratorLjava_lang_Object"
809},
810{
811 description: "Handshake Status is never finished. NPE in ClientSessionContext$HostAndPort.hashCode() when host
812 is null",
813 result: EXEC_FAILED,
814 name: "tests.api.javax.net.ssl.SSLEngineTest#testHandshake"
815},
816{
817 description: "org.apache.harmony.xnet.provider.jsse.SSLEngineImpl#getDelegatedTask() throws NPE instead of
818 returning null",
819 result: EXEC_FAILED,
820 name: "tests.api.javax.net.ssl.SSLEngineTest#test_getDelegatedTask"
821},
822{
823 description: "Fixed in DonutBurger, boundary checks missing",
824 result: EXEC_FAILED,
825 name: "tests.api.javax.net.ssl.SSLEngineTest#test_unwrap_02"
826},
827{
828 description: "Fixed on DonutBurger, Wrong Exception thrown",
829 result: EXEC_FAILED,
830 names: [
831 "tests.api.javax.net.ssl.SSLEngineTest#test_unwrap_03",
832 "tests.api.javax.net.ssl.SSLEngineTest#test_unwrap_04",
833 "tests.api.javax.net.ssl.SSLEngineTest#test_unwrap_ByteBuffer$ByteBuffer_02",
834 "tests.api.javax.net.ssl.SSLEngineTest#test_unwrap_ByteBuffer$ByteBuffer_03",
835 "tests.api.javax.net.ssl.SSLEngineTest#test_unwrap_ByteBuffer_ByteBuffer_02",
836 "tests.api.javax.net.ssl.SSLEngineTest#test_unwrap_ByteBuffer_ByteBuffer_03"
837 ]
838},
839{
840 description: "Fixed in DonutBurger, boundary checks missing",
841 result: EXEC_FAILED,
842 name: "tests.api.javax.net.ssl.SSLEngineTest#test_wrap_02"
843},
844{
845 description: "Fixed on DonutBurger, Wrong Exception thrown",
846 result: EXEC_FAILED,
847 names: [
848 "tests.api.javax.net.ssl.SSLEngineTest#test_wrap_04",
849 "tests.api.javax.net.ssl.SSLEngineTest#test_wrap_ByteBuffer$ByteBuffer_03",
850 "tests.api.javax.net.ssl.SSLEngineTest#test_wrap_ByteBuffer_ByteBuffer_03"
851 ]
852},
853{
854 description: "ManagerFactoryParameters object is not supported and InvalidAlgorithmParameterException was
855 thrown.",
856 result: EXEC_FAILED,
857 name: "tests.api.javax.net.ssl.TrustManagerFactory1Test#test_initLjavax_net_ssl_ManagerFactoryParameters"
858},
859{
860 description: "DefaultHostnameVerifier is broken on Android, fixed in donutburger",
861 result: EXEC_FAILED,
862 name: "tests.api.javax.net.ssl.HostnameVerifierTest#testSubjectAlt"
863},
864{
865 description: "NO SERVER CERTIFICATE FOUND - selectSuite should not pick a suite that needs a certificate if it is missing",
866 result: EXEC_FAILED,
867 name: "javax.net.ssl.SSLEngineTest#test_SSLEngine_beginHandshake_noKeyStore"
868},
869{
870 description: "AlertException instead of SSLException",
871 result: EXEC_FAILED,
872 name: "javax.net.ssl.SSLEngineTest#test_SSLEngine_setEnableSessionCreation_client"
873},
874{
875 description: "SSLException instead of failure to handshake",
876 result: EXEC_FAILED,
877 name: "javax.net.ssl.SSLEngineTest#test_SSLEngine_setEnableSessionCreation_server"
878},
879{
880 description: "SSLHandshakeException instead of failure to handshake",
881 result: EXEC_FAILED,
882 name: "javax.net.ssl.SSLEngineTest#test_SSLEngine_setUseClientMode"
883},
884{
885 description: "method test fails once in a while. Cannot be sure that exception is thrown in every test execution.",
886 result: EXEC_FAILED,
887 name: "tests.SQLite.DatabaseTest#testBusy_handler"
888},
889{
890 description: "Database does not lock values",
891 result: EXEC_FAILED,
892 name: "tests.SQLite.DatabaseTest#testBusy_timeout"
893},
894{
895 description: "Returns wrong number for updates: returns value > 1 for select.",
896 result: EXEC_FAILED,
897 name: "tests.SQLite.DatabaseTest#testChanges"
898},
899{
900 description: "Aggregation function not called",
901 result: EXEC_FAILED,
902 name: "tests.SQLite.DatabaseTest#testCreate_aggregate"
903},
904{
905 description: "Reason for failure unknown: Database should be locked. Specification of interrupt is scarce.",
906 result: EXEC_FAILED,
907 name: "tests.SQLite.DatabaseTest#testInterrupt"
908},
909{
910 description: "not supported",
911 result: EXEC_FAILED,
912 name: "tests.SQLite.DatabaseTest#testOpen_blob"
913},
914{
915 description: "Callback never made for authorization. Results of private table are returned without further checks.",
916 result: EXEC_FAILED,
917 name: "tests.SQLite.DatabaseTest#testSet_authorizer"
918},
919{
920 description: "ASCII encoding does not work: a UTF encoded val is returned. Spec is not sufficient. Might be that test impl is wrong or String constructor for the ASCII encoding.",
921 result: EXEC_FAILED,
922 name: "tests.SQLite.DatabaseTest#testSet_encoding"
923},
924{
925 description: "db.open_blob is not supported.",
926 result: EXEC_FAILED,
927 name: "tests.SQLite.BlobTest#testBlob"
928},
929{
930 description: "Wrong value is returned in case of a prepared statement to which a '*' bound",
931 result: EXEC_FAILED,
932 name: "tests.SQLite.StmtTest#testColumn_count"
933},
934{
935 description: "ZeroBlob not supported",
936 result: EXEC_FAILED,
937 name: "tests.SQLite.FunctionContextTest#testSet_result_zeroblob"
938}
939]