Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

MiscTest.java

Blame
    • Bruce Momjian's avatar
      b75814ae
      The attached patch is my first run-through of the JDBC test suite. A · b75814ae
      Bruce Momjian authored
      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
      b75814ae
      History
      The attached patch is my first run-through of the JDBC test suite. A
      Bruce Momjian authored
      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