Package org.mycore.datamodel.metadata
Class MCRObjectUtilsTest
java.lang.Object
org.mycore.common.MCRTestCase
org.mycore.common.MCRJPATestCase
org.mycore.common.MCRStoreTestCase
org.mycore.datamodel.metadata.MCRObjectUtilsTest
-
Field Summary
Fields inherited from class org.mycore.common.MCRStoreTestCase
storeBaseDir, svnBaseDir
Fields inherited from class org.mycore.common.MCRTestCase
junitFolder
-
Constructor Summary
-
Method Summary
Methods inherited from class org.mycore.common.MCRStoreTestCase
getStore, getStoreBaseDir, getSvnBaseDir
Methods inherited from class org.mycore.common.MCRJPATestCase
beginTransaction, dropSchema, endTransaction, exportSchema, getDefaultSchema, getEntityManager, printResultSet, startNewTransaction
Methods inherited from class org.mycore.common.MCRTestCase
bzzz, getCurrentComponentName, getResourceAsStream, getResourceAsURL, initBaseDir, initProperties, isDebugEnabled
-
Constructor Details
-
MCRObjectUtilsTest
public MCRObjectUtilsTest()
-
-
Method Details
-
setUp
Description copied from class:MCRTestCase
initializes MCRConfiguration with an empty property file. This can be used to test MyCoRe classes without any propties set, using default. You may want to set Properties per TestCase with the set() method ofMCRConfiguration2
- Overrides:
setUp
in classMCRStoreTestCase
- Throws:
Exception
- See Also:
-
getAncestors
public void getAncestors() -
getAncestorsAndSelf
public void getAncestorsAndSelf() -
getRoot
public void getRoot() -
getDescendants
public void getDescendants() -
getDescendantsAndSelf
public void getDescendantsAndSelf() -
removeLink
- Throws:
MCRAccessException
-
removeLinks
- Throws:
MCRAccessException
-
tearDown
- Overrides:
tearDown
in classMCRJPATestCase
- Throws:
Exception
-
getTestProperties
- Overrides:
getTestProperties
in classMCRStoreTestCase
-