Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 85986 invoked from network); 5 Apr 2007 19:17:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2007 19:17:23 -0000 Received: (qmail 10290 invoked by uid 500); 5 Apr 2007 19:17:30 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 10271 invoked by uid 500); 5 Apr 2007 19:17:30 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 10256 invoked by uid 99); 5 Apr 2007 19:17:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 12:17:30 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 12:17:22 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 5625F1A9838; Thu, 5 Apr 2007 12:17:02 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r525933 - in /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit: BaseJDBCTestCase.java XML.java Date: Thu, 05 Apr 2007 19:17:01 -0000 To: derby-commits@db.apache.org From: rhillegas@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070405191702.5625F1A9838@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rhillegas Date: Thu Apr 5 12:17:00 2007 New Revision: 525933 URL: http://svn.apache.org/viewvc?view=rev&rev=525933 Log: DERBY-2502: Add a header comment to XML.java, explaining how to configure your environment so that the XML tests run. Also fix a javadoc warning in BaseJDBCTestCase.java. Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseJDBCTestCase.java db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/XML.java Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseJDBCTestCase.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseJDBCTestCase.java?view=diff&rev=525933&r1=525932&r2=525933 ============================================================================== --- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseJDBCTestCase.java (original) +++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseJDBCTestCase.java Thu Apr 5 12:17:00 2007 @@ -723,9 +723,9 @@ /** * Executes the Callable statement that is expected to fail and verifies * that it throws the expected SQL exception. - * @param conn The Connection handle - * @param sql The SQL to execute * @param expectedSE The expected SQL exception + * @param conn The Connection handle + * @param callSQL The SQL to execute * @throws SQLException */ public static void assertCallError(String expectedSE, Connection conn, String callSQL) Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/XML.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/XML.java?view=diff&rev=525933&r1=525932&r2=525933 ============================================================================== --- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/XML.java (original) +++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/XML.java Thu Apr 5 12:17:00 2007 @@ -39,7 +39,40 @@ import junit.framework.Assert; /** + *

* XML utility methods for the JUnit tests. + *

+ * + *

+ * Note that The XML tests require a more advanced version of Xalan + * than the default version bundled with JDK 1.4. The XML tests silently + * exit if the required environment is not found. + *

+ * + *

+ * To run the XML tests under JDK 1.4, you must do the following: + *

+ * + *
    + *
  • Download the latest version of Xalan (2.7.0 as of this writing).
  • + *
  • Copy all of the downloaded jars into the jre/lib/endorsed directory + * of your JDK 1.4 installation. Those jar files are: + * serializer.jar, xalan.jar, xercesImpl.jar, xml-apis.jar, and xsltc.jar.
  • + *
+ * + *

+ *That's it! Now the XML tests should run for you under JDK 1.4. + *

+ * + *

+ * To run the XML tests under a higher version of the JDK, you must do the + * following: + *

+ * + *
    + *
  • Download the latest version of Xalan as described above.
  • + *
  • Wire the downloaded jar files into your CLASSPATH.
  • + *
*/ public class XML {