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