org.testng.internal.annotations.BaseBeforeAfter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
Testing framework for Java
package org.testng.internal.annotations;
public class BaseBeforeAfter extends TestOrConfiguration implements IBaseBeforeAfter {
private boolean m_alwaysRun = false;
private boolean m_inheritGroups = true;
private String[] m_beforeGroups = {};
private String[] m_afterGroups = {};
private String m_description;
/** @return the description */
@Override
public String getDescription() {
return m_description;
}
/** @param description the description to set */
@Override
public void setDescription(String description) {
m_description = description;
}
public void setAlwaysRun(boolean alwaysRun) {
m_alwaysRun = alwaysRun;
}
public void setInheritGroups(boolean inheritGroups) {
m_inheritGroups = inheritGroups;
}
@Override
public boolean getAlwaysRun() {
return m_alwaysRun;
}
@Override
public boolean getInheritGroups() {
return m_inheritGroups;
}
public String[] getAfterGroups() {
return m_afterGroups;
}
public void setAfterGroups(String[] afterGroups) {
m_afterGroups = afterGroups;
}
public String[] getBeforeGroups() {
return m_beforeGroups;
}
public void setBeforeGroups(String[] beforeGroups) {
m_beforeGroups = beforeGroups;
}
}