org.hibernate.test.event.collection
Class BrokenCollectionEventTest
java.lang.Object
org.hibernate.testing.junit4.BaseUnitTestCase
org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrokenCollectionEventTest
public BrokenCollectionEventTest()
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.