public class BaseBeforeAfter extends TestOrConfiguration implements IBaseBeforeAfter
| Constructor and Description |
|---|
BaseBeforeAfter() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String[] |
getBeforeGroups() |
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).
|
String[] |
getParameters()
The list of variables used to fill the parameters of this method.
|
void |
setAfterGroups(String[] afterGroups) |
void |
setAlwaysRun(boolean alwaysRun) |
void |
setBeforeGroups(String[] beforeGroups) |
void |
setDescription(String description) |
void |
setInheritGroups(boolean inheritGroups) |
void |
setParameters(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 String getDescription()
ITestOrConfigurationgetDescription in interface ITestOrConfigurationgetDescription in interface IBaseBeforeAftergetDescription in class TestOrConfigurationpublic void setDescription(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(String[] parameters)
setParameters in class TestOrConfigurationpublic String[] getParameters()
IParameterizablegetParameters in interface IParameterizablegetParameters in class TestOrConfigurationpublic boolean getAlwaysRun()
IBaseBeforeAftergetAlwaysRun in interface IBaseBeforeAfterpublic boolean getInheritGroups()
IBaseBeforeAftergetInheritGroups in interface IBaseBeforeAfterpublic String[] getAfterGroups()
public void setAfterGroups(String[] afterGroups)
public String[] getBeforeGroups()
public void setBeforeGroups(String[] beforeGroups)
Copyright © 2024. All rights reserved.