org.hibernate.envers.test.integration.manytomany.sametable
Class BasicSametable

java.lang.Object
  extended by org.hibernate.envers.test.AbstractEnversTest
      extended by org.hibernate.envers.test.AbstractEntityTest
          extended by org.hibernate.envers.test.integration.manytomany.sametable.BasicSametable

public class BasicSametable
extends AbstractEntityTest

Test which checks that auditing entities which contain multiple mappings to same tables work.


Constructor Summary
BasicSametable()
           
 
Method Summary
 void configure(Ejb3Configuration cfg)
           
 void initData()
           
 void testHistoryOfChild1_1()
           
 void testHistoryOfChild1_2()
           
 void testHistoryOfChild2_1()
           
 void testHistoryOfChild2_2()
           
 void testHistoryOfParent1()
           
 void testHistoryOfParent2()
           
 void testRevisionsCounts()
           
 
Methods inherited from class org.hibernate.envers.test.AbstractEntityTest
addConfigurationProperties, close, getAuditReader, getCfg, getEntityManager, init, init, newEntityManager
 
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
 

Constructor Detail

BasicSametable

public BasicSametable()
Method Detail

configure

public void configure(Ejb3Configuration cfg)
Specified by:
configure in class AbstractEntityTest

initData

public void initData()

testRevisionsCounts

public void testRevisionsCounts()

testHistoryOfParent1

public void testHistoryOfParent1()

testHistoryOfParent2

public void testHistoryOfParent2()

testHistoryOfChild1_1

public void testHistoryOfChild1_1()

testHistoryOfChild1_2

public void testHistoryOfChild1_2()

testHistoryOfChild2_1

public void testHistoryOfChild2_1()

testHistoryOfChild2_2

public void testHistoryOfChild2_2()


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