public class BaseBeforeAfter extends TestOrConfiguration implements IBaseBeforeAfter
| Constructor and Description |
|---|
BaseBeforeAfter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAfterGroups() |
boolean |
getAlwaysRun()
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.
|
java.lang.String[] |
getBeforeGroups() |
java.lang.String |
getDescription()
The description for this method, which will be shown in the reports.
|
boolean |
getInheritGroups()
If true, this @Configuration method will belong to groups specified in the
@Test annotation on the class (if any).
|
java.lang.String[] |
getParameters()
The list of variables used to fill the parameters of this method.
|
void |
setAfterGroups(java.lang.String[] afterGroups) |
void |
setAlwaysRun(boolean alwaysRun) |
void |
setBeforeGroups(java.lang.String[] beforeGroups) |
void |
setDescription(java.lang.String description) |
void |
setInheritGroups(boolean inheritGroups) |
void |
setParameters(java.lang.String[] parameters) |
getDependsOnGroups, getDependsOnMethods, getEnabled, getGroups, getPriority, getTimeOut, setDependsOnGroups, setDependsOnMethods, setEnabled, setGroups, setPriority, setTimeOutgetConstructor, getMethod, getTestClass, setConstructor, setMethod, setTestClassclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependsOnGroups, getDependsOnMethods, getEnabled, getGroupsgetTimeOut, setDependsOnGroups, setDependsOnMethods, setGroups, setTimeOutsetEnabledpublic java.lang.String getDescription()
ITestOrConfigurationgetDescription in interface ITestOrConfigurationgetDescription in interface IBaseBeforeAftergetDescription in class TestOrConfigurationpublic void setDescription(java.lang.String description)
setDescription in interface ITestOrConfigurationsetDescription in class TestOrConfigurationdescription - the description to setpublic void setAlwaysRun(boolean alwaysRun)
public void setInheritGroups(boolean inheritGroups)
public void setParameters(java.lang.String[] parameters)
setParameters in class TestOrConfigurationpublic java.lang.String[] getParameters()
IParameterizablegetParameters in interface IParameterizablegetParameters in class TestOrConfigurationpublic boolean getAlwaysRun()
IBaseBeforeAftergetAlwaysRun in interface IBaseBeforeAfterpublic boolean getInheritGroups()
IBaseBeforeAftergetInheritGroups in interface IBaseBeforeAfterpublic java.lang.String[] getAfterGroups()
public void setAfterGroups(java.lang.String[] afterGroups)
public java.lang.String[] getBeforeGroups()
public void setBeforeGroups(java.lang.String[] beforeGroups)