Class CQRule

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class CQRule
    extends Object
    implements org.junit.rules.TestRule
    Base rule to be used on every test. It chains the SlingRule.
    • Field Detail

      • slingBaseRule

        public final org.apache.sling.testing.junit.rules.SlingRule slingBaseRule
      • cqRuleChain

        protected org.junit.rules.TestRule cqRuleChain
    • Constructor Detail

      • CQRule

        public CQRule​(org.apache.sling.testing.junit.rules.instance.Instance... instances)
    • Method Detail

      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base,
                                                       org.junit.runner.Description description)
        Specified by:
        apply in interface org.junit.rules.TestRule