| Package | Description |
|---|---|
| org.testng | |
| org.testng.internal | |
| org.testng.junit |
| Modifier and Type | Method | Description |
|---|---|---|
ITestClass |
ITestNGMethod.getTestClass() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<ITestClass,java.util.Set<java.lang.Object>> |
ClassMethodMap.getInvokedAfterClassMethods() |
|
java.util.Map<ITestClass,java.util.Set<java.lang.Object>> |
ClassMethodMap.getInvokedBeforeClassMethods() |
|
java.util.Collection<ITestClass> |
TestRunner.getTestClasses() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
IClassListener.onAfterClass(ITestClass testClass) |
|
void |
IClassListener.onBeforeClass(ITestClass testClass) |
|
void |
ITestNGMethod.setTestClass(ITestClass cls) |
Sets the test class having this method.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
NoOpTestClass |
| Modifier and Type | Field | Description |
|---|---|---|
protected ITestClass |
BaseTestMethod.m_testClass |
The test class on which the test method was found.
|
| Modifier and Type | Method | Description |
|---|---|---|
ITestClass |
BaseTestMethod.getTestClass() |
|
ITestClass |
ClonedMethod.getTestClass() |
|
ITestClass |
WrappedTestNGMethod.getTestClass() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
MethodHelper.fixMethodsWithClass(ITestNGMethod[] methods,
ITestClass testCls,
java.util.List<ITestNGMethod> methodList) |
|
protected void |
TestMethodWorker.invokeAfterClassMethods(ITestClass testClass,
IMethodInstance mi) |
Invoke the @AfterClass methods if not done already
|
protected void |
TestMethodWorker.invokeBeforeClassMethods(ITestClass testClass,
IMethodInstance mi) |
Invoke the @BeforeClass methods if not done already
|
void |
BaseTestMethod.setTestClass(ITestClass tc) |
Sets the test class having this method.
|
void |
ClonedMethod.setTestClass(ITestClass cls) |
|
void |
WrappedTestNGMethod.setTestClass(ITestClass cls) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> |
MethodGroupsHelper.findGroupsMethods(java.util.Collection<ITestClass> classes,
boolean before) |
Extracts the map of groups and their corresponding methods from the
classes. |
| Constructor | Description |
|---|---|
NoOpTestClass(ITestClass testClass) |
|
TestMethodWithDataProviderMethodWorker(Invoker invoker,
ITestNGMethod testMethod,
int parameterIndex,
java.lang.Object[] parameterValues,
java.lang.Object instance,
XmlSuite suite,
java.util.Map<java.lang.String,java.lang.String> parameters,
ITestClass testClass,
ITestNGMethod[] beforeMethods,
ITestNGMethod[] afterMethods,
ConfigurationGroupMethods groupMethods,
ExpectedExceptionsHolder expectedExceptionHolder,
ITestContext testContext,
boolean skipFailedInvocationCounts,
int invocationCount,
int failureCount,
ITestResultNotifier notifier) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
JUnit3TestClass |
|
class |
JUnit4TestClass |
|
class |
JUnitTestClass |