|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.testng.internal.annotations.BaseAnnotation
org.testng.internal.annotations.TestOrConfiguration
org.testng.internal.annotations.ConfigurationAnnotation
public class ConfigurationAnnotation
An implementation of IConfiguration Created on Dec 16, 2005
| Constructor Summary | |
|---|---|
ConfigurationAnnotation()
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getAfterGroups()
The list of groups that this configuration method will run after. |
boolean |
getAfterSuite()
If true, the annotated method will be run after all tests in this suite have run. |
boolean |
getAfterTest()
If true, the annotated method will be run after all every test. |
boolean |
getAfterTestClass()
If true, the annotated method will be run after all the tests in the test class have been run. |
boolean |
getAfterTestMethod()
If true, the annotated method will be run after any test method is invoked. |
boolean |
getAlwaysRun()
Used only for after type of configuration methods. |
java.lang.String[] |
getBeforeGroups()
The list of groups that this configuration method will run before. |
boolean |
getBeforeSuite()
If true, the annotated method will be run before this suite starts. |
boolean |
getBeforeTest()
If true, the annotated method will be run before every test |
boolean |
getBeforeTestClass()
If true, the annotated method will be run after the test class is instantiated and before the test method is invoked. |
boolean |
getBeforeTestMethod()
If true, the annotated method will be run before any test method is invoked. |
boolean |
getInheritGroups()
If true, this @Configuration method will belong to groups specified in the |
java.lang.String[] |
getParameters()
The list of variables used to fill the parameters of this method. |
boolean |
isFakeConfiguration()
Internal use only. |
boolean |
isFirstTimeOnly()
|
boolean |
isLastTimeOnly()
|
void |
setAfterGroups(java.lang.String[] afterGroups)
|
void |
setAfterSuite(boolean afterSuite)
|
void |
setAfterTest(boolean afterTest)
|
void |
setAfterTestClass(boolean afterTestClass)
|
void |
setAfterTestMethod(boolean afterTestMethod)
|
void |
setAlwaysRun(boolean alwaysRun)
|
void |
setBeforeGroups(java.lang.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 |
setLastTimeOnly(boolean f)
|
void |
setParameters(java.lang.String[] parameters)
|
| Methods inherited from class org.testng.internal.annotations.TestOrConfiguration |
|---|
getDependsOnGroups, getDependsOnMethods, getDescription, getEnabled, getGroups, setDependsOnGroups, setDependsOnMethods, setDescription, setEnabled, setGroups |
| Methods inherited from class org.testng.internal.annotations.BaseAnnotation |
|---|
getConstructor, getMethod, getTestClass, setConstructor, setMethod, setTestClass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.testng.internal.annotations.ITestOrConfiguration |
|---|
getDependsOnGroups, getDependsOnMethods, getDescription, getEnabled, getGroups, setDependsOnGroups, setDependsOnMethods, setGroups |
| Constructor Detail |
|---|
public ConfigurationAnnotation()
| Method Detail |
|---|
public 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 setParameters(java.lang.String[] parameters)
setParameters in class TestOrConfigurationpublic boolean getBeforeTestClass()
IConfiguration
getBeforeTestClass in interface IConfigurationpublic boolean getAfterTestClass()
IConfiguration
getAfterTestClass in interface IConfigurationpublic boolean getBeforeTestMethod()
IConfiguration
getBeforeTestMethod in interface IConfigurationpublic boolean getAfterTestMethod()
IConfiguration
getAfterTestMethod in interface IConfigurationpublic boolean getBeforeSuite()
IConfiguration
getBeforeSuite in interface IConfigurationpublic boolean getAfterSuite()
IConfiguration
getAfterSuite in interface IConfigurationpublic boolean getBeforeTest()
IConfiguration
getBeforeTest in interface IConfigurationpublic boolean getAfterTest()
IConfiguration
getAfterTest in interface IConfigurationpublic java.lang.String[] getParameters()
IParameterizable
getParameters in interface IParameterizablegetParameters in class TestOrConfigurationpublic boolean getAlwaysRun()
IConfiguration
getAlwaysRun in interface IConfigurationpublic boolean getInheritGroups()
IConfiguration
getInheritGroups in interface IConfigurationpublic java.lang.String[] getAfterGroups()
IConfiguration
getAfterGroups in interface IConfigurationpublic void setAfterGroups(java.lang.String[] afterGroups)
public java.lang.String[] getBeforeGroups()
IConfiguration
getBeforeGroups in interface IConfigurationpublic void setBeforeGroups(java.lang.String[] beforeGroups)
public void setFakeConfiguration(boolean b)
public boolean isFakeConfiguration()
IConfiguration
isFakeConfiguration in interface IConfigurationpublic void setFirstTimeOnly(boolean f)
public boolean isFirstTimeOnly()
public void setLastTimeOnly(boolean f)
public boolean isLastTimeOnly()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||