Package org.mycore.mods
Class MCRMODSLinkedMetadataTest
java.lang.Object
org.mycore.common.MCRTestCase
org.mycore.common.MCRJPATestCase
org.mycore.mods.MCRMODSLinkedMetadataTest
Tests for MCR-910 (Link MODS documents to other MODS documents)
- Author:
- Thomas Scheffler (yagee)
-
Field Summary
Fields inherited from class org.mycore.common.MCRTestCase
junitFolder
-
Constructor Summary
-
Method Summary
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, getTestProperties, initBaseDir, initProperties, isDebugEnabled
-
Constructor Details
-
MCRMODSLinkedMetadataTest
public MCRMODSLinkedMetadataTest()
-
-
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 classMCRJPATestCase
- Throws:
Exception
- See Also:
-
tearDown
- Overrides:
tearDown
in classMCRJPATestCase
- Throws:
Exception
-
testLinks
public void testLinks() -
testUpdate
public void testUpdate() throws IOException, URISyntaxException, MCRPersistenceException, MCRActiveLinkException, JDOMException, SAXException, MCRAccessException -
testHierarchyDirect
public void testHierarchyDirect() throws URISyntaxException, SAXParseException, IOException, MCRAccessException -
testHierarchyIndirect
public void testHierarchyIndirect() throws URISyntaxException, SAXParseException, IOException, MCRAccessException
-