[ http://issues.apache.org/jira/browse/DERBY-398?page=all ]

Deepa Remesh updated DERBY-398:
-------------------------------

    Attachment: jdk14_tests_2.diff

Thanks Kathey for looking at the patches. I have attached  'jdk14_tests_2.diff' 
since the first patch had conflicts. With this patch, I successfully ran jdk14 
suite in j2se and j2me.  Answers to Kathey's questions:

1. "ij.database and ij.protocol being removed from the System.Properties. Where 
are they being set? It seems it would be better to never set them than add and 
then removed later."

These properties are needed to run the test when ij.dataSource is not set. 
startJBMS method uses these properties to get a connection. If these properties 
are not set and ij.dataSource property is set, it uses the ij.dataSource.* 
properties for the connection.

2. "For the test harness there were changes made to RunList to change jdk14test 
to jdbc30 test. We have another property runwith<jdk>=false that is used for 
some tests to disable running with jdk 1..3.1. I wonder, would be better to 
just get rid of the jdk14test property all together and use runwithjdk13=false 
and runwithibm13=false?"

I did not understand this question fully. I have renamed 'jdk14test' property 
to 'jdbc30test' since these tests are actually testing jdbc30 apis. With this 
patch, 'jdk14test' property is removed from harness. Maybe, the suite names are 
misleading. I can rename 'jdk14' suite to 'jdbc30'? 

Please take a look at the new patch.

> Exclude tests for J2ME/CDC/Foundation platform
> ----------------------------------------------
>
>          Key: DERBY-398
>          URL: http://issues.apache.org/jira/browse/DERBY-398
>      Project: Derby
>         Type: Sub-task
>   Components: Test
>     Reporter: Deepa Remesh
>     Assignee: Deepa Remesh
>  Attachments: derby-398_2.diff, derby-398_2.status, derbyall_report_2.txt, 
> jdbcapi_lang_patch.diff, jdbcapi_lang_patch.status, jdk14_tests.status, 
> jdk14_tests_2.diff, nullSQLText_patch.diff, nullSQLText_patch.status, 
> readme_patch.diff, store_patch.diff, store_patch.status, 
> wisconsin_patch.diff, wisconsin_patch.status
>
> Exclude tests which use DriverManager, Driver or BigDecimal classes which are 
> not in J2ME or JSR169. Ensure that derbyall can be run successfully in 
> J2ME/CDC/Foundation platform using the JDBC Optional Package for 
> CDC/Foundation Profile (JSR169).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to