Class HybrisJUnit4Test

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected JaloSession jaloSession
      Reference to current session.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected HybrisJUnit4Test()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void establishJaloSession​(JaloSession jaloSession)  
      void finish()
      Delegates to de.hybris.platform.testframework.HybrisTestLogic#finish()
      static Currency getOrCreateCurrency​(java.lang.String isoCode)
      Delegates to de.hybris.platform.testframework.HybrisTestLogic#getOrCreateCurrency(java.lang.String)
      static Language getOrCreateLanguage​(java.lang.String isoCode)
      Delegates to de.hybris.platform.testframework.HybrisTestLogic#getOrCreateLanguage(java.lang.String)
      void init()
      Delegates to de.hybris.platform.testframework.HybrisTestLogic#init()
      static boolean intenseChecksActivated()
      Delegates to de.hybris.platform.testframework.HybrisTestLogic#intenseChecksActivated()
      JaloSession takeJaloSession()  
      • Methods inherited from class java.lang.Object

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

      • jaloSession

        protected JaloSession jaloSession
        Reference to current session.
    • Constructor Detail

      • HybrisJUnit4Test

        protected HybrisJUnit4Test()
    • Method Detail

      • intenseChecksActivated

        public static boolean intenseChecksActivated()
        Delegates to de.hybris.platform.testframework.HybrisTestLogic#intenseChecksActivated()
      • init

        public void init()
                  throws JaloSystemException
        Delegates to de.hybris.platform.testframework.HybrisTestLogic#init()
        Throws:
        JaloSystemException - there was a security problem while creating the session
      • getOrCreateLanguage

        public static Language getOrCreateLanguage​(java.lang.String isoCode)
                                            throws JaloSystemException
        Delegates to de.hybris.platform.testframework.HybrisTestLogic#getOrCreateLanguage(java.lang.String)
        Parameters:
        isoCode - iso code of language
        Returns:
        language to given iso code
        Throws:
        JaloSystemException - thrown if language will be created but still exists
      • getOrCreateCurrency

        public static Currency getOrCreateCurrency​(java.lang.String isoCode)
                                            throws JaloSystemException
        Delegates to de.hybris.platform.testframework.HybrisTestLogic#getOrCreateCurrency(java.lang.String)
        Parameters:
        isoCode - iso code of currency
        Returns:
        Currency to given iso code
        Throws:
        JaloSystemException - thrown if currency will be created but still exists