public class ConfigurationAnnotation extends TestOrConfiguration implements IConfigurationAnnotation, IBeforeSuite, IAfterSuite, IBeforeTest, IAfterTest, IBeforeGroups, IAfterGroups, IBeforeClass, IAfterClass, IBeforeMethod, IAfterMethod
| Constructor and Description |
|---|
ConfigurationAnnotation() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAfterGroups() |
boolean |
getAfterSuite() |
boolean |
getAfterTest() |
boolean |
getAfterTestClass() |
boolean |
getAfterTestMethod() |
boolean |
getAlwaysRun()
Used only for after type of configuration methods.
|
String[] |
getBeforeGroups() |
boolean |
getBeforeSuite() |
boolean |
getBeforeTest() |
boolean |
getBeforeTestClass() |
boolean |
getBeforeTestMethod() |
String[] |
getGroupFilters() |
boolean |
getInheritGroups() |
boolean |
isAfterGroups() |
boolean |
isBeforeGroups() |
boolean |
isFakeConfiguration()
Internal use only.
|
boolean |
isFirstTimeOnly() |
boolean |
isLastTimeOnly() |
void |
setAfterGroups(String[] afterGroups) |
void |
setAfterSuite(boolean afterSuite) |
void |
setAfterTest(boolean afterTest) |
void |
setAfterTestClass(boolean afterTestClass) |
void |
setAfterTestMethod(boolean afterTestMethod) |
void |
setAlwaysRun(boolean alwaysRun) |
void |
setBeforeGroups(String[] beforeGroups) |
void |
setBeforeSuite(boolean beforeSuite) |
void |
setBeforeTest(boolean beforeTest) |
void |
setBeforeTestClass(boolean beforeTestClass) |
void |
setBeforeTestMethod(boolean beforeTestMethod) |
void |
setFakeConfiguration(boolean b) |
void |
setFirstTimeOnly(boolean f) |
void |
setInheritGroups(boolean inheritGroups) |
void |
setIsAfterGroups(boolean isAfterGroups) |
void |
setIsBeforeGroups(boolean isBeforeGroups) |
void |
setLastTimeOnly(boolean f) |
getDependsOnGroups, getDependsOnMethods, getDescription, getEnabled, getGroups, getPriority, getTimeOut, setDependsOnGroups, setDependsOnMethods, setDescription, setEnabled, setGroups, setPriority, setTimeOutgetConstructor, getMethod, getTestClass, setConstructor, setMethod, setTestClassclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependsOnGroups, getDependsOnMethods, getDescription, getEnabled, getGroupsgetTimeOut, setDependsOnGroups, setDependsOnMethods, setDescription, setGroups, setTimeOutsetEnabledpublic void setAfterSuite(boolean afterSuite)
public void setAfterTest(boolean afterTest)
public void setAfterTestClass(boolean afterTestClass)
public void setAfterTestMethod(boolean afterTestMethod)
public void setAlwaysRun(boolean alwaysRun)
public void setBeforeSuite(boolean beforeSuite)
public void setBeforeTest(boolean beforeTest)
public void setBeforeTestClass(boolean beforeTestClass)
public void setBeforeTestMethod(boolean beforeTestMethod)
public void setInheritGroups(boolean inheritGroups)
public void setIsBeforeGroups(boolean isBeforeGroups)
public void setIsAfterGroups(boolean isAfterGroups)
public boolean isBeforeGroups()
isBeforeGroups in interface IConfigurationAnnotationpublic boolean isAfterGroups()
isAfterGroups in interface IConfigurationAnnotationpublic boolean getBeforeTestClass()
getBeforeTestClass in interface IConfigurationAnnotationpublic boolean getAfterTestClass()
getAfterTestClass in interface IConfigurationAnnotationpublic boolean getBeforeTestMethod()
getBeforeTestMethod in interface IConfigurationAnnotationpublic boolean getAfterTestMethod()
getAfterTestMethod in interface IConfigurationAnnotationpublic boolean getBeforeSuite()
getBeforeSuite in interface IConfigurationAnnotationpublic boolean getAfterSuite()
getAfterSuite in interface IConfigurationAnnotationpublic boolean getBeforeTest()
getBeforeTest in interface IConfigurationAnnotationpublic boolean getAfterTest()
getAfterTest in interface IConfigurationAnnotationpublic boolean getAlwaysRun()
IConfigurationAnnotationgetAlwaysRun in interface IConfigurationAnnotationgetAlwaysRun in interface IBaseBeforeAfterpublic boolean getInheritGroups()
getInheritGroups in interface IConfigurationAnnotationgetInheritGroups in interface IBaseBeforeAfterpublic String[] getAfterGroups()
getAfterGroups in interface IConfigurationAnnotationpublic void setAfterGroups(String[] afterGroups)
public String[] getBeforeGroups()
getBeforeGroups in interface IConfigurationAnnotationpublic void setBeforeGroups(String[] beforeGroups)
public String[] getGroupFilters()
getGroupFilters in interface IBaseBeforeAfterMethodpublic void setFakeConfiguration(boolean b)
public boolean isFakeConfiguration()
IConfigurationAnnotationisFakeConfiguration in interface IConfigurationAnnotationpublic void setFirstTimeOnly(boolean f)
public boolean isFirstTimeOnly()
public void setLastTimeOnly(boolean f)
public boolean isLastTimeOnly()
Copyright © 2025. All rights reserved.