Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.junit |
Modifier and Type | Interface and Description |
---|---|
interface |
ITestClass
This class represents a test class:
The test methods
The configuration methods (test and method)
The class file
Note that the methods returned by instances of this class
are expected to be correct at runtime.
|
Modifier and Type | Method and Description |
---|---|
IClass[] |
ITestClassFinder.findTestClasses() |
IClass |
ITestClassFinder.getIClass(Class<?> cls)
Return the IClass for a given class
|
IClass |
ITestResult.getTestClass() |
Modifier and Type | Method and Description |
---|---|
boolean |
ITestNGMethod.canRunFromClass(IClass testClass)
Returns if this ITestNGMethod can be invoked from within IClass.
|
com.google.inject.Injector |
TestRunner.getInjector(IClass iClass) |
com.google.inject.Injector |
ITestContext.getInjector(IClass iClass) |
Modifier and Type | Class and Description |
---|---|
class |
ClassImpl
Implementation of an IClass.
|
class |
NoOpTestClass |
Modifier and Type | Method and Description |
---|---|
protected IClass |
BaseClassFinder.findOrCreateIClass(ITestContext context,
Class<?> cls,
XmlClass xmlClass,
Object instance,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory) |
protected IClass |
BaseClassFinder.findOrCreateIClass(ITestContext context,
Class<?> cls,
XmlClass xmlClass,
Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory)
Deprecated.
- This method stands deprecated as of TestNG v6.13
|
IClass[] |
BaseClassFinder.findTestClasses() |
protected IClass |
BaseTestMethod.getIClass() |
IClass |
BaseClassFinder.getIClass(Class<?> cls) |
IClass |
TestResult.getTestClass() |
Modifier and Type | Method and Description |
---|---|
boolean |
BaseTestMethod.canRunFromClass(IClass testClass)
Returns if this ITestNGMethod can be invoked from within IClass.
|
boolean |
ClonedMethod.canRunFromClass(IClass testClass) |
boolean |
WrappedTestNGMethod.canRunFromClass(IClass testClass) |
void |
TestResult.init(IClass testClass,
Object instance,
ITestNGMethod method,
Throwable throwable,
long start,
long end,
ITestContext context) |
void |
Invoker.invokeConfigurations(IClass testClass,
ITestNGMethod[] allMethods,
XmlSuite suite,
Map<String,String> params,
Object[] parameterValues,
Object instance)
Invoke configuration methods if they belong to the same TestClass passed
in parameter..
|
void |
IInvoker.invokeConfigurations(IClass testClass,
ITestNGMethod[] allMethods,
XmlSuite suite,
Map<String,String> parameters,
Object[] parameterValues,
Object instance)
Invoke configuration methods if they belong to the same TestClass
passed in parameter..
|
protected void |
BaseClassFinder.putIClass(Class<?> cls,
IClass iClass) |
void |
TestResult.setTestClass(IClass testClass) |
Modifier and Type | Method and Description |
---|---|
static Object |
ClassHelper.createInstance(Class<?> declaringClass,
Map<Class<?>,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder finder,
ITestObjectFactory objectFactory)
Create an instance for the given class.
|
static Object |
ClassHelper.createInstance1(Class<?> declaringClass,
Map<Class<?>,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder finder,
IObjectFactory objectFactory) |
Constructor and Description |
---|
TestResult(IClass testClass,
Object instance,
ITestNGMethod method,
Throwable throwable,
long start,
long end,
ITestContext context) |
Constructor and Description |
---|
ClassImpl(ITestContext context,
Class<?> cls,
XmlClass xmlClass,
Object instance,
Map<Class<?>,IClass> classes,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory) |
ClassImpl(ITestContext context,
Class<?> cls,
XmlClass xmlClass,
Object instance,
Map<Class<?>,IClass> classes,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory)
Deprecated.
- This constructor is un-used within TestNG and hence stands deprecated as of TestNG v6.13
|
Modifier and Type | Class and Description |
---|---|
class |
JUnit3TestClass |
class |
JUnit4TestClass |
class |
JUnitTestClass |
Copyright © 2024. All rights reserved.