Class MIRStrategyTest


  • public class MIRStrategyTest
    extends org.mycore.common.MCRJPATestCase
    • Field Summary

      • Fields inherited from class org.mycore.common.MCRTestCase

        junitFolder
    • Constructor Summary

      Constructors 
      Constructor Description
      MIRStrategyTest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkAccessKeyPermission()
      Tests if a derivate is readable if accesstoken is set to the MODS object.
      void checkGuestPermission()  
      void checkSuperUserPermission()  
      protected java.util.Map<java.lang.String,​java.lang.String> getTestProperties()  
      void setUp()  
      void tearDown()  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MIRStrategyTest

        public MIRStrategyTest()
    • Method Detail

      • setUp

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

        public void tearDown()
                      throws java.lang.Exception
        Overrides:
        tearDown 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
      • checkGuestPermission

        public void checkGuestPermission()
      • checkSuperUserPermission

        public void checkSuperUserPermission()
      • checkAccessKeyPermission

        public void checkAccessKeyPermission()
                                      throws java.lang.Exception
        Tests if a derivate is readable if accesstoken is set to the MODS object.
        Throws:
        java.lang.Exception