Class ClassRuleUtils


  • public class ClassRuleUtils
    extends Object
    • Field Detail

      • LOG

        public static final org.slf4j.Logger LOG
    • Constructor Detail

      • ClassRuleUtils

        public ClassRuleUtils()
    • Method Detail

      • newInstanceRule

        public static org.apache.sling.testing.junit.rules.instance.Instance newInstanceRule​(boolean forceBasicAuth)
        Create a new Instance object depending on the default auth mechanism
        Parameters:
        forceBasicAuth - set to true to always use basic auth
        Returns:
        the instance object
      • newInstanceRule

        public static org.apache.sling.testing.junit.rules.instance.Instance newInstanceRule()
        Create a new Instance object depending on the default auth mechanism
        Returns:
        the instance object