Package org.mycore.backend.jpa.access
Class MCRJPAAccessStoreTest
java.lang.Object
org.mycore.common.MCRTestCase
org.mycore.common.MCRJPATestCase
org.mycore.backend.jpa.access.MCRJPAAccessStoreTest
- Version:
- $Revision$ $Date$
- Author:
- Thomas Scheffler (yagee)
-
Field Summary
Fields inherited from class org.mycore.common.MCRTestCase
junitFolder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
Test method forMCRJPAAccessStore.existsRule(java.lang.String, java.lang.String)
.void
void
Test method forMCRJPAAccessStore.getDatabasePools()
.void
Test method forMCRJPAAccessStore.getDistinctStringIDs()
.void
Test method forMCRJPAAccessStore.getMappedObjectId(java.lang.String)
.void
Test method forMCRJPAAccessStore.getPoolsForObject(java.lang.String)
.void
Test method forMCRJPAAccessStore.getRuleID(String, String)
.void
setUp()
initializes MCRConfiguration with an empty property file.void
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, getTestProperties, initBaseDir, initProperties, isDebugEnabled
-
Constructor Details
-
MCRJPAAccessStoreTest
public MCRJPAAccessStoreTest()
-
-
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:
-
createAccessDefinition
public void createAccessDefinition() -
getRuleID
public void getRuleID()Test method forMCRJPAAccessStore.getRuleID(String, String)
. -
deleteAccessDefinition
public void deleteAccessDefinition() -
updateAccessDefinition
public void updateAccessDefinition() -
getAccessDefinition
public void getAccessDefinition() -
getMappedObjectId
public void getMappedObjectId()Test method forMCRJPAAccessStore.getMappedObjectId(java.lang.String)
. -
getPoolsForObject
public void getPoolsForObject()Test method forMCRJPAAccessStore.getPoolsForObject(java.lang.String)
. -
getDatabasePools
public void getDatabasePools()Test method forMCRJPAAccessStore.getDatabasePools()
. -
existsRule
public void existsRule()Test method forMCRJPAAccessStore.existsRule(java.lang.String, java.lang.String)
. -
getDistinctStringIDs
public void getDistinctStringIDs()Test method forMCRJPAAccessStore.getDistinctStringIDs()
.
-