| org.hsqldb.test.TestBase org.hsqldb.test.TestDateTime
TestDateTime | public class TestDateTime extends TestBase (Code) | | Tests for normalisation of Time and Date values.
Base on the original test submission.
author: Miro Halas |
setUp | protected void setUp()(Code) | | |
testBasicDateSupport | public void testBasicDateSupport() throws Throwable(Code) | | Test the database support for Date objects. Date object ignores the time
portion of the Java Date.
This class inserts date into database, then retrieve it back using
different java time
throws: Throwable - - an error has occured during test |
testBasicTimeSupport | public void testBasicTimeSupport() throws Throwable(Code) | | Test the database support for Time objects. Time object ignores the date
portion of the Java Date.
This class inserts time into database, then retrieve it back using
different java date and deletes it using cursor.
Uses the already setup connection and transaction.
No need to close the connection since base class is doing it for us.
throws: Throwable - - an error has occured during test |
|
|