Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 78899 invoked from network); 19 Apr 2007 18:59:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Apr 2007 18:59:37 -0000 Received: (qmail 8283 invoked by uid 500); 19 Apr 2007 18:59:43 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 8259 invoked by uid 500); 19 Apr 2007 18:59:43 -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 8250 invoked by uid 99); 19 Apr 2007 18:59:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 11:59:43 -0700 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; Thu, 19 Apr 2007 11:59:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6BA94714069 for ; Thu, 19 Apr 2007 11:59:15 -0700 (PDT) Message-ID: <19690942.1177009155438.JavaMail.jira@brutus> Date: Thu, 19 Apr 2007 11:59:15 -0700 (PDT) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1001) Rewrite 'store/encryptionKey.sql' to a JUnit test In-Reply-To: <866840363.1140183204940.JavaMail.jira@ajax.apache.org> 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-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490141 ] Kristian Waagan commented on DERBY-1001: ---------------------------------------- Nothing special should be required to run the test, but you do need to have the necessary encryption software. With a recent JVM you should be good to go, but I have only tested with Sun JVMs. What JVM did you run with? I was able to run the test(s) on Windows XP, both under Cygwin and at the command prompt (cmd.exe). I used the Java SE 6 platform. I know nothing about Eclipse, so I can't say whether running in it would make any difference. > Rewrite 'store/encryptionKey.sql' to a JUnit test > ------------------------------------------------- > > Key: DERBY-1001 > URL: https://issues.apache.org/jira/browse/DERBY-1001 > Project: Derby > Issue Type: Test > Components: Test > Affects Versions: 10.3.0.0 > Reporter: Kristian Waagan > Assigned To: Kristian Waagan > Priority: Minor > Attachments: derby-1001-1a-preliminary.diff, derby-1001-1a-preliminary.stat > > > This test has failed on Solaris10 for a long time, due to issues with the default security provider on this OS. See DERBY-788 for details. > I consider rewriting this test as interresting because it allows us to see how things can be done in "the JUnit way". > 1) Run test with multiple encryption algorithms with minimal test code duplication. > 2) Special handling of exceptions for specific providers (PCKS11-Solaris). > The rewritten test might cause some discussion on how we want to handle the issues mentioned above. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.