Re: patch: fix skeleton code in test README - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: patch: fix skeleton code in test README
Date
Msg-id 3F3808C2.2050803@xythos.com
Whole thread Raw
In response to patch: fix skeleton code in test README  (Oliver Jowett <oliver@opencloud.com>)
List 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



pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: patch: clean up exception formatting
Next
From: Barry Lind
Date:
Subject: Re: patch: avoid deprecation warning from recent Ant versions