Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 7305 invoked from network); 11 Aug 2008 08:26:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Aug 2008 08:26:38 -0000 Received: (qmail 84975 invoked by uid 500); 11 Aug 2008 08:26:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 84940 invoked by uid 500); 11 Aug 2008 08:26:37 -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 84928 invoked by uid 99); 11 Aug 2008 08:26:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 01:26:36 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 08:25:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id ADAD0234C1A1 for ; Mon, 11 Aug 2008 01:25:46 -0700 (PDT) Message-ID: <1395665274.1218443146710.JavaMail.jira@brutus> Date: Mon, 11 Aug 2008 01:25:46 -0700 (PDT) From: "Erlend Birkenes (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3829) Convert derbynet/sysinfo and derbynet/sysinfo_with_properties to JUnit In-Reply-To: <674162625.1218388305853.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-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erlend Birkenes updated DERBY-3829: ----------------------------------- Attachment: Derby-3829_1.diff Here is a complete patch. Please review and commit if it's ok. I put both the old tests into one new one called derbynet/SysinfoTest. I thought about adding them to NetworkServerControlApiTest but I figured it would make NetworkServerControlApiTest very messy. A few things: The old test tested localized sysinfo, but the output from the server is not actually localized. It's exactly the same as en_US output. I included the localized test, but it tests against the same string as the en_US one. If the output is changed in the future a separate string can easily be added for localized. Is that ok, or should I try to find a way to test the localization? Also, when the tests run from jars, all the locale info is not included in the output at all so I just removed it from all the tests to make it simpler. Hope that's ok too. I added the new test to derbynet/_Suite and removed the old one and all its files (i think..), i ran the _Suite both from classes and jars. Ok, I hope I remembered everything! -Erlend > Convert derbynet/sysinfo and derbynet/sysinfo_with_properties to JUnit > ---------------------------------------------------------------------- > > Key: DERBY-3829 > URL: https://issues.apache.org/jira/browse/DERBY-3829 > Project: Derby > Issue Type: Test > Components: Test > Affects Versions: 10.5.0.0 > Reporter: Erlend Birkenes > Assignee: Erlend Birkenes > Priority: Minor > Fix For: 10.5.0.0 > > Attachments: Derby-3829_1.diff > > > I'm guessing these two can be combined into one file -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.