Package org.mycore.common.xml
Class MCRCheckPermissionChainResolverTest
java.lang.Object
org.mycore.common.MCRTestCase
org.mycore.common.xml.MCRCheckPermissionChainResolverTest
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
Fields inherited from class org.mycore.common.MCRTestCase
junitFolder
-
Constructor Summary
-
Method Summary
Methods inherited from class org.mycore.common.MCRTestCase
bzzz, getCurrentComponentName, getResourceAsStream, getResourceAsURL, initBaseDir, initProperties, isDebugEnabled
-
Field Details
-
MOCK_RESOLVER_PREFIX
- See Also:
-
PERMISSION_USE_STUFF
- See Also:
-
MOCK_CALL
- See Also:
-
READ_CALL
- See Also:
-
USE_STUFF_CALL
- See Also:
-
-
Constructor Details
-
MCRCheckPermissionChainResolverTest
public MCRCheckPermissionChainResolverTest()
-
-
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 classMCRTestCase
- Throws:
Exception
- See Also:
-
resolveReadObjectForbidden
public void resolveReadObjectForbidden() -
resolveReadObjectAllowed
public void resolveReadObjectAllowed() -
resolvePermissionAllowed
public void resolvePermissionAllowed() -
resolvePermissionForbidden
public void resolvePermissionForbidden() -
tearDown
- Overrides:
tearDown
in classMCRTestCase
- Throws:
Exception
-
getTestProperties
- Overrides:
getTestProperties
in classMCRTestCase
-