org.joda.time.contrib.hibernate
Class TestPersistentDateTime

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.joda.time.contrib.hibernate.HibernateTestCase
              extended by org.joda.time.contrib.hibernate.TestPersistentDateTime
All Implemented Interfaces:
junit.framework.Test

public class TestPersistentDateTime
extends HibernateTestCase


Constructor Summary
TestPersistentDateTime()
           
 
Method Summary
protected  void setupConfiguration(org.hibernate.cfg.Configuration cfg)
           
 void testSimpleStore()
           
 void testStoreWithTimezone()
           
 
Methods inherited from class org.joda.time.contrib.hibernate.HibernateTestCase
getSessionFactory, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestPersistentDateTime

public TestPersistentDateTime()
Method Detail

testSimpleStore

public void testSimpleStore()
                     throws SQLException
Throws:
SQLException

testStoreWithTimezone

public void testStoreWithTimezone()
                           throws SQLException
Throws:
SQLException

setupConfiguration

protected void setupConfiguration(org.hibernate.cfg.Configuration cfg)
Specified by:
setupConfiguration in class HibernateTestCase


Copyright © 2005-2011 Joda.org. All Rights Reserved.