|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITest
Encapsulate the @Test / @testng.test annotation. Created on Dec 20, 2005
Method Summary | |
---|---|
boolean |
getAlwaysRun()
If set to true, this test method will always be run even if it depends on a method that failed. |
java.lang.String |
getDataProvider()
|
java.lang.Class<?> |
getDataProviderClass()
|
java.lang.Class<?>[] |
getExpectedExceptions()
|
int |
getInvocationCount()
Returns the number of times this method should be invoked. |
IRetryAnalyzer |
getRetryAnalyzer()
|
boolean |
getSequential()
|
int |
getSuccessPercentage()
The percentage of success expected from this method. |
java.lang.String |
getSuiteName()
|
java.lang.String |
getTestName()
|
int |
getThreadPoolSize()
The size of the thread pool for this method. |
long |
getTimeOut()
Returns the maximum number of milliseconds this test should take. |
void |
setAlwaysRun(boolean f)
|
void |
setExpectedExceptions(java.lang.Class<?>[] e)
|
void |
setInvocationCount(int l)
|
void |
setRetryAnalyzer(java.lang.Class<?> c)
|
void |
setSequential(boolean f)
|
void |
setSkipFailedInvocations(boolean skip)
|
void |
setSuccessPercentage(int s)
|
void |
setSuiteName(java.lang.String s)
|
void |
setTestName(java.lang.String s)
|
void |
setThreadPoolSize(int n)
|
void |
setTimeOut(long l)
|
boolean |
skipFailedInvocations()
|
Methods inherited from interface org.testng.internal.annotations.ITestOrConfiguration |
---|
getDependsOnGroups, getDependsOnMethods, getDescription, getEnabled, getGroups, setDependsOnGroups, setDependsOnMethods, setGroups |
Methods inherited from interface org.testng.internal.annotations.IParameterizable |
---|
getParameters |
Method Detail |
---|
long getTimeOut()
void setTimeOut(long l)
int getInvocationCount()
void setInvocationCount(int l)
int getThreadPoolSize()
void setThreadPoolSize(int n)
int getSuccessPercentage()
void setSuccessPercentage(int s)
boolean getAlwaysRun()
void setAlwaysRun(boolean f)
java.lang.Class<?>[] getExpectedExceptions()
void setExpectedExceptions(java.lang.Class<?>[] e)
java.lang.String getSuiteName()
void setSuiteName(java.lang.String s)
java.lang.String getTestName()
void setTestName(java.lang.String s)
boolean getSequential()
void setSequential(boolean f)
java.lang.String getDataProvider()
java.lang.Class<?> getDataProviderClass()
IRetryAnalyzer getRetryAnalyzer()
void setRetryAnalyzer(java.lang.Class<?> c)
boolean skipFailedInvocations()
void setSkipFailedInvocations(boolean skip)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |