|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.testng.internal.BaseTestMethod
org.testng.internal.TestNGMethod
public class TestNGMethod
This class represents a test method.
| Field Summary | |
|---|---|
static java.util.Comparator<ITestNGMethod> |
SORT_BY_CLASS
Sorts ITestNGMethod by Class name. |
| Fields inherited from class org.testng.internal.BaseTestMethod |
|---|
DATE_COMPARATOR, m_afterGroups, m_annotationFinder, m_beforeGroups, m_currentInvocationCount, m_date, m_groups, m_groupsDependedUpon, m_id, m_method, m_methodClass, m_methodsDependedUpon, m_testClass |
| Constructor Summary | |
|---|---|
TestNGMethod(java.lang.reflect.Method method,
IAnnotationFinder finder)
Constructs a TestNGMethod |
|
| Method Summary | |
|---|---|
TestNGMethod |
clone()
Clones the current TestNGMethod and its @BeforeMethod and @AfterMethod methods. |
int |
getInvocationCount()
|
int |
getSuccessPercentage()
Default value for successPercentage. |
int |
getThreadPoolSize()
|
long |
getTimeOut()
|
boolean |
isTest()
|
void |
setInvocationCount(int counter)
Sets the number of invocations for this method. |
void |
setThreadPoolSize(int threadPoolSize)
Sets the number of threads on which this method should be invoked. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.Comparator<ITestNGMethod> SORT_BY_CLASS
| Constructor Detail |
|---|
public TestNGMethod(java.lang.reflect.Method method,
IAnnotationFinder finder)
TestNGMethod
method - finder - | Method Detail |
|---|
public long getTimeOut()
getTimeOut in interface ITestNGMethodgetTimeOut in class BaseTestMethodpublic int getInvocationCount()
getInvocationCount in interface ITestNGMethodgetInvocationCount in class BaseTestMethodpublic int getSuccessPercentage()
getSuccessPercentage in interface ITestNGMethodgetSuccessPercentage in class BaseTestMethodpublic boolean isTest()
isTest in interface ITestNGMethodisTest in class BaseTestMethodpublic int getThreadPoolSize()
getThreadPoolSize in interface ITestNGMethodgetThreadPoolSize in class BaseTestMethodpublic void setThreadPoolSize(int threadPoolSize)
setThreadPoolSize in interface ITestNGMethodsetThreadPoolSize in class BaseTestMethodpublic void setInvocationCount(int counter)
setInvocationCount in interface ITestNGMethodsetInvocationCount in class BaseTestMethodpublic TestNGMethod clone()
TestNGMethod and its @BeforeMethod and @AfterMethod methods.
clone in interface ITestNGMethodclone in class BaseTestMethodBaseTestMethod.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||