Class TestAccessKeys


  • public class TestAccessKeys
    extends org.mycore.common.MCRJPATestCase
    Author:
    René Adler (eagle)
    • Field Detail

      • folder

        public org.junit.rules.TemporaryFolder folder
    • Constructor Detail

      • TestAccessKeys

        public TestAccessKeys()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Overrides:
        setUp in class org.mycore.common.MCRJPATestCase
        Throws:
        java.lang.Exception
      • getTestProperties

        protected java.util.Map<java.lang.String,​java.lang.String> getTestProperties()
        Overrides:
        getTestProperties in class org.mycore.common.MCRTestCase
      • testKeyPairFull

        public void testKeyPairFull()
      • testKeyPairWithoutWriteKey

        public void testKeyPairWithoutWriteKey()
      • testKeyPairWithoutReadKey

        public void testKeyPairWithoutReadKey()
      • testKeyPairWithMatchingKeys

        public void testKeyPairWithMatchingKeys()
      • testCreateKeyPair

        public void testCreateKeyPair()
                               throws org.mycore.common.MCRException,
                                      java.io.IOException
        Throws:
        org.mycore.common.MCRException
        java.io.IOException
      • testCreateSameKeyPair

        public void testCreateSameKeyPair()
                                   throws org.mycore.access.MCRAccessException
        Throws:
        org.mycore.access.MCRAccessException
      • testExistsKeyPair

        public void testExistsKeyPair()
                               throws org.mycore.access.MCRAccessException
        Throws:
        org.mycore.access.MCRAccessException
      • testUpdateKeyPair

        public void testUpdateKeyPair()
                               throws org.mycore.access.MCRAccessException
        Throws:
        org.mycore.access.MCRAccessException
      • testDeleteKeyPair

        public void testDeleteKeyPair()
                               throws org.mycore.access.MCRAccessException
        Throws:
        org.mycore.access.MCRAccessException
      • testKeyPairTransform

        public void testKeyPairTransform()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • testAccessKeysTransform

        public void testAccessKeysTransform()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • testServFlagsTransform

        public void testServFlagsTransform()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • testServFlagsTransformWithOtherTypes

        public void testServFlagsTransformWithOtherTypes()
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • testTransientUser

        public void testTransientUser()
                               throws org.xml.sax.SAXParseException,
                                      java.io.IOException,
                                      java.net.URISyntaxException
        Throws:
        org.xml.sax.SAXParseException
        java.io.IOException
        java.net.URISyntaxException