Uses of Interface
org.testng.ITestClass
-
Packages that use ITestClass Package Description org.testng org.testng.internal org.testng.internal.invokers org.testng.junit org.testng.reporters -
-
Uses of ITestClass in org.testng
Classes in org.testng that implement ITestClass Modifier and Type Class Description (package private) class
TestClass
This class represents a test class: - The test methods - The configuration methods (test and method) - The class fileFields in org.testng with type parameters of type ITestClass Modifier and Type Field Description private java.util.Map<ITestClass,java.util.Set<java.lang.Object>>
ClassMethodMap. afterClassMethods
private java.util.Map<ITestClass,java.util.Set<java.lang.Object>>
ClassMethodMap. beforeClassMethods
private java.util.Map<java.lang.Class<?>,ITestClass>
TestRunner. m_classMap
A map to keep track of Class <-> IClass.Methods in org.testng that return ITestClass Modifier and Type Method Description ITestClass
ITestNGMethod. getTestClass()
Methods in org.testng that return types with arguments of type ITestClass 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()
Methods in org.testng with parameters of type ITestClass Modifier and Type Method 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. -
Uses of ITestClass in org.testng.internal
Classes in org.testng.internal that implement ITestClass Modifier and Type Class Description class
NoOpTestClass
Fields in org.testng.internal declared as ITestClass Modifier and Type Field Description protected ITestClass
BaseTestMethod. m_testClass
The test class on which the test method was found.private ITestClass
LiteWeightTestNGMethod. testClass
Methods in org.testng.internal that return ITestClass Modifier and Type Method Description ITestClass
BaseTestMethod. getTestClass()
ITestClass
ClonedMethod. getTestClass()
ITestClass
LiteWeightTestNGMethod. getTestClass()
ITestClass
WrappedTestNGMethod. getTestClass()
Methods in org.testng.internal with parameters of type ITestClass Modifier and Type Method Description private static IDataProviderMethod
Parameters. findDataProvider(ITestObjectFactory objectFactory, java.lang.Object instance, ITestClass clazz, IAnnotationFinder finder, java.lang.String name, java.lang.Class<?> dataProviderClass, boolean isDynamicDataProvider, ITestContext context)
Find a method that has a @DataProvider(name=name)private static IDataProviderMethod
Parameters. findDataProvider(ITestObjectFactory objectFactory, java.lang.Object instance, ITestClass clazz, ConstructorOrMethod m, IAnnotationFinder finder, ITestContext context)
private static IDataProvidable
Parameters. findDataProviderInfo(ITestClass clazz, ConstructorOrMethod m, IAnnotationFinder finder)
Find the data provider info (data provider name and class) on either @Test(dataProvider),@Factory(dataProvider)
on a method or @Factory(dataProvider) on a constructor.static void
MethodHelper. fixMethodsWithClass(ITestNGMethod[] methods, ITestClass testCls, java.util.List<ITestNGMethod> methodList)
void
BaseTestMethod. setTestClass(ITestClass tc)
Sets the test class having this method.void
ClonedMethod. setTestClass(ITestClass cls)
void
LiteWeightTestNGMethod. setTestClass(ITestClass cls)
void
WrappedTestNGMethod. setTestClass(ITestClass cls)
Method parameters in org.testng.internal with type arguments of type ITestClass 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)
Constructors in org.testng.internal with parameters of type ITestClass Constructor Description NoOpTestClass(ITestClass testClass)
-
Uses of ITestClass in org.testng.internal.invokers
Fields in org.testng.internal.invokers declared as ITestClass Modifier and Type Field Description private ITestClass
TestMethodWithDataProviderMethodWorker. m_testClass
private ITestClass
TestMethodArguments.Builder. testClass
private ITestClass
TestMethodArguments. testClass
Methods in org.testng.internal.invokers that return ITestClass Modifier and Type Method Description ITestClass
TestMethodArguments. getTestClass()
Methods in org.testng.internal.invokers with parameters of type ITestClass Modifier and Type Method Description (package private) static ITestNGMethod[]
TestNgMethodUtils. filterAfterTestMethods(ITestClass testClass, java.util.function.BiPredicate<ITestNGMethod,IClass> predicate)
(package private) static ITestNGMethod[]
TestNgMethodUtils. filterBeforeTestMethods(ITestClass testClass, java.util.function.BiPredicate<ITestNGMethod,IClass> predicate)
TestMethodArguments.Builder
TestMethodArguments.Builder. forTestClass(ITestClass testClass)
private void
TestMethodWorker. invokeAfterClassConfigurations(ITestClass testClass, java.util.List<java.lang.Object> invokeInstances)
protected void
TestMethodWorker. invokeAfterClassMethods(ITestClass testClass, IMethodInstance mi)
Invoke the @AfterClass methods if not done alreadyprotected void
TestMethodWorker. invokeBeforeClassMethods(ITestClass testClass, IMethodInstance mi)
Invoke the @BeforeClass methods if not done alreadyprivate void
TestMethodWorker. invokeListenersOnAfterClass(ITestClass testClass, java.util.List<IClassListener> listeners)
Constructors in org.testng.internal.invokers with parameters of type ITestClass Constructor Description TestMethodArguments(java.lang.Object instance, ITestNGMethod tm, java.lang.Object[] parameterValues, int parametersIndex, java.util.Map<java.lang.String,java.lang.String> params, ITestClass testClass, ITestNGMethod[] beforeMethods, ITestNGMethod[] afterMethods, ConfigurationGroupMethods groupMethods)
TestMethodWithDataProviderMethodWorker(ITestInvoker testInvoker, ITestNGMethod testMethod, int parameterIndex, java.lang.Object[] parameterValues, java.lang.Object instance, java.util.Map<java.lang.String,java.lang.String> parameters, ITestClass testClass, ITestNGMethod[] beforeMethods, ITestNGMethod[] afterMethods, ConfigurationGroupMethods groupMethods, ITestContext testContext, boolean skipFailedInvocationCounts, int invocationCount, int failureCount, ITestResultNotifier notifier)
-
Uses of ITestClass in org.testng.junit
Classes in org.testng.junit that implement ITestClass Modifier and Type Class Description class
JUnit3TestClass
Deprecated.- Support for running JUnit tests stands deprecated as of TestNG7.7.0
class
JUnit4TestClass
Deprecated.- Support for running JUnit tests stands deprecated as of TestNG7.7.0
class
JUnitTestClass
Deprecated.- Support for running JUnit tests stands deprecated as of TestNG7.7.0
-
Uses of ITestClass in org.testng.reporters
Fields in org.testng.reporters with type parameters of type ITestClass Modifier and Type Field Description private java.util.Map<java.lang.String,ITestClass>
SuiteHTMLReporter. m_classes
Methods in org.testng.reporters with parameters of type ITestClass Modifier and Type Method Description private java.lang.String
SuiteHTMLReporter. generateClass(ITestClass cls)
private static void
FailedReporter. getAllApplicableConfigs(java.util.Set<ITestNGMethod> configs, ITestClass iTestClass)
-