Skip site navigation (1) Skip section navigation (2)

JDBC test suite patch

From: Liam Stewart <liams(at)redhat(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: JDBC test suite patch
Date: 2001-09-20 20:24:45
Message-ID: 20010920162444.A25583@redhat.com (view raw or flat)
Thread:
Lists: pgsql-jdbcpgsql-patches
I tried sending the email to jdbc and patches on the 17th but it didn't get 
through. I'm attempting again..

The attached patch is my first run-through of the JDBC test suite. A
summary of changes:

 . removal of the tablename property from build.xml

 . addition of a dropTable method in JDBC2Tests and cleanups of many
methods in the same

 . all tests now use non-deprecated assertXYZ methods instead of the
deprecated assert method

 . failure in TimestampTest (testSetTimestamp) fixed. The failure is
because testSetTimestamp was inserting a timestamp with hour 7 but
checkTimeTest was expecting a timestamp with hour 8. AFAICS, there are
no issues wrt daylight savings time and timestamps being pushed in and
pulled out (but more explicit tests should be added in the future)

 . failure in TimeTest (testGetTime) fixed. Times to be inserted were
interpreted in the localtime zone but checking was done with the
assumption that the insertion was done in GMT.

 . formatting changes in a few of the source files (because I found
it convenient to have consistent formatting while working on them). The
formatting is consistent with the new format for java source files in
PostgreSQL.

Liam

-- 
Liam Stewart :: Red Hat Canada, Ltd. :: liams(at)redhat(dot)com

Responses

pgsql-patches by date

Next:From: Ian Lance TaylorDate: 2001-09-20 20:58:20
Subject: Re: CREATE OR REPLACE FUNCTION
Previous:From: Tom LaneDate: 2001-09-20 20:09:06
Subject: Re: CREATE OR REPLACE FUNCTION

pgsql-jdbc by date

Next:From: Antonio Fiol BonnĂ­nDate: 2001-09-21 15:26:20
Subject: getObject()
Previous:From: Barry LindDate: 2001-09-19 02:22:38
Subject: Re: Reading Timestamp values from a ResultSet

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group