Package org.mycore.pi
Class MCRPIManagerTest
java.lang.Object
org.mycore.common.MCRTestCase
org.mycore.common.MCRJPATestCase
org.mycore.common.MCRStoreTestCase
org.mycore.pi.MCRPIManagerTest
-
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
-
Field Details
-
baseDir
public org.junit.rules.TemporaryFolder baseDir
-
-
Constructor Details
-
MCRPIManagerTest
public MCRPIManagerTest()
-
-
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:
-
testGet
- Throws:
Exception
-
testParseIdentifier
public void testParseIdentifier() -
testRegistrationService
public void testRegistrationService() throws MCRAccessException, MCRActiveLinkException, MCRPersistentIdentifierException, ExecutionException, InterruptedException -
testGetUnregisteredIdenifiers
- Throws:
Exception
-
resetManagerInstance
public void resetManagerInstance() -
getTestProperties
- Overrides:
getTestProperties
in classMCRStoreTestCase
-
tearDown
- Overrides:
tearDown
in classMCRJPATestCase
- Throws:
Exception
-