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.
|
boolean |
getInheritGroups() |
void |
setAfterGroups(String[] afterGroups) |
void |
setAlwaysRun(boolean alwaysRun) |
void |
setBeforeGroups(String[] beforeGroups) |
void |
setDescription(String description) |
void |
setInheritGroups(boolean inheritGroups) |
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()
IBaseBeforeAftergetDescription 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 boolean getAlwaysRun()
IBaseBeforeAftergetAlwaysRun in interface IBaseBeforeAfterpublic boolean getInheritGroups()
getInheritGroups in interface IBaseBeforeAfterpublic String[] getAfterGroups()
public void setAfterGroups(String[] afterGroups)
public String[] getBeforeGroups()
public void setBeforeGroups(String[] beforeGroups)
Copyright © 2025. All rights reserved.