Tests for time printing and retrieving
authorNathan Bird <nathan@acceleration.net>
Mon, 1 Feb 2010 21:33:02 +0000 (16:33 -0500)
committerNathan Bird <nathan@acceleration.net>
Mon, 1 Feb 2010 21:33:02 +0000 (16:33 -0500)
commitf437fdd8966b0f4bd80a2b8657bb12df07430b83
tree2ce84ae07d11431590cc99c6e4b21b94760e8d22
parent2d52344485c4cb33905086db715eacce87b3f482
Tests for time printing and retrieving

These tests will create a table and verify that the date inserted is
the date retrieved and that when we update the database the value we
retrieve is the same as the one we inserted.

Some backends support timezones and some do not, also some support
usecs and some dont.

Things the following tests try to prove correct
 * Reading and writing usec and usec-less times
 * reading and writing timezones (Z=utc) when appropriate (eg: postgresql-socket)
 * reading and writing localtimes when appropriate (eg: ODBC)
 * reading and writing through both the oodml and fdml layers

All these tests fail right now. All tests may not be correct yet.
tests/test-init.lisp
tests/test-time.lisp