org.joda.time.contrib.hibernate
Class TestPersistentInterval

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.TestPersistentInterval
All Implemented Interfaces:
junit.framework.Test

public class TestPersistentInterval
extends HibernateTestCase


Constructor Summary
TestPersistentInterval()
           
 
Method Summary
protected  void setUp()
           
protected  void setupConfiguration(org.hibernate.cfg.Configuration cfg)
           
protected  void tearDown()
           
 void testQueryById()
           
 void testQueryInsideInterval()
           
 void testQueryOutsideInterval()
           
 
Methods inherited from class org.joda.time.contrib.hibernate.HibernateTestCase
getSessionFactory
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

TestPersistentInterval

public TestPersistentInterval()
Method Detail

setUp

protected void setUp()
              throws SQLException
Overrides:
setUp in class junit.framework.TestCase
Throws:
SQLException

testQueryById

public void testQueryById()
                   throws SQLException
Throws:
SQLException

testQueryInsideInterval

public void testQueryInsideInterval()
                             throws SQLException
Throws:
SQLException

testQueryOutsideInterval

public void testQueryOutsideInterval()

setupConfiguration

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

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class HibernateTestCase
Throws:
Exception


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