org.joda.time.contrib.hibernate
Class HibernateTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.joda.time.contrib.hibernate.HibernateTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TestPersistentDateTime, TestPersistentDuration, TestPersistentInstant, TestPersistentInstantAsBigInt, TestPersistentInterval, TestPersistentIntervalNull, TestPersistentLocalDate, TestPersistentLocalDateTime, TestPersistentLocalTime, TestPersistentPeriod, TestPersistentTimeOfDay, TestPersistentTimeOfDayExact, TestPersistentYearMonthDay

public abstract class HibernateTestCase
extends junit.framework.TestCase


Constructor Summary
HibernateTestCase()
           
 
Method Summary
protected  org.hibernate.SessionFactory getSessionFactory()
           
protected abstract  void setupConfiguration(org.hibernate.cfg.Configuration cfg)
           
protected  void 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

HibernateTestCase

public HibernateTestCase()
Method Detail

getSessionFactory

protected org.hibernate.SessionFactory getSessionFactory()

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

setupConfiguration

protected abstract void setupConfiguration(org.hibernate.cfg.Configuration cfg)


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