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

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.MultipleAuditParentsTest

public class MultipleAuditParentsTest
extends AbstractEntityTest

Tests mapping of child entity that declares all of its ancestors as audited with Audited.auditParents() property. All supperclasses are marked with MappedSuperclass annotation but not Audited.


Constructor Summary
MultipleAuditParentsTest()
           
 
Method Summary
 void configure(Ejb3Configuration cfg)
           
 void initData()
           
 void testCreatedAuditTable()
           
 void testMultipleAuditParents()
           
 
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

MultipleAuditParentsTest

public MultipleAuditParentsTest()
Method Detail

configure

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

initData

public void initData()

testCreatedAuditTable

public void testCreatedAuditTable()

testMultipleAuditParents

public void testMultipleAuditParents()


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