Uses of Interface
org.testng.IClass
-
Packages that use IClass Package Description org.testng org.testng.internal org.testng.junit -
-
Uses of IClass in org.testng
Subinterfaces of IClass in org.testng Modifier and Type Interface 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.Classes in org.testng that implement IClass 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 declared as IClass Modifier and Type Field Description private IClass
TestClass. iClass
Methods in org.testng that return IClass Modifier and Type Method Description IClass[]
ITestClassFinder. findTestClasses()
IClass
ITestClassFinder. getIClass(java.lang.Class<?> cls)
Return the IClass for a given classIClass
TestClass. getIClass()
IClass
ITestResult. getTestClass()
Methods in org.testng with parameters of type IClass Modifier and Type Method Description boolean
ITestNGMethod. canRunFromClass(IClass testClass)
Returns if this ITestNGMethod can be invoked from within IClass.(package private) com.google.inject.Injector
GuiceHelper. getInjector(IClass iClass)
com.google.inject.Injector
ITestContext. getInjector(IClass iClass)
com.google.inject.Injector
TestRunner. getInjector(IClass iClass)
private void
TestClass. init(IClass cls, ITestMethodFinder testMethodFinder, IAnnotationFinder annotationFinder, XmlTest xmlTest, XmlClass xmlClass)
Constructors in org.testng with parameters of type IClass Constructor Description TestClass(IClass cls, ITestMethodFinder testMethodFinder, IAnnotationFinder annotationFinder, RunInfo runInfo, XmlTest xmlTest, XmlClass xmlClass)
-
Uses of IClass in org.testng.internal
Classes in org.testng.internal that implement IClass Modifier and Type Class Description class
ClassImpl
Implementation of an IClass.class
NoOpTestClass
Fields in org.testng.internal declared as IClass Modifier and Type Field Description private IClass
TestResult. m_testClass
Fields in org.testng.internal with type parameters of type IClass Modifier and Type Field Description private static Invoker.Predicate<ITestNGMethod,IClass>
Invoker. CAN_RUN_FROM_CLASS
Predicate to filter methodsprivate java.util.Map<java.lang.Class<?>,IClass>
BaseClassFinder. m_classes
private java.util.Map<java.lang.Class<?>,IClass>
ClassImpl. m_classes
private static Invoker.Predicate<ITestNGMethod,IClass>
Invoker. SAME_CLASS
Predicate to filter methodsMethods in org.testng.internal that return IClass Modifier and Type Method Description protected IClass
BaseClassFinder. findOrCreateIClass(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, java.lang.Object instance, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
protected IClass
BaseClassFinder. findOrCreateIClass(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, java.lang.Object instance, XmlTest xmlTest, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
Deprecated.- This method stands deprecated as of TestNG v6.13IClass[]
BaseClassFinder. findTestClasses()
IClass
BaseClassFinder. getIClass(java.lang.Class<?> cls)
protected IClass
BaseTestMethod. getIClass()
IClass
TestResult. getTestClass()
Methods in org.testng.internal with parameters of type IClass Modifier and Type Method 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)
private boolean
Invoker. confInvocationPassed(ITestNGMethod method, ITestNGMethod currentTestMethod, IClass testClass, java.lang.Object instance)
(package private) static ITestNGMethod[]
TestNgMethodUtils. filterMethods(IClass testClass, ITestNGMethod[] methods, Invoker.Predicate<ITestNGMethod,IClass> predicate)
private java.util.Set<java.lang.Object>
Invoker. getInvocationResults(IClass testClass)
void
TestResult. init(IClass testClass, java.lang.Object instance, ITestNGMethod method, java.lang.Throwable throwable, long start, long end, ITestContext context)
void
IInvoker. invokeConfigurations(IClass testClass, ITestNGMethod[] allMethods, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, java.lang.Object[] parameterValues, java.lang.Object instance)
Invoke configuration methods if they belong to the same TestClass passed in parameter..void
Invoker. invokeConfigurations(IClass testClass, ITestNGMethod[] allMethods, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> params, java.lang.Object[] parameterValues, java.lang.Object instance)
Invoke configuration methods if they belong to the same TestClass passed in parameter..private void
Invoker. invokeConfigurations(IClass testClass, ITestNGMethod currentTestMethod, ITestNGMethod[] allMethods, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> params, java.lang.Object[] parameterValues, java.lang.Object instance, ITestResult testMethodResult)
boolean
Invoker.CanRunFromClassPredicate. isTrue(ITestNGMethod m, IClass v)
boolean
Invoker.SameClassNamePredicate. isTrue(ITestNGMethod m, IClass c)
private ClassInfoMap
TestNGClassFinder. processFactory(IClass ic, ConstructorOrMethod factoryMethod)
private void
TestNGClassFinder. processMethod(IConfiguration configuration, IClass ic, ConstructorOrMethod factoryMethod)
protected void
BaseClassFinder. putIClass(java.lang.Class<?> cls, IClass iClass)
private void
Invoker. recordConfigurationInvocationFailed(ITestNGMethod tm, IClass testClass, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, java.lang.Object instance, XmlSuite suite)
Record internally the failure of a Configuration, so that we can determine later if @Test should be skipped.void
TestResult. setTestClass(IClass testClass)
Method parameters in org.testng.internal with type arguments of type IClass Modifier and Type Method Description static java.lang.Object
ClassHelper. createInstance(java.lang.Class<?> declaringClass, java.util.Map<java.lang.Class<?>,IClass> classes, XmlTest xmlTest, IAnnotationFinder finder, ITestObjectFactory objectFactory)
Create an instance for the given class.static java.lang.Object
ClassHelper. createInstance1(java.lang.Class<?> declaringClass, java.util.Map<java.lang.Class<?>,IClass> classes, XmlTest xmlTest, IAnnotationFinder finder, IObjectFactory objectFactory)
(package private) static ITestNGMethod[]
TestNgMethodUtils. filterAfterTestMethods(ITestClass testClass, Invoker.Predicate<ITestNGMethod,IClass> predicate)
(package private) static ITestNGMethod[]
TestNgMethodUtils. filterBeforeTestMethods(ITestClass testClass, Invoker.Predicate<ITestNGMethod,IClass> predicate)
(package private) static ITestNGMethod[]
TestNgMethodUtils. filterMethods(IClass testClass, ITestNGMethod[] methods, Invoker.Predicate<ITestNGMethod,IClass> predicate)
Constructors in org.testng.internal with parameters of type IClass Constructor Description TestResult(IClass testClass, java.lang.Object instance, ITestNGMethod method, java.lang.Throwable throwable, long start, long end, ITestContext context)
Constructor parameters in org.testng.internal with type arguments of type IClass Constructor Description ClassImpl(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, java.lang.Object instance, java.util.Map<java.lang.Class<?>,IClass> classes, IAnnotationFinder annotationFinder, ITestObjectFactory objectFactory)
ClassImpl(ITestContext context, java.lang.Class<?> cls, XmlClass xmlClass, java.lang.Object instance, java.util.Map<java.lang.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 -
Uses of IClass in org.testng.junit
Classes in org.testng.junit that implement IClass Modifier and Type Class Description class
JUnit3TestClass
class
JUnit4TestClass
class
JUnitTestClass
-