org.hibernate.envers.test.integration.collection.norevision
Class AbstractCollectionChangeTest

java.lang.Object
  extended by org.hibernate.envers.test.AbstractEnversTest
      extended by org.hibernate.envers.test.AbstractSessionTest
          extended by org.hibernate.envers.test.integration.collection.norevision.AbstractCollectionChangeTest
Direct Known Subclasses:
CollectionChangeNoRevisionTest, CollectionChangeRevisionTest

public abstract class AbstractCollectionChangeTest
extends AbstractSessionTest


Field Summary
protected  Integer personId
           
 
Fields inherited from class org.hibernate.envers.test.AbstractSessionTest
config
 
Constructor Summary
AbstractCollectionChangeTest()
           
 
Method Summary
protected abstract  String getCollectionChangeValue()
           
protected abstract  List<Integer> getExpectedPersonRevisions()
           
 void initData()
           
protected  void initMappings()
           
 void testPersonRevisionCount()
           
 
Methods inherited from class org.hibernate.envers.test.AbstractSessionTest
closeSessionFactory, getAuditReader, getCfg, getHibernateConfigurationFileName, getSession, init, newSessionFactory
 
Methods inherited from class org.hibernate.envers.test.AbstractEnversTest
data, getAuditStrategy, setTestData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

personId

protected Integer personId
Constructor Detail

AbstractCollectionChangeTest

public AbstractCollectionChangeTest()
Method Detail

initMappings

protected void initMappings()
                     throws MappingException,
                            URISyntaxException
Specified by:
initMappings in class AbstractSessionTest
Throws:
MappingException
URISyntaxException

getCollectionChangeValue

protected abstract String getCollectionChangeValue()

getExpectedPersonRevisions

protected abstract List<Integer> getExpectedPersonRevisions()

initData

public void initData()

testPersonRevisionCount

public void testPersonRevisionCount()


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.