|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.testng.internal.NoOpTestClass
public class NoOpTestClass
This class/interface
| Field Summary | |
|---|---|
protected ITestNGMethod[] |
m_afterClassMethods
|
protected ITestNGMethod[] |
m_afterGroupsMethods
|
protected ITestNGMethod[] |
m_afterSuiteMethods
|
protected ITestNGMethod[] |
m_afterTestConfMethods
|
protected ITestNGMethod[] |
m_afterTestMethods
|
protected ITestNGMethod[] |
m_beforeClassMethods
|
protected ITestNGMethod[] |
m_beforeGroupsMethods
|
protected ITestNGMethod[] |
m_beforeSuiteMethods
|
protected ITestNGMethod[] |
m_beforeTestConfMethods
|
protected ITestNGMethod[] |
m_beforeTestMethods
|
protected java.lang.Class |
m_testClass
|
protected ITestNGMethod[] |
m_testMethods
|
protected java.lang.String |
m_testName
|
| Constructor Summary | |
|---|---|
protected |
NoOpTestClass()
|
|
NoOpTestClass(ITestClass testClass)
|
| Method Summary | |
|---|---|
void |
addInstance(java.lang.Object instance)
|
ITestNGMethod[] |
getAfterClassMethods()
Returns all the methods that should be invoked after all the tests have been run on this class. |
ITestNGMethod[] |
getAfterGroupsMethods()
Returns all @Configuration methods that should be invoked after certain groups. |
ITestNGMethod[] |
getAfterSuiteMethods()
Returns all the methods that should be invoked after the suite has run. |
ITestNGMethod[] |
getAfterTestConfigurationMethods()
Returns all @Configuration methods that should be invoked last before any others in the current test. |
ITestNGMethod[] |
getAfterTestMethods()
Returns all the methods that should be invoked after a test method completes. |
ITestNGMethod[] |
getBeforeClassMethods()
Return all the methods that should be invoked after the test class has been created and before any of its test methods is invoked. |
ITestNGMethod[] |
getBeforeGroupsMethods()
Returns all @Configuration methods that should be invoked before certain groups. |
ITestNGMethod[] |
getBeforeSuiteMethods()
Returns All the methods that should be invoked before the suite is run. |
ITestNGMethod[] |
getBeforeTestConfigurationMethods()
Returns all @Configuration methods that should be invoked before any others in the current test. |
ITestNGMethod[] |
getBeforeTestMethods()
Returns all the methods that should be invoked before a test method is invoked. |
int |
getInstanceCount()
|
long[] |
getInstanceHashCodes()
TODO cquezel JavaDoc. |
java.lang.Object[] |
getInstances(boolean reuse)
Returns all the instances the methods will be invoked upon. |
java.lang.String |
getName()
|
java.lang.Class |
getRealClass()
|
ITestNGMethod[] |
getTestMethods()
Returns all the applicable test methods. |
void |
setAfterTestMethod(ITestNGMethod[] afterTestMethods)
|
void |
setBeforeTestMethods(ITestNGMethod[] beforeTestMethods)
|
void |
setTestClass(java.lang.Class<?> declaringClass)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Class m_testClass
protected java.lang.String m_testName
protected ITestNGMethod[] m_beforeClassMethods
protected ITestNGMethod[] m_beforeTestMethods
protected ITestNGMethod[] m_testMethods
protected ITestNGMethod[] m_afterClassMethods
protected ITestNGMethod[] m_afterTestMethods
protected ITestNGMethod[] m_beforeSuiteMethods
protected ITestNGMethod[] m_afterSuiteMethods
protected ITestNGMethod[] m_beforeTestConfMethods
protected ITestNGMethod[] m_afterTestConfMethods
protected ITestNGMethod[] m_beforeGroupsMethods
protected ITestNGMethod[] m_afterGroupsMethods
| Constructor Detail |
|---|
protected NoOpTestClass()
public NoOpTestClass(ITestClass testClass)
| Method Detail |
|---|
public void setBeforeTestMethods(ITestNGMethod[] beforeTestMethods)
public void setAfterTestMethod(ITestNGMethod[] afterTestMethods)
public ITestNGMethod[] getAfterClassMethods()
ITestClass
getAfterClassMethods in interface ITestClasspublic ITestNGMethod[] getAfterTestMethods()
ITestClass
getAfterTestMethods in interface ITestClasspublic ITestNGMethod[] getBeforeClassMethods()
ITestClass
getBeforeClassMethods in interface ITestClasspublic ITestNGMethod[] getBeforeTestMethods()
ITestClass
getBeforeTestMethods in interface ITestClasspublic ITestNGMethod[] getTestMethods()
ITestClass
getTestMethods in interface ITestClasspublic ITestNGMethod[] getBeforeSuiteMethods()
ITestClass
getBeforeSuiteMethods in interface ITestClasspublic ITestNGMethod[] getAfterSuiteMethods()
ITestClass
getAfterSuiteMethods in interface ITestClasspublic ITestNGMethod[] getBeforeTestConfigurationMethods()
ITestClass
getBeforeTestConfigurationMethods in interface ITestClasspublic ITestNGMethod[] getAfterTestConfigurationMethods()
ITestClass
getAfterTestConfigurationMethods in interface ITestClasspublic ITestNGMethod[] getBeforeGroupsMethods()
ITestClass
getBeforeGroupsMethods in interface ITestClasspublic ITestNGMethod[] getAfterGroupsMethods()
ITestClass
getAfterGroupsMethods in interface ITestClasspublic int getInstanceCount()
getInstanceCount in interface IClassgetInstanceCount in interface ITestClassITestClass.getInstanceCount()public long[] getInstanceHashCodes()
ITestClass
getInstanceHashCodes in interface IClassgetInstanceHashCodes in interface ITestClassITestClass.getInstanceHashCodes()public java.lang.Object[] getInstances(boolean reuse)
ITestClass
getInstances in interface IClassgetInstances in interface ITestClassreuse - flag if a new set of instances must be returned
(if set to false)
ITestClass.getInstances(boolean)public java.lang.String getName()
getName in interface IClasspublic java.lang.Class getRealClass()
getRealClass in interface IClasspublic void addInstance(java.lang.Object instance)
addInstance in interface IClassIClass.addInstance(java.lang.Object)public void setTestClass(java.lang.Class<?> declaringClass)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||