org.hibernate.test.event.collection
Class BrokenCollectionEventTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
          extended by org.hibernate.test.event.collection.BrokenCollectionEventTest

public class BrokenCollectionEventTest
extends BaseCoreFunctionalTestCase

These tests are known to fail. When the functionality is corrected, the corresponding method will be moved into AbstractCollectionEventTest.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
BaseCoreFunctionalTestCase.RollbackWork
 
Field Summary
 
Fields inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
DIALECT, NO_CLASSES, NO_MAPPINGS, USE_NEW_METADATA_MAPPINGS, VALIDATE_DATA_CLEANUP
 
Constructor Summary
BrokenCollectionEventTest()
           
 
Method Summary
protected  void checkResult(CollectionListeners listeners, CollectionListeners.Listener listenerExpected, ChildWithBidirectionalManyToMany child, int index)
           
protected  void checkResult(CollectionListeners listeners, CollectionListeners.Listener listenerExpected, Entity ownerExpected, Collection collExpected, int index)
           
protected  void checkResult(CollectionListeners listeners, CollectionListeners.Listener listenerExpected, ParentWithCollection parent, int index)
           
protected  void cleanupTest()
           
 Collection createCollection()
           
 ParentWithCollection createParent(String name)
           
 String[] getMappings()
           
 void testSaveParentNullChildren()
           
 void testUpdateDetachedParentNoChildrenToNull()
           
 void testUpdateParentNoChildrenToNull()
           
 
Methods inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
addMappings, addMappings, afterConfigurationBuilt, afterConfigurationBuilt, afterSessionFactoryBuilt, afterTest, applyCacheSettings, assertAllDataRemoved, beforeTest, buildConfiguration, buildServiceRegistry, cleanupCache, configuration, configure, constructConfiguration, createSchema, generateBootstrapRegistry, getAnnotatedClasses, getAnnotatedPackages, getBaseForMappings, getCacheConcurrencyStrategy, getDialect, getXmlFiles, onFailure, openSession, openSession, overrideCacheStrategy, prepareBasicRegistryBuilder, prepareBootstrapRegistryBuilder, prepareTest, readCommittedIsolationMaintained, rebuildSessionFactory, rebuildSessionFactoryOnError, serviceRegistry, sessionFactory
 
Methods inherited from class org.hibernate.testing.junit4.BaseUnitTestCase
releaseTransactions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokenCollectionEventTest

public BrokenCollectionEventTest()
Method Detail

getMappings

public String[] getMappings()
Overrides:
getMappings in class BaseCoreFunctionalTestCase

cleanupTest

protected void cleanupTest()
Overrides:
cleanupTest in class BaseCoreFunctionalTestCase

createParent

public ParentWithCollection createParent(String name)

createCollection

public Collection createCollection()

testUpdateDetachedParentNoChildrenToNull

public void testUpdateDetachedParentNoChildrenToNull()

testSaveParentNullChildren

public void testSaveParentNullChildren()

testUpdateParentNoChildrenToNull

public void testUpdateParentNoChildrenToNull()

checkResult

protected void checkResult(CollectionListeners listeners,
                           CollectionListeners.Listener listenerExpected,
                           ParentWithCollection parent,
                           int index)

checkResult

protected void checkResult(CollectionListeners listeners,
                           CollectionListeners.Listener listenerExpected,
                           ChildWithBidirectionalManyToMany child,
                           int index)

checkResult

protected void checkResult(CollectionListeners listeners,
                           CollectionListeners.Listener listenerExpected,
                           Entity ownerExpected,
                           Collection collExpected,
                           int index)


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