public class TestOrConfiguration extends BaseAnnotation implements ITestOrConfiguration
| Constructor and Description |
|---|
TestOrConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getDependsOnGroups()
The list of groups this method depends on.
|
String[] |
getDependsOnMethods()
The list of methods this method depends on.
|
String |
getDescription()
The description for this method, which will be shown in the reports.
|
boolean |
getEnabled()
Whether this annotation is enabled.
|
String[] |
getGroups()
The list of groups this class/method belongs to.
|
String[] |
getParameters()
The list of variables used to fill the parameters of this method.
|
int |
getPriority() |
long |
getTimeOut()
Returns the maximum number of milliseconds this test should take.
|
void |
setDependsOnGroups(String[] dependsOnGroups) |
void |
setDependsOnMethods(String[] dependsOnMethods) |
void |
setDescription(String description) |
void |
setEnabled(boolean enabled) |
void |
setGroups(String[] groups) |
void |
setParameters(String[] parameters) |
void |
setPriority(int priority) |
void |
setTimeOut(long timeOut) |
getConstructor, getMethod, getTestClass, setConstructor, setMethod, setTestClasspublic String[] getGroups()
ITestOrConfigurationgetGroups in interface ITestOrConfigurationpublic boolean getEnabled()
IParameterizablegetEnabled in interface IParameterizablepublic void setDependsOnGroups(String[] dependsOnGroups)
setDependsOnGroups in interface ITestOrConfigurationpublic void setDependsOnMethods(String[] dependsOnMethods)
setDependsOnMethods in interface ITestOrConfigurationpublic void setGroups(String[] groups)
setGroups in interface ITestOrConfigurationpublic String getDescription()
ITestOrConfigurationgetDescription in interface ITestOrConfigurationpublic void setEnabled(boolean enabled)
setEnabled in interface IParameterizablepublic String[] getDependsOnGroups()
ITestOrConfigurationgetDependsOnGroups in interface ITestOrConfigurationpublic String[] getDependsOnMethods()
ITestOrConfigurationgetDependsOnMethods in interface ITestOrConfigurationpublic String[] getParameters()
IParameterizablegetParameters in interface IParameterizablepublic void setParameters(String[] parameters)
public void setDescription(String description)
setDescription in interface ITestOrConfigurationpublic int getPriority()
public void setPriority(int priority)
public void setTimeOut(long timeOut)
setTimeOut in interface ITestOrConfigurationpublic long getTimeOut()
ITestOrConfigurationgetTimeOut in interface ITestOrConfigurationCopyright © 2024. All rights reserved.