fri.util.database.jpa.tree.hibernatesession.tests
Class NestedSetsTreeHibernateSessionTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by fri.util.database.jpa.commons.AbstractJpaTest
              extended by fri.util.database.jpa.tree.AbstractTreeTest<NestedSetsTreeDao,NestedSetsTreeNode>
                  extended by fri.util.database.jpa.tree.nestedsets.NestedSetsTreeTest
                      extended by fri.util.database.jpa.tree.hibernatesession.tests.NestedSetsTreeHibernateSessionTest
All Implemented Interfaces:
junit.framework.Test

public class NestedSetsTreeHibernateSessionTest
extends NestedSetsTreeTest


Field Summary
 
Fields inherited from class fri.util.database.jpa.tree.AbstractTreeTest
COPIED_NAME_PREFIX, UNIQUE_PROPERTY_NAMES
 
Fields inherited from class fri.util.database.jpa.commons.AbstractJpaTest
ECLIPSELINK_PERSISTENCE_UNIT_NAME, HIBERNATE_PERSISTENCE_UNIT_NAME
 
Constructor Summary
NestedSetsTreeHibernateSessionTest()
           
 
Method Summary
protected  void commitDbTransaction(java.lang.String message)
           
protected  DbSession newDbSession(java.lang.String message)
           
protected  void rollbackDbTransaction(java.lang.String message)
           
protected  void setUp()
           
protected  void tearDown()
          Overridden to clean-up test table(s).
 
Methods inherited from class fri.util.database.jpa.tree.nestedsets.NestedSetsTreeTest
checkTreeIntegrity, getFullTreeForIntegrityCheck, getName, newDao, newTreePojo, newUniqueChildrenTreeConstraintImpl, newUniqueChildrenTreeConstraintImplWithoutRoots, newUniqueWholeTreeConstraintImpl, newUniqueWholeTreeConstraintImplWithoutRoots, renameBeforeCopy, setNameNotConstraintChecking
 
Methods inherited from class fri.util.database.jpa.tree.AbstractTreeTest
assertTreeCacheable, beginDbTransaction, createTree, createTree, createTree, findByName, getDao, isTestCopy, outputTree, outputTree, setName, setValid, testAddToTree, testBigTree, testCopiedNodeRenamer, testCopyRootToBeRoot, testCopyToOtherRoot, testCopyToSelf, testCopyTree, testCopyTreeBelowItselfFails, testCopyTreeFailsWithUniqueConstraint, testCopyTreeToAlteredName, testCopyTreeToAlteredNameWithUniqueConstraint, testCopyTreeToBeRoot, testCopyTreeWithPrecedingDelete, testCreateAndRemoveRoot, testCreateTree, testDatabaseToBeCaseSensitive, testFindChildrenInCachedTree, testGetRoots, testIsBelow, testIsRoot, testLevel, testMoveRootToOtherTree, testMoveToOtherTree, testMoveTree, testMoveTreeBelowItselfFails, testMoveTreeToBeRoot, testNonUniqueRootsButUniqueChildren, testNonUniqueRootsButWholeTreeUniqueNodes, testParent, testPath, testRemoveAllTrees, testRemoveFromTree, testRemoveTree, testUniqueChildrenConstraint, testUniqueness, testUniquenessWithDeletion, testUniqueWholeTreeConstraintOnMove, testUpdateNode, testUpdateRootWithWholeTreeUniqueConstraint, testUpdateToSameNameWithUniqueConstraint
 
Methods inherited from class fri.util.database.jpa.commons.AbstractJpaTest
beginTransaction, commitTransaction, getPersistenceUnitName, log, logAfterEnd, logBeforeEnd, logStart, rollbackTransaction
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NestedSetsTreeHibernateSessionTest

public NestedSetsTreeHibernateSessionTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractJpaTest
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Description copied from class: AbstractTreeTest
Overridden to clean-up test table(s).

Overrides:
tearDown in class AbstractTreeTest<NestedSetsTreeDao,NestedSetsTreeNode>
Throws:
java.lang.Exception

newDbSession

protected DbSession newDbSession(java.lang.String message)
Overrides:
newDbSession in class AbstractTreeTest<NestedSetsTreeDao,NestedSetsTreeNode>

commitDbTransaction

protected void commitDbTransaction(java.lang.String message)
Overrides:
commitDbTransaction in class AbstractTreeTest<NestedSetsTreeDao,NestedSetsTreeNode>

rollbackDbTransaction

protected void rollbackDbTransaction(java.lang.String message)
Overrides:
rollbackDbTransaction in class AbstractTreeTest<NestedSetsTreeDao,NestedSetsTreeNode>