Package org.mycore.datamodel.common
Class MCRXMLMetadataManagerTest
java.lang.Object
org.mycore.common.MCRTestCase
org.mycore.common.MCRJPATestCase
org.mycore.common.MCRStoreTestCase
org.mycore.datamodel.common.MCRXMLMetadataManagerTest
- Author:
- Thomas Scheffler (yagee), Frank Lützenkirchen
-
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
-
MCRXMLMetadataManagerTest
public MCRXMLMetadataManagerTest()
-
-
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:
-
tearDown
- Overrides:
tearDown
in classMCRJPATestCase
- Throws:
Exception
-
create
- Throws:
IOException
-
delete
- Throws:
IOException
-
update
- Throws:
IOException
-
retrieve
- Throws:
JDOMException
IOException
SAXException
-
getHighestStoredID
public void getHighestStoredID() -
exists
- Throws:
IOException
-
retrieveAllIDs
- Throws:
IOException
-
listIDs
public void listIDs() -
getTestProperties
- Overrides:
getTestProperties
in classMCRStoreTestCase
-