From: | Barry Lind <blind(at)xythos(dot)com> |
---|---|
To: | Oliver Jowett <oliver(at)opencloud(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: patch: fix skeleton code in test README |
Date: | 2003-08-11 21:21:06 |
Message-ID: | 3F3808C2.2050803@xythos.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Patch applied.
--Barry
Oliver Jowett wrote:
> This patch fixes the test skeleton code in org/postgresql/test/README to
> reflect the current source tree.
>
> -O
>
>
> ------------------------------------------------------------------------
>
> Index: src/interfaces/jdbc/org/postgresql/test/README
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/src/interfaces/jdbc/org/postgresql/test/README,v
> retrieving revision 1.2
> diff -u -c -r1.2 README
> *** src/interfaces/jdbc/org/postgresql/test/README 19 Nov 2001 22:33:39 -0000 1.2
> --- src/interfaces/jdbc/org/postgresql/test/README 20 Jul 2003 05:28:16 -0000
> ***************
> *** 168,174 ****
> ----------------------
> package org.postgresql.test.jdbc2;
>
> ! import org.postgresql.test.JDBC2Tests;
> import junit.framework.TestCase;
> import java.sql.*;
>
> --- 168,174 ----
> ----------------------
> package org.postgresql.test.jdbc2;
>
> ! import org.postgresql.test.TestUtil;
> import junit.framework.TestCase;
> import java.sql.*;
>
> ***************
> *** 185,191 ****
> }
>
> protected void setUp() throws Exception {
> ! con = JDBC2Tests.openDB();
> stmt = con.createStatement();
>
> // Drop the test table if it already exists for some
> --- 185,191 ----
> }
>
> protected void setUp() throws Exception {
> ! con = TestUtil.openDB();
> stmt = con.createStatement();
>
> // Drop the test table if it already exists for some
> ***************
> *** 214,220 ****
> stmt.close();
> }
> if (con != null) {
> ! JDBC2Tests.closeDB(con);
> }
> }
>
> --- 214,220 ----
> stmt.close();
> }
> if (con != null) {
> ! TestUtil.closeDB(con);
> }
> }
>
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
From | Date | Subject | |
---|---|---|---|
Next Message | Barry Lind | 2003-08-11 21:25:18 | Re: patch: avoid deprecation warning from recent Ant versions |
Previous Message | Barry Lind | 2003-08-11 21:19:03 | Re: patch: clean up exception formatting |