org.hibernate.envers.test.integration.superclass.auditparents
Class TransitiveAuditParentsTest

java.lang.Object
  extended by org.hibernate.envers.test.AbstractEnversTest
      extended by org.hibernate.envers.test.AbstractEntityTest
          extended by org.hibernate.envers.test.integration.superclass.auditparents.TransitiveAuditParentsTest

public class TransitiveAuditParentsTest
extends AbstractEntityTest

Tests mapping of child entity which parent declares one of its ancestors as audited with Audited.auditParents() property. Child entity may mark explicitly its parent as audited or not.


Constructor Summary
TransitiveAuditParentsTest()
           
 
Method Summary
 void configure(Ejb3Configuration cfg)
           
 void initData()
           
 void testCreatedAuditTables()
           
 void testExplicitTransitiveAuditParents()
           
 void testImplicitTransitiveAuditParents()
           
 
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

TransitiveAuditParentsTest

public TransitiveAuditParentsTest()
Method Detail

configure

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

initData

public void initData()

testCreatedAuditTables

public void testCreatedAuditTables()

testImplicitTransitiveAuditParents

public void testImplicitTransitiveAuditParents()

testExplicitTransitiveAuditParents

public void testExplicitTransitiveAuditParents()


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