pgsql/src/interfaces/jdbc build.xml org/postgr ...

From: momjian(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/jdbc build.xml org/postgr ...
Date: 2001-09-23 04:11:14
Message-ID: 200109230411.f8N4BE525579@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: momjian(at)postgresql(dot)org 01/09/23 00:11:14

Modified files:
src/interfaces/jdbc: build.xml
src/interfaces/jdbc/org/postgresql/test: JDBC2Tests.java
src/interfaces/jdbc/org/postgresql/test/jdbc2: ANTTest.java
BatchExecuteTest.java
BlobTest.java
ConnectionTest.java
DateTest.java
DriverTest.java
EncodingTest.java
JBuilderTest.java
MiscTest.java
TimeTest.java
TimestampTest.java

Log message:
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 Stewart

Browse pgsql-committers by date

  From Date Subject
Next Message momjian 2001-09-23 04:12:44 pgsql/contrib/pgcrypto Makefile README.pgcrypt ...
Previous Message momjian 2001-09-23 04:08:39 pgsql/doc TODO