Package org.mycore.common
Class MCRStoreTestCase
java.lang.Object
org.mycore.common.MCRTestCase
org.mycore.common.MCRJPATestCase
org.mycore.common.MCRStoreTestCase
- Direct Known Subclasses:
MCRAccessKeyTestCase
,MCRDNBURNGeneratorTest
,MCRGenericPIGeneratorTest
,MCRIFSTest
,MCRObjectIDTest
,MCRObjectUtilsTest
,MCRPIManagerTest
,MCRURNGranularRESTRegistrationTaskTest
,MCRURNGranularRESTServiceTest
,MCRXMLMetadataManagerTest
-
Field Summary
Modifier and TypeFieldDescriptionorg.junit.rules.TemporaryFolder
org.junit.rules.TemporaryFolder
Fields inherited from class org.mycore.common.MCRTestCase
junitFolder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MCRXMLMetadataManager
getStore()
void
setUp()
initializes MCRConfiguration with an empty property file.Methods inherited from class org.mycore.common.MCRJPATestCase
beginTransaction, dropSchema, endTransaction, exportSchema, getDefaultSchema, getEntityManager, printResultSet, startNewTransaction, tearDown
Methods inherited from class org.mycore.common.MCRTestCase
bzzz, getCurrentComponentName, getResourceAsStream, getResourceAsURL, initBaseDir, initProperties, isDebugEnabled
-
Field Details
-
storeBaseDir
public org.junit.rules.TemporaryFolder storeBaseDir -
svnBaseDir
public org.junit.rules.TemporaryFolder svnBaseDir
-
-
Constructor Details
-
MCRStoreTestCase
public MCRStoreTestCase()
-
-
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:
-
getStoreBaseDir
-
getSvnBaseDir
-
getStore
-
getTestProperties
- Overrides:
getTestProperties
in classMCRTestCase
-