Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 27514 invoked from network); 6 Nov 2007 03:50:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2007 03:50:13 -0000 Received: (qmail 57630 invoked by uid 500); 6 Nov 2007 03:50:00 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 57587 invoked by uid 500); 6 Nov 2007 03:50:00 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 57578 invoked by uid 99); 6 Nov 2007 03:50:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 19:50:00 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 03:50:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 86F2371420D for ; Mon, 5 Nov 2007 19:49:51 -0800 (PST) Message-ID: <1979084.1194320991529.JavaMail.jira@brutus> Date: Mon, 5 Nov 2007 19:49:51 -0800 (PST) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-2242) Convert jdbcapi/metadata.java to JUnit test. In-Reply-To: <24523474.1168881987684.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540327 ] Myrna van Lunteren commented on DERBY-2242: ------------------------------------------- I implemented the TODO for testUnimplementedSQLObjectAttributes fixture with revision 590476. I made a first cut at implementing getBestRowIdentifier by taking the tests from bestrowidentifier.sql and metadata.java with revision 592240. However, I now have a question on the basic set up for this test as explained in the javadoc. The javadoc indicates that for methods that return a resultset, there are to be 2 versions; one fixture that modifies the database, and one that doesn't. With, if I understand this correctly, the idea that the ones that don't modify the database are to be used for the upgrade tests. However, I'm wondering if this idea was dropped? The javadoc appears unfinished, there are only tests for getTables and getColumns that have a modify and non-modify version, and the upgrade tests appear to execute any test that start with 'test' except for 'testGetTablesModify'. Clarification please? If I don't hear anything, I'm going to adjust the javadoc on the modify/non modify bit to only apply to getTables and getColumns tests. > Convert jdbcapi/metadata.java to JUnit test. > -------------------------------------------- > > Key: DERBY-2242 > URL: https://issues.apache.org/jira/browse/DERBY-2242 > Project: Derby > Issue Type: Test > Components: Test > Reporter: Daniel John Debrunner > Assignee: Myrna van Lunteren > Priority: Minor > > Create a test for DatabaseMetaData that matches the testing of metadata.java. > Should also handle the odbc_metadata variant. > Once created can be used by other tests to ensure database meta data works in other situations, such as upgrade and read-only databases. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.