Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.internal.annotations | |
org.testng.junit | |
org.testng.reporters | |
org.testng.xml | |
org.testng.xml.dom |
Modifier and Type | Field and Description |
---|---|
private XmlTest |
TestRunner.m_xmlTest |
private XmlTest |
TestClass.m_xmlTest |
Modifier and Type | Method and Description |
---|---|
XmlTest |
ITestContext.getCurrentXmlTest() |
XmlTest |
TestRunner.getCurrentXmlTest() |
XmlTest |
TestRunner.getTest() |
XmlTest |
IClass.getXmlTest() |
XmlTest |
TestClass.getXmlTest() |
XmlTest |
ITestNGMethod.getXmlTest() |
Modifier and Type | Method and Description |
---|---|
private ListMultiMap<ITestNGMethod,ITestNGMethod> |
TestRunner.createClassDependencies(ITestNGMethod[] methods,
XmlTest test) |
private ListMultiMap<ITestNGMethod,ITestNGMethod> |
TestRunner.createInstanceDependencies(ITestNGMethod[] methods,
XmlTest currentXmlTest) |
java.util.Map<java.lang.String,java.lang.String> |
ITestNGMethod.findMethodParameters(XmlTest test) |
ITestNGMethod[] |
ITestMethodFinder.getTestMethods(java.lang.Class<?> cls,
XmlTest xmlTest) |
private void |
TestClass.init(IClass cls,
ITestMethodFinder testMethodFinder,
IAnnotationFinder annotationFinder,
RunInfo runInfo,
XmlTest xmlTest,
XmlClass xmlClass) |
private void |
TestRunner.init(IConfiguration configuration,
ISuite suite,
XmlTest test,
java.lang.String outputDirectory,
IAnnotationFinder annotationFinder,
boolean skipFailedInvocationCounts,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.List<IClassListener> classListeners) |
private void |
TestRunner.initMetaGroups(XmlTest xmlTest)
Initialize meta groups
|
private void |
TestRunner.initRunInfo(XmlTest xmlTest) |
TestRunner |
ITestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners) |
TestRunner |
SuiteRunner.DefaultTestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners) |
TestRunner |
SuiteRunner.ProxyTestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners) |
private void |
TestRunner.privateRun(XmlTest xmlTest)
Main method that create a graph of methods and then pass it to the
graph executor to run them.
|
private void |
TestRunner.privateRunJUnit(XmlTest xmlTest) |
Constructor and Description |
---|
TestClass(IClass cls,
ITestMethodFinder testMethodFinder,
IAnnotationFinder annotationFinder,
RunInfo runInfo,
XmlTest xmlTest,
XmlClass xmlClass) |
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
boolean skipFailedInvocationCounts,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.List<IClassListener> classListeners) |
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
java.lang.String outputDirectory,
IAnnotationFinder finder,
boolean skipFailedInvocationCounts,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.List<IClassListener> classListeners) |
Modifier and Type | Field and Description |
---|---|
private XmlTest |
ClassImpl.m_xmlTest |
private XmlTest |
BaseTestMethod.m_xmlTest |
private XmlTest |
NoOpTestClass.m_xmlTest |
private XmlTest |
FactoryMethod.m_xmlTest |
Modifier and Type | Method and Description |
---|---|
XmlTest |
ITestResultNotifier.getTest() |
XmlTest |
ClassImpl.getXmlTest() |
XmlTest |
BaseTestMethod.getXmlTest() |
XmlTest |
NoOpTestClass.getXmlTest() |
XmlTest |
ClonedMethod.getXmlTest() |
Modifier and Type | Method and Description |
---|---|
private static java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
BaseTestMethod.calculateXmlGroupDependencies(XmlTest xmlTest) |
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) |
private java.lang.String |
TestNGMethod.findDescription(ITestAnnotation testAnnotation,
XmlTest xmlTest) |
java.util.Map<java.lang.String,java.lang.String> |
BaseTestMethod.findMethodParameters(XmlTest test) |
java.util.Map<java.lang.String,java.lang.String> |
ClonedMethod.findMethodParameters(XmlTest test) |
protected IClass |
BaseClassFinder.findOrCreateIClass(ITestContext context,
java.lang.Class cls,
XmlClass xmlClass,
java.lang.Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestObjectFactory objectFactory) |
ITestNGMethod[] |
TestNGMethodFinder.getTestMethods(java.lang.Class<?> clazz,
XmlTest xmlTest) |
private void |
TestNGMethod.init(XmlTest xmlTest) |
void |
BaseTestMethod.setXmlTest(XmlTest xmlTest) |
private static void |
Yaml.toYaml(java.lang.StringBuilder result,
java.lang.String sp,
XmlTest t) |
Constructor and Description |
---|
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) |
FactoryMethod(ConstructorOrMethod com,
java.lang.Object instance,
XmlTest xmlTest,
IAnnotationFinder annotationFinder,
ITestContext testContext) |
TestNGClassFinder(ClassInfoMap cim,
java.util.Map<java.lang.Class,java.util.List<java.lang.Object>> instanceMap,
XmlTest xmlTest,
IConfiguration configuration,
ITestContext testContext) |
TestNGMethod(java.lang.reflect.Method method,
IAnnotationFinder finder,
boolean initialize,
XmlTest xmlTest,
java.lang.Object instance) |
TestNGMethod(java.lang.reflect.Method method,
IAnnotationFinder finder,
XmlTest xmlTest,
java.lang.Object instance)
Constructs a
TestNGMethod |
Modifier and Type | Method and Description |
---|---|
static ITestNGMethod[] |
AnnotationHelper.findMethodsWithAnnotation(java.lang.Class<?> rootClass,
java.lang.Class<? extends IAnnotation> annotationClass,
IAnnotationFinder annotationFinder,
XmlTest xmlTest)
Delegation method for creating the list of
ITestMethod s to be
analysed. |
Modifier and Type | Method and Description |
---|---|
XmlTest |
JUnitTestClass.getXmlTest() |
Modifier and Type | Method and Description |
---|---|
ITestNGMethod[] |
JUnitMethodFinder.getTestMethods(java.lang.Class cls,
XmlTest xmlTest) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<XmlClass> |
FailedReporter.createXmlClasses(java.util.List<ITestNGMethod> methods,
XmlTest srcXmlTest) |
private void |
FailedReporter.createXmlTest(ITestContext context,
java.util.List<ITestNGMethod> methods,
XmlTest srcXmlTest)
Generate testng-failed.xml
|
private static java.util.Map<java.lang.String,java.lang.String> |
FailedReporter.findMethodLocalParameters(XmlTest srcXmlTest,
ITestNGMethod method)
Get local parameters of one include method from origin test xml.
|
private void |
FailedReporter.generateXmlTest(ISuite suite,
XmlTest xmlTest,
ITestContext context,
java.util.Collection<ITestResult> failedTests,
java.util.Collection<ITestResult> skippedTests) |
Modifier and Type | Field and Description |
---|---|
private XmlTest |
TestNGContentHandler.m_currentTest |
private XmlTest |
XmlClass.m_xmlTest |
Modifier and Type | Field and Description |
---|---|
private java.util.List<XmlTest> |
XmlSuite.m_tests
Tests in suite.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<XmlTest> |
XmlSuite.getTests()
Returns the tests.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlSuite.addTest(XmlTest test) |
void |
XmlClass.setXmlTest(XmlTest test) |
Modifier and Type | Method and Description |
---|---|
void |
XmlSuite.setTests(java.util.List<XmlTest> tests) |
Modifier and Type | Method and Description |
---|---|
private void |
DomUtil.populateTest(XmlTest xmlTest,
org.w3c.dom.Node item) |
private static void |
XDom.testNoPackage(XmlTest t) |
private void |
DomUtil.xmlDefine(XmlTest xmlTest,
org.w3c.dom.Node item)
Parse the
|