org.hibernate.test.manytomanyassociationclass
Class AbstractManyToManyAssociationClassTest
java.lang.Object
org.hibernate.testing.junit4.BaseUnitTestCase
org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
org.hibernate.test.manytomanyassociationclass.AbstractManyToManyAssociationClassTest
- Direct Known Subclasses:
- ManyToManyAssociationClassAssignedIdTest, ManyToManyAssociationClassCompositeIdTest, ManyToManyAssociationClassGeneratedIdTest
public abstract class AbstractManyToManyAssociationClassTest
- extends BaseCoreFunctionalTestCase
Abstract class for tests on many-to-many association using an association class.
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, getMappings, getXmlFiles, onFailure, openSession, openSession, overrideCacheStrategy, prepareBasicRegistryBuilder, prepareBootstrapRegistryBuilder, readCommittedIsolationMaintained, rebuildSessionFactory, rebuildSessionFactoryOnError, serviceRegistry, sessionFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractManyToManyAssociationClassTest
public AbstractManyToManyAssociationClassTest()
createMembership
public abstract Membership createMembership(String name)
prepareTest
protected void prepareTest()
- Overrides:
prepareTest
in class BaseCoreFunctionalTestCase
cleanupTest
protected void cleanupTest()
- Overrides:
cleanupTest
in class BaseCoreFunctionalTestCase
getUser
public User getUser()
getGroup
public Group getGroup()
getMembership
public Membership getMembership()
testRemoveAndAddSameElement
public void testRemoveAndAddSameElement()
testRemoveAndAddEqualElement
public void testRemoveAndAddEqualElement()
testRemoveAndAddEqualCollection
public void testRemoveAndAddEqualCollection()
testRemoveAndAddSameElementNonKeyModified
public void testRemoveAndAddSameElementNonKeyModified()
testRemoveAndAddEqualElementNonKeyModified
public void testRemoveAndAddEqualElementNonKeyModified()
testDeleteDetached
public void testDeleteDetached()
deleteMembership
public void deleteMembership(User u,
Group g,
Membership ug)
addMembership
public void addMembership(User u,
Group g,
Membership ug)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.