| Package | Description |
|---|---|
| org.testng | |
| org.testng.internal | |
| org.testng.internal.invokers | |
| org.testng.junit |
| Modifier and Type | Method and Description |
|---|---|
ITestClass |
ITestNGMethod.getTestClass() |
| Modifier and Type | Method and Description |
|---|---|
Map<ITestClass,Set<Object>> |
ClassMethodMap.getInvokedAfterClassMethods() |
Map<ITestClass,Set<Object>> |
ClassMethodMap.getInvokedBeforeClassMethods() |
Collection<ITestClass> |
TestRunner.getTestClasses() |
| Modifier and Type | Method and Description |
|---|---|
default void |
IClassListener.onAfterClass(ITestClass testClass) |
default void |
IClassListener.onBeforeClass(ITestClass testClass) |
void |
ITestNGMethod.setTestClass(ITestClass cls)
Sets the test class having this method.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NoOpTestClass |
| Modifier and Type | Field and Description |
|---|---|
protected ITestClass |
BaseTestMethod.m_testClass
The test class on which the test method was found.
|
| Modifier and Type | Method and Description |
|---|---|
ITestClass |
LiteWeightTestNGMethod.getTestClass() |
ITestClass |
WrappedTestNGMethod.getTestClass() |
ITestClass |
ClonedMethod.getTestClass() |
ITestClass |
BaseTestMethod.getTestClass() |
| Modifier and Type | Method and Description |
|---|---|
static void |
MethodHelper.fixMethodsWithClass(ITestNGMethod[] methods,
ITestClass testCls,
List<ITestNGMethod> methodList) |
void |
LiteWeightTestNGMethod.setTestClass(ITestClass cls) |
void |
WrappedTestNGMethod.setTestClass(ITestClass cls) |
void |
ClonedMethod.setTestClass(ITestClass cls) |
void |
BaseTestMethod.setTestClass(ITestClass tc)
Sets the test class having this method.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,List<ITestNGMethod>> |
MethodGroupsHelper.findGroupsMethods(Collection<ITestClass> classes,
boolean before) |
| Constructor and Description |
|---|
NoOpTestClass(ITestClass testClass) |
| Modifier and Type | Method and Description |
|---|---|
ITestClass |
TestMethodArguments.getTestClass() |
| Modifier and Type | Method and Description |
|---|---|
TestMethodArguments.Builder |
TestMethodArguments.Builder.forTestClass(ITestClass testClass) |
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
|
| Constructor and Description |
|---|
TestMethodWithDataProviderMethodWorker(ITestInvoker testInvoker,
ITestNGMethod testMethod,
int parameterIndex,
Object[] parameterValues,
Object instance,
Map<String,String> parameters,
ITestClass testClass,
ITestNGMethod[] beforeMethods,
ITestNGMethod[] afterMethods,
ConfigurationGroupMethods groupMethods,
ITestContext testContext,
boolean skipFailedInvocationCounts,
int invocationCount,
int failureCount,
ITestResultNotifier notifier) |
| Modifier and Type | Class and Description |
|---|---|
class |
JUnit3TestClass |
class |
JUnit4TestClass |
class |
JUnitTestClass |
Copyright © 2025. All rights reserved.