Class BaseBeforeAfter

    • Field Detail

      • m_alwaysRun

        private boolean m_alwaysRun
      • m_inheritGroups

        private boolean m_inheritGroups
      • m_beforeGroups

        private java.lang.String[] m_beforeGroups
      • m_afterGroups

        private java.lang.String[] m_afterGroups
      • m_description

        private java.lang.String m_description
    • Constructor Detail

      • BaseBeforeAfter

        public BaseBeforeAfter()
    • Method Detail

      • setAlwaysRun

        public void setAlwaysRun​(boolean alwaysRun)
      • setInheritGroups

        public void setInheritGroups​(boolean inheritGroups)
      • getAlwaysRun

        public boolean getAlwaysRun()
        Description copied from interface: IBaseBeforeAfter
        For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): If set to true, this configuration method will be run regardless of what groups it belongs to.
        For after methods (afterSuite, afterClass, ...): If set to true, this configuration method will be run even if one or more methods invoked previously failed or was skipped.
        Specified by:
        getAlwaysRun in interface IBaseBeforeAfter
      • getInheritGroups

        public boolean getInheritGroups()
        Description copied from interface: IBaseBeforeAfter
        If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
        Specified by:
        getInheritGroups in interface IBaseBeforeAfter
      • getAfterGroups

        public java.lang.String[] getAfterGroups()
      • setAfterGroups

        public void setAfterGroups​(java.lang.String[] afterGroups)
      • getBeforeGroups

        public java.lang.String[] getBeforeGroups()
      • setBeforeGroups

        public void setBeforeGroups​(java.lang.String[] beforeGroups)