A B C D E F G H I J K L M N O P R S T U V W X 
All Classes All Packages

A

AbstractXmlReporter - Class in org.testng.reporters
 
AbstractXmlReporter() - Constructor for class org.testng.reporters.AbstractXmlReporter
 
AbstractXmlReporter.Count - Class in org.testng.reporters
 
AbstractXmlReporter.Count.Builder - Class in org.testng.reporters
 
accept(String) - Method in interface org.testng.xml.ISuiteParser
 
accept(String) - Method in class org.testng.xml.SuiteXmlParser
 
actOnResult(int, boolean) - Method in class org.testng.TestNGAntTask
 
add(String, Object) - Method in class org.testng.collections.Objects.ToStringHelper
 
add(String, String) - Method in class org.testng.collections.Objects.ToStringHelper
 
add(AbstractXmlReporter.Count) - Method in class org.testng.reporters.AbstractXmlReporter.Count
 
addCDATA(String) - Method in class org.testng.reporters.XMLStringBuffer
 
addClassfileset(FileSet) - Method in class org.testng.TestNGAntTask
 
addClassLoader(ClassLoader) - Method in class org.testng.TestNG
Add a class loader to the searchable loaders.
addComment(String) - Method in class org.testng.reporters.XMLStringBuffer
 
addConfiguredPropertySet(PropertySet) - Method in class org.testng.TestNGAntTask
Add the referenced property set as system properties for the TestNG JVM.
addConfiguredReporter(AntReporterConfig) - Method in class org.testng.TestNGAntTask
 
addCustomTagsFor(XMLStringBuffer, ITestResult) - Method in class org.testng.reporters.AbstractXmlReporter
 
addCustomTagsFor(XMLStringBuffer, ITestResult) - Method in interface org.testng.reporters.ICustomizeXmlReport
 
addDefine(XmlDefine) - Method in class org.testng.xml.XmlGroups
 
addDurationAttributes(XMLReporterConfig, Properties, Date, Date) - Static method in class org.testng.reporters.XMLReporter
Deprecated.
- This method stands deprecated as of TestNG 7.8.0 Add started-at, finished-at and duration-ms attributes to the <suite> tag
addEdge(int, T, T) - Method in interface org.testng.IDynamicGraph
 
addEdges(int, T, Iterable<T>) - Method in interface org.testng.IDynamicGraph
 
addEmptyElement(String) - Method in class org.testng.reporters.XMLStringBuffer
Add an empty element tag (e.g.
addEmptyElement(String, String...) - Method in class org.testng.reporters.XMLStringBuffer
 
addEmptyElement(String, Properties) - Method in class org.testng.reporters.XMLStringBuffer
Add an empty element tag (e.g.
addEnv(Environment.Variable) - Method in class org.testng.TestNGAntTask
Adds an environment variable; used when forking.
addError(Test, Throwable) - Method in class org.testng.junit.JUnitTestRunner
Deprecated.
 
addExcludedGroup(String) - Method in class org.testng.xml.XmlSuite
 
addExcludedGroup(String) - Method in class org.testng.xml.XmlTest
 
addFailedButWithinSuccessPercentageTest(ITestNGMethod, ITestResult) - Method in class org.testng.TestRunner
 
addFailedInvocationNumber(int) - Method in interface org.testng.ITestNGMethod
The list of invocation numbers that failed, which is only applicable for methods that have a data provider.
addFailedTest(ITestNGMethod, ITestResult) - Method in class org.testng.TestRunner
 
addFailure(Test, AssertionFailedError) - Method in class org.testng.junit.JUnitTestRunner
Deprecated.
 
addIncludedGroup(String) - Method in class org.testng.xml.XmlSuite
 
addIncludedGroup(String) - Method in class org.testng.xml.XmlTest
 
addInstance(Object) - Method in interface org.testng.IClass
 
addInstance(Object) - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
addInterceptor(IDataProviderInterceptor) - Method in class org.testng.DataProviderHolder
 
addInterceptors(Collection<IDataProviderInterceptor>) - Method in class org.testng.DataProviderHolder
 
addInvocationNumbers(List<Integer>) - Method in class org.testng.xml.XmlInclude
 
addListener(Object) - Method in class org.testng.TestNG
Deprecated.
Use addListener(ITestNGListener) instead
addListener(String) - Method in class org.testng.xml.XmlSuite
 
addListener(IDataProviderListener) - Method in class org.testng.DataProviderHolder
 
addListener(ISuiteListener) - Method in class org.testng.SuiteRunner
 
addListener(ITestNGListener) - Method in interface org.testng.ISuite
 
addListener(ITestNGListener) - Method in class org.testng.SuiteRunner
 
addListener(ITestNGListener) - Method in class org.testng.TestNG
 
addListener(ITestNGListener) - Method in class org.testng.TestRunner
 
addListeners(Collection<IDataProviderListener>) - Method in class org.testng.DataProviderHolder
 
addMetaGroup(String, String...) - Method in class org.testng.xml.XmlTest
 
addMetaGroup(String, List<String>) - Method in class org.testng.xml.XmlTest
 
addMethodDependedUpon(String) - Method in interface org.testng.ITestNGMethod
 
addMethodSelector(String, int) - Method in class org.testng.TestNG
 
addMethodSelector(XmlMethodSelector) - Method in class org.testng.TestNG
 
addNode(T) - Method in interface org.testng.IDynamicGraph
 
addOptional(String, Boolean) - Method in class org.testng.reporters.XMLStringBuffer
Add an optional Boolean element to the current tag.
addOptional(String, Boolean, Properties) - Method in class org.testng.reporters.XMLStringBuffer
Add an optional Boolean element to the current tag.
addOptional(String, String) - Method in class org.testng.reporters.XMLStringBuffer
Add an optional String element to the current tag.
addOptional(String, String, String...) - Method in class org.testng.reporters.XMLStringBuffer
 
addOptional(String, String, Properties) - Method in class org.testng.reporters.XMLStringBuffer
Add an optional String element to the current tag.
addParameter(String, String) - Method in class org.testng.xml.XmlInclude
 
addParameter(String, String) - Method in class org.testng.xml.XmlTest
 
addPassedTest(ITestNGMethod, ITestResult) - Method in class org.testng.TestRunner
 
addRequired(String, String) - Method in class org.testng.reporters.XMLStringBuffer
Add a required element to the current tag.
addRequired(String, String, String...) - Method in class org.testng.reporters.XMLStringBuffer
 
addRequired(String, String, Properties) - Method in class org.testng.reporters.XMLStringBuffer
Add a required element to the current tag.
addResult(Class<?>, ITestResult) - Method in class org.testng.reporters.jq.ResultsByClass
 
addResult(ITestResult) - Method in interface org.testng.IResultMap
 
addSkippedTest(ITestNGMethod, ITestResult) - Method in class org.testng.TestRunner
 
addString(String) - Method in class org.testng.reporters.XMLStringBuffer
 
addSysproperty(Environment.Variable) - Method in class org.testng.TestNGAntTask
 
addTest(XmlTest) - Method in class org.testng.xml.XmlSuite
 
addTestMethodParams(XMLStringBuffer, ITestResult) - Method in class org.testng.reporters.XMLSuiteResultWriter
 
addXmlDependencyGroup(String, String) - Method in class org.testng.xml.XmlTest
 
addXmlfileset(FileSet) - Method in class org.testng.TestNGAntTask
 
adjustSuiteNamesToEnsureUniqueness(List<XmlSuite>) - Static method in class org.testng.xml.internal.XmlSuiteUtils
Ensure that two XmlSuite don't have the same name
AFTER - Static variable in class org.testng.reporters.SuiteHTMLReporter
Deprecated.
Generate information about the methods that were run
AfterClass - Annotation Type in org.testng.annotations
 
afterDataProviderExecution(IDataProviderMethod, ITestNGMethod, ITestContext) - Method in interface org.testng.IDataProviderListener
This method gets invoked just after a data provider is invoked.
AfterGroups - Annotation Type in org.testng.annotations
 
afterInvocation(IInvokedMethod, ITestResult) - Method in interface org.testng.IInvokedMethodListener
 
afterInvocation(IInvokedMethod, ITestResult) - Method in interface org.testng.ISuiteRunnerListener
 
afterInvocation(IInvokedMethod, ITestResult) - Method in class org.testng.SuiteRunner
 
afterInvocation(IInvokedMethod, ITestResult, ITestContext) - Method in interface org.testng.IInvokedMethodListener
To be implemented if the method needs a handle to contextual information.
AfterMethod - Annotation Type in org.testng.annotations
 
AfterSuite - Annotation Type in org.testng.annotations
 
AfterTest - Annotation Type in org.testng.annotations
 
alter(List<XmlSuite>) - Method in interface org.testng.IAlterSuiteListener
 
ALWAYS_RUN_LISTENERS - Static variable in class org.testng.CommandLineArgs
 
alwaysRun() - Method in annotation type org.testng.annotations.AfterClass
For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): if set to true, this configuration method will be run regardless of what groups it belongs to.
alwaysRun() - Method in annotation type org.testng.annotations.AfterGroups
For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): if set to true, this configuration method will be run regardless of what groups it belongs to.
alwaysRun() - Method in annotation type org.testng.annotations.AfterMethod
For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): if set to true, this configuration method will be run regardless of what groups it belongs to.
alwaysRun() - Method in annotation type org.testng.annotations.AfterSuite
For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): if set to true, this configuration method will be run regardless of what groups it belongs to.
alwaysRun() - Method in annotation type org.testng.annotations.AfterTest
For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): if set to true, this configuration method will be run regardless of what groups it belongs to.
alwaysRun() - Method in annotation type org.testng.annotations.BeforeClass
For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): If set to true, this configuration method will be run regardless of what groups it belongs to.
alwaysRun() - Method in annotation type org.testng.annotations.BeforeGroups
For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): If set to true, this configuration method will be run regardless of what groups it belongs to.
alwaysRun() - Method in annotation type org.testng.annotations.BeforeMethod
For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): If set to true, this configuration method will be run regardless of what groups it belongs to.
alwaysRun() - Method in annotation type org.testng.annotations.BeforeSuite
For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): If set to true, this configuration method will be run regardless of what groups it belongs to.
alwaysRun() - Method in annotation type org.testng.annotations.BeforeTest
For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): If set to true, this configuration method will be run regardless of what groups it belongs to.
alwaysRun() - Method in annotation type org.testng.annotations.Test
If set to true, this test method will always be run even if it depends on a method that failed.
alwaysRunListeners - Variable in class org.testng.CommandLineArgs
 
alwaysRunListeners(boolean) - Method in class org.testng.TestNG
 
append(CharSequence) - Method in class org.testng.reporters.FileStringBuffer
 
append(CharSequence) - Method in interface org.testng.reporters.IBuffer
 
appendAttributes(IBuffer, Properties) - Static method in class org.testng.reporters.XMLUtils
Appends the attributes to result.
ARRAY_MISMATCH_TEMPLATE - Static variable in class org.testng.Assert
 
asIterable(Iterator<T>) - Static method in class org.testng.collections.CollectionUtils
 
Assert - Class in org.testng
Assertion tool class.
Assert() - Constructor for class org.testng.Assert
Protect constructor since it is a static only class
Assert.ThrowingRunnable - Interface in org.testng
This interface facilitates the use of Assert.expectThrows(java.lang.Class<T>, org.testng.Assert.ThrowingRunnable) from Java 8.
assertAll() - Method in class org.testng.asserts.SoftAssert
 
assertAll(String) - Method in class org.testng.asserts.SoftAssert
 
assertDirectory(File) - Static method in class org.testng.FileAssert
 
assertDirectory(File, String) - Static method in class org.testng.FileAssert
Asserts that a tstvalue is a proper directory.
assertEquals(boolean[], boolean[]) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(boolean[], boolean[], String) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(boolean, boolean) - Static method in class org.testng.Assert
Asserts that two booleans are equal.
assertEquals(boolean, boolean) - Static method in class org.testng.AssertJUnit
Asserts that two booleans are equal.
assertEquals(boolean, boolean) - Method in class org.testng.asserts.Assertion
 
assertEquals(boolean, boolean, String) - Static method in class org.testng.Assert
Asserts that two booleans are equal.
assertEquals(boolean, boolean, String) - Method in class org.testng.asserts.Assertion
 
assertEquals(boolean, Boolean) - Static method in class org.testng.Assert
Asserts that two booleans are equal.
assertEquals(boolean, Boolean, String) - Static method in class org.testng.Assert
Asserts that two booleans are equal.
assertEquals(byte[], byte[]) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(byte[], byte[]) - Static method in class org.testng.AssertJUnit
 
assertEquals(byte[], byte[]) - Method in class org.testng.asserts.Assertion
 
assertEquals(byte[], byte[], String) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(byte[], byte[], String) - Method in class org.testng.asserts.Assertion
 
assertEquals(byte, byte) - Static method in class org.testng.Assert
Asserts that two bytes are equal.
assertEquals(byte, byte) - Static method in class org.testng.AssertJUnit
Asserts that two bytes are equal.
assertEquals(byte, byte) - Method in class org.testng.asserts.Assertion
 
assertEquals(byte, byte, String) - Static method in class org.testng.Assert
Asserts that two bytes are equal.
assertEquals(byte, byte, String) - Method in class org.testng.asserts.Assertion
 
assertEquals(byte, Byte) - Static method in class org.testng.Assert
Asserts that two bytes are equal.
assertEquals(byte, Byte, String) - Static method in class org.testng.Assert
Asserts that two bytes are equal.
assertEquals(char[], char[]) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(char[], char[], String) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(char, char) - Static method in class org.testng.Assert
Asserts that two chars are equal.
assertEquals(char, char) - Static method in class org.testng.AssertJUnit
Asserts that two chars are equal.
assertEquals(char, char) - Method in class org.testng.asserts.Assertion
 
assertEquals(char, char, String) - Static method in class org.testng.Assert
Asserts that two chars are equal.
assertEquals(char, char, String) - Method in class org.testng.asserts.Assertion
 
assertEquals(char, Character) - Static method in class org.testng.Assert
Asserts that two chars are equal.
assertEquals(char, Character, String) - Static method in class org.testng.Assert
Asserts that two chars are equal.
assertEquals(double[], double[]) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(double[], double[], double) - Static method in class org.testng.Assert
Asserts that two arrays contain the equal elements concerning a delta in the same order.
assertEquals(double[], double[], double, String) - Static method in class org.testng.Assert
Asserts that two arrays contain the equal elements concerning a delta in the same order.
assertEquals(double[], double[], String) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(double, double) - Static method in class org.testng.Assert
Asserts that two doubles are equal.
assertEquals(double, double, double) - Static method in class org.testng.Assert
Asserts that two doubles are equal concerning a delta.
assertEquals(double, double, double) - Static method in class org.testng.AssertJUnit
Asserts that two doubles are equal concerning a delta.
assertEquals(double, double, double) - Method in class org.testng.asserts.Assertion
 
assertEquals(double, double, double, String) - Static method in class org.testng.Assert
Asserts that two doubles are equal concerning a delta.
assertEquals(double, double, double, String) - Method in class org.testng.asserts.Assertion
 
assertEquals(double, double, String) - Static method in class org.testng.Assert
Asserts that two doubles are equal.
assertEquals(double, Double) - Static method in class org.testng.Assert
Asserts that two doubles are equal.
assertEquals(double, Double, String) - Static method in class org.testng.Assert
Asserts that two doubles are equal.
assertEquals(float[], float[]) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(float[], float[], float) - Static method in class org.testng.Assert
Asserts that two arrays contain the equal elements concerning a delta in the same order.
assertEquals(float[], float[], float, String) - Static method in class org.testng.Assert
Asserts that two arrays contain the equal elements concerning a delta in the same order.
assertEquals(float[], float[], String) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(float, float) - Static method in class org.testng.Assert
Asserts that two floats are equal.
assertEquals(float, float, float) - Static method in class org.testng.Assert
Asserts that two floats are equal concerning a delta.
assertEquals(float, float, float) - Static method in class org.testng.AssertJUnit
Asserts that two floats are equal concerning a delta.
assertEquals(float, float, float) - Method in class org.testng.asserts.Assertion
 
assertEquals(float, float, float, String) - Static method in class org.testng.Assert
Asserts that two floats are equal concerning a delta.
assertEquals(float, float, float, String) - Method in class org.testng.asserts.Assertion
 
assertEquals(float, float, String) - Static method in class org.testng.Assert
Asserts that two floats are equal.
assertEquals(float, Float) - Static method in class org.testng.Assert
Asserts that two floats are equal.
assertEquals(float, Float, String) - Static method in class org.testng.Assert
Asserts that two floats are equal.
assertEquals(int[], int[]) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(int[], int[], String) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(int, int) - Static method in class org.testng.Assert
Asserts that two ints are equal.
assertEquals(int, int) - Static method in class org.testng.AssertJUnit
Asserts that two ints are equal.
assertEquals(int, int) - Method in class org.testng.asserts.Assertion
 
assertEquals(int, int, String) - Static method in class org.testng.Assert
Asserts that two ints are equal.
assertEquals(int, int, String) - Method in class org.testng.asserts.Assertion
 
assertEquals(int, Integer) - Static method in class org.testng.Assert
Asserts that two ints are equal.
assertEquals(int, Integer, String) - Static method in class org.testng.Assert
Asserts that two ints are equal.
assertEquals(long[], long[]) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(long[], long[], String) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(long, long) - Static method in class org.testng.Assert
Asserts that two longs are equal.
assertEquals(long, long) - Static method in class org.testng.AssertJUnit
Asserts that two longs are equal.
assertEquals(long, long) - Method in class org.testng.asserts.Assertion
 
assertEquals(long, long, String) - Static method in class org.testng.Assert
Asserts that two longs are equal.
assertEquals(long, long, String) - Method in class org.testng.asserts.Assertion
 
assertEquals(long, Long) - Static method in class org.testng.Assert
Asserts that two longs are equal.
assertEquals(short[], short[]) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(short[], short[], String) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(short, short) - Static method in class org.testng.Assert
Asserts that two shorts are equal.
assertEquals(short, short) - Static method in class org.testng.AssertJUnit
Asserts that two shorts are equal.
assertEquals(short, short) - Method in class org.testng.asserts.Assertion
 
assertEquals(short, short, String) - Static method in class org.testng.Assert
Asserts that two shorts are equal.
assertEquals(short, short, String) - Method in class org.testng.asserts.Assertion
 
assertEquals(short, Short) - Static method in class org.testng.Assert
Asserts that two shorts are equal.
assertEquals(short, Short, String) - Static method in class org.testng.Assert
Asserts that two shorts are equal.
assertEquals(Boolean, boolean) - Static method in class org.testng.Assert
Asserts that two booleans are equal.
assertEquals(Boolean, boolean, String) - Static method in class org.testng.Assert
Asserts that two booleans are equal.
assertEquals(Boolean, Boolean) - Static method in class org.testng.Assert
Asserts that two booleans are equal.
assertEquals(Boolean, Boolean, String) - Static method in class org.testng.Assert
Asserts that two booleans are equal.
assertEquals(Byte, byte) - Static method in class org.testng.Assert
Asserts that two bytes are equal.
assertEquals(Byte, byte, String) - Static method in class org.testng.Assert
Asserts that two bytes are equal.
assertEquals(Byte, Byte) - Static method in class org.testng.Assert
Asserts that two bytes are equal.
assertEquals(Byte, Byte, String) - Static method in class org.testng.Assert
Asserts that two bytes are equal.
assertEquals(Character, char) - Static method in class org.testng.Assert
Asserts that two chars are equal.
assertEquals(Character, char, String) - Static method in class org.testng.Assert
Asserts that two chars are equal.
assertEquals(Character, Character) - Static method in class org.testng.Assert
Asserts that two chars are equal.
assertEquals(Character, Character, String) - Static method in class org.testng.Assert
Asserts that two chars are equal.
assertEquals(Double, double) - Static method in class org.testng.Assert
Asserts that two doubles are equal.
assertEquals(Double, double, String) - Static method in class org.testng.Assert
Asserts that two doubles are equal.
assertEquals(Double, Double) - Static method in class org.testng.Assert
Asserts that two doubles are equal.
assertEquals(Double, Double, String) - Static method in class org.testng.Assert
Asserts that two doubles are equal.
assertEquals(Float, float) - Static method in class org.testng.Assert
Asserts that two floats are equal.
assertEquals(Float, float, String) - Static method in class org.testng.Assert
Asserts that two floats are equal.
assertEquals(Float, Float) - Static method in class org.testng.Assert
Asserts that two floats are equal.
assertEquals(Float, Float, String) - Static method in class org.testng.Assert
Asserts that two floats are equal.
assertEquals(Integer, int) - Static method in class org.testng.Assert
Asserts that two ints are equal.
assertEquals(Integer, int, String) - Static method in class org.testng.Assert
Asserts that two ints are equal.
assertEquals(Integer, Integer) - Static method in class org.testng.Assert
Asserts that two ints are equal.
assertEquals(Integer, Integer, String) - Static method in class org.testng.Assert
Asserts that two ints are equal.
assertEquals(Iterable<?>, Iterable<?>) - Static method in class org.testng.Assert
Asserts that two iterables return iterators with the same elements in the same order.
assertEquals(Iterable<?>, Iterable<?>, String) - Static method in class org.testng.Assert
Asserts that two iterables return iterators with the same elements in the same order.
assertEquals(Long, long) - Static method in class org.testng.Assert
Asserts that two longs are equal.
assertEquals(Long, long, String) - Static method in class org.testng.Assert
Asserts that two longs are equal.
assertEquals(Long, Long) - Static method in class org.testng.Assert
Asserts that two longs are equal.
assertEquals(Long, Long, String) - Static method in class org.testng.Assert
Asserts that two longs are equal.
assertEquals(Object[], Object[]) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(Object[], Object[]) - Method in class org.testng.asserts.Assertion
 
assertEquals(Object[], Object[], String) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(Object[], Object[], String) - Method in class org.testng.asserts.Assertion
 
assertEquals(Object, Object) - Static method in class org.testng.Assert
Asserts that two objects are equal.
assertEquals(Object, Object) - Static method in class org.testng.AssertJUnit
Asserts that two objects are equal.
assertEquals(Object, Object, String) - Static method in class org.testng.Assert
Asserts that two objects are equal.
assertEquals(Short, short) - Static method in class org.testng.Assert
Asserts that two shorts are equal.
assertEquals(Short, short, String) - Static method in class org.testng.Assert
Asserts that two shorts are equal.
assertEquals(Short, Short) - Static method in class org.testng.Assert
Asserts that two shorts are equal.
assertEquals(Short, Short, String) - Static method in class org.testng.Assert
Asserts that two shorts are equal.
assertEquals(String, boolean, boolean) - Static method in class org.testng.AssertJUnit
Asserts that two booleans are equal.
assertEquals(String, byte[], byte[]) - Static method in class org.testng.AssertJUnit
 
assertEquals(String, byte, byte) - Static method in class org.testng.AssertJUnit
Asserts that two bytes are equal.
assertEquals(String, char, char) - Static method in class org.testng.AssertJUnit
Asserts that two chars are equal.
assertEquals(String, double, double, double) - Static method in class org.testng.AssertJUnit
Asserts that two doubles are equal concerning a delta.
assertEquals(String, float, float, float) - Static method in class org.testng.AssertJUnit
Asserts that two floats are equal concerning a delta.
assertEquals(String, int, int) - Static method in class org.testng.AssertJUnit
Asserts that two ints are equal.
assertEquals(String, long, long) - Static method in class org.testng.AssertJUnit
Asserts that two longs are equal.
assertEquals(String, short, short) - Static method in class org.testng.AssertJUnit
Asserts that two shorts are equal.
assertEquals(String, Object, Object) - Static method in class org.testng.AssertJUnit
Asserts that two objects are equal.
assertEquals(String, String) - Static method in class org.testng.Assert
Asserts that two Strings are equal.
assertEquals(String, String) - Static method in class org.testng.AssertJUnit
Asserts that two Strings are equal.
assertEquals(String, String) - Method in class org.testng.asserts.Assertion
 
assertEquals(String, String, String) - Static method in class org.testng.Assert
Asserts that two Strings are equal.
assertEquals(String, String, String) - Static method in class org.testng.AssertJUnit
Asserts that two Strings are equal.
assertEquals(String, String, String) - Method in class org.testng.asserts.Assertion
 
assertEquals(Collection<?>, Collection<?>) - Static method in class org.testng.Assert
Asserts that two collections contain the same elements in the same order.
assertEquals(Collection<?>, Collection<?>) - Method in class org.testng.asserts.Assertion
 
assertEquals(Collection<?>, Collection<?>, String) - Static method in class org.testng.Assert
Asserts that two collections contain the same elements in the same order.
assertEquals(Collection<?>, Collection<?>, String) - Method in class org.testng.asserts.Assertion
 
assertEquals(Iterator<?>, Iterator<?>) - Static method in class org.testng.Assert
Asserts that two iterators return the same elements in the same order.
assertEquals(Iterator<?>, Iterator<?>, String) - Static method in class org.testng.Assert
Asserts that two iterators return the same elements in the same order.
assertEquals(Map<?, ?>, Map<?, ?>) - Static method in class org.testng.Assert
 
assertEquals(Map<?, ?>, Map<?, ?>) - Method in class org.testng.asserts.Assertion
 
assertEquals(Map<?, ?>, Map<?, ?>, String) - Static method in class org.testng.Assert
Asserts that two maps are equal.
assertEquals(Set<?>, Set<?>) - Static method in class org.testng.Assert
Asserts that two sets are equal.
assertEquals(Set<?>, Set<?>) - Method in class org.testng.asserts.Assertion
 
assertEquals(Set<?>, Set<?>, String) - Static method in class org.testng.Assert
Assert set equals
assertEquals(Set<?>, Set<?>, String) - Method in class org.testng.asserts.Assertion
 
assertEquals(T, T) - Method in class org.testng.asserts.Assertion
 
assertEquals(T, T, String) - Method in class org.testng.asserts.Assertion
 
assertEqualsDeep(Map<?, ?>, Map<?, ?>) - Static method in class org.testng.Assert
 
assertEqualsDeep(Map<?, ?>, Map<?, ?>, String) - Static method in class org.testng.Assert
 
assertEqualsDeep(Set<?>, Set<?>, String) - Static method in class org.testng.Assert
 
assertEqualsNoOrder(Object[], Object[]) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in no particular order.
assertEqualsNoOrder(Object[], Object[]) - Method in class org.testng.asserts.Assertion
 
assertEqualsNoOrder(Object[], Object[], String) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in no particular order.
assertEqualsNoOrder(Object[], Object[], String) - Method in class org.testng.asserts.Assertion
 
assertEqualsNoOrder(Collection<?>, Collection<?>) - Static method in class org.testng.Assert
Asserts that two collection contain the same elements in no particular order.
assertEqualsNoOrder(Collection<?>, Collection<?>, String) - Static method in class org.testng.Assert
Asserts that two collection contain the same elements in no particular order.
assertEqualsNoOrder(Iterator<?>, Iterator<?>) - Static method in class org.testng.Assert
Asserts that two iterators contain the same elements in no particular order.
assertEqualsNoOrder(Iterator<?>, Iterator<?>, String) - Static method in class org.testng.Assert
Asserts that two iterators contain the same elements in no particular order.
assertFalse(boolean) - Static method in class org.testng.Assert
Asserts that a condition is false.
assertFalse(boolean) - Static method in class org.testng.AssertJUnit
Asserts that a condition is false.
assertFalse(boolean) - Method in class org.testng.asserts.Assertion
 
assertFalse(boolean, String) - Static method in class org.testng.Assert
Asserts that a condition is false.
assertFalse(boolean, String) - Method in class org.testng.asserts.Assertion
 
assertFalse(String, boolean) - Static method in class org.testng.AssertJUnit
Asserts that a condition is false.
assertFile(File) - Static method in class org.testng.FileAssert
 
assertFile(File, String) - Static method in class org.testng.FileAssert
Asserts that a tstvalue is a proper file.
Assertion - Class in org.testng.asserts
An assert class with various hooks allowing its behavior to be modified by subclasses.
Assertion() - Constructor for class org.testng.asserts.Assertion
 
AssertJUnit - Class in org.testng
A set of assert methods.
AssertJUnit() - Constructor for class org.testng.AssertJUnit
Protect constructor since it is a static only class
assertLength(File, long) - Static method in class org.testng.FileAssert
 
assertLength(File, long, String) - Static method in class org.testng.FileAssert
Asserts that a tstvalue is a file of exactly expected characters or a directory of exactly expected entries.
assertListContains(List<T>, Predicate<T>, String) - Static method in class org.testng.Assert
Asserts that List contains object by specific Predicate.
assertListContainsObject(List<T>, T, String) - Static method in class org.testng.Assert
Asserts that List contains object.
assertListNotContains(List<T>, Predicate<T>, String) - Static method in class org.testng.Assert
Asserts that List not contains object by specific Predicate.
assertListNotContainsObject(List<T>, T, String) - Static method in class org.testng.Assert
Asserts that List not contains object.
assertMaxLength(File, long) - Static method in class org.testng.FileAssert
 
assertMaxLength(File, long, String) - Static method in class org.testng.FileAssert
Asserts that a tstvalue is a file of at most expected characters or a directory of at most expected entries.
assertMinLength(File, long) - Static method in class org.testng.FileAssert
 
assertMinLength(File, long, String) - Static method in class org.testng.FileAssert
Asserts that a tstvalue is a file of at least expected characters or a directory of at least expected entries.
assertNotEquals(boolean, boolean) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(boolean, boolean, String) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(byte, byte) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(byte, byte, String) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(char, char) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(char, char, String) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(double, double, double) - Static method in class org.testng.Assert
 
assertNotEquals(double, double, double) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(double, double, double, String) - Static method in class org.testng.Assert
 
assertNotEquals(double, double, double, String) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(float, float, float) - Static method in class org.testng.Assert
 
assertNotEquals(float, float, float) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(float, float, float, String) - Static method in class org.testng.Assert
 
assertNotEquals(float, float, float, String) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(int, int) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(int, int, String) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(long, long) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(long, long, String) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(short, short) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(short, short, String) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(Object[], Object[], String) - Static method in class org.testng.Assert
 
assertNotEquals(Object, Object) - Static method in class org.testng.Assert
 
assertNotEquals(Object, Object) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(Object, Object, String) - Static method in class org.testng.Assert
 
assertNotEquals(Object, Object, String) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(String, String) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(String, String, String) - Method in class org.testng.asserts.Assertion
 
assertNotEquals(Collection<?>, Collection<?>) - Static method in class org.testng.Assert
 
assertNotEquals(Collection<?>, Collection<?>, String) - Static method in class org.testng.Assert
 
assertNotEquals(Iterator<?>, Iterator<?>) - Static method in class org.testng.Assert
 
assertNotEquals(Iterator<?>, Iterator<?>, String) - Static method in class org.testng.Assert
 
assertNotEquals(Map<?, ?>, Map<?, ?>) - Static method in class org.testng.Assert
 
assertNotEquals(Map<?, ?>, Map<?, ?>, String) - Static method in class org.testng.Assert
 
assertNotEquals(Set<?>, Set<?>) - Static method in class org.testng.Assert
 
assertNotEquals(Set<?>, Set<?>, String) - Static method in class org.testng.Assert
 
assertNotEqualsDeep(Map<?, ?>, Map<?, ?>) - Static method in class org.testng.Assert
 
assertNotEqualsDeep(Map<?, ?>, Map<?, ?>, String) - Static method in class org.testng.Assert
 
assertNotEqualsDeep(Set<?>, Set<?>) - Static method in class org.testng.Assert
 
assertNotEqualsDeep(Set<?>, Set<?>, String) - Static method in class org.testng.Assert
 
assertNotNull(Object) - Static method in class org.testng.Assert
Asserts that an object isn't null.
assertNotNull(Object) - Static method in class org.testng.AssertJUnit
Asserts that an object isn't null.
assertNotNull(Object) - Method in class org.testng.asserts.Assertion
 
assertNotNull(Object, String) - Static method in class org.testng.Assert
Asserts that an object isn't null.
assertNotNull(Object, String) - Method in class org.testng.asserts.Assertion
 
assertNotNull(String, Object) - Static method in class org.testng.AssertJUnit
Asserts that an object isn't null.
assertNotSame(Object, Object) - Static method in class org.testng.Assert
Asserts that two objects do not refer to the same object.
assertNotSame(Object, Object) - Static method in class org.testng.AssertJUnit
Asserts that two objects refer to the same object.
assertNotSame(Object, Object) - Method in class org.testng.asserts.Assertion
 
assertNotSame(Object, Object, String) - Static method in class org.testng.Assert
Asserts that two objects do not refer to the same objects.
assertNotSame(Object, Object, String) - Method in class org.testng.asserts.Assertion
 
assertNotSame(String, Object, Object) - Static method in class org.testng.AssertJUnit
Asserts that two objects refer to the same object.
assertNull(Object) - Static method in class org.testng.Assert
Asserts that an object is null.
assertNull(Object) - Static method in class org.testng.AssertJUnit
Asserts that an object is null.
assertNull(Object) - Method in class org.testng.asserts.Assertion
 
assertNull(Object, String) - Static method in class org.testng.Assert
Asserts that an object is null.
assertNull(Object, String) - Method in class org.testng.asserts.Assertion
 
assertNull(String, Object) - Static method in class org.testng.AssertJUnit
Asserts that an object is null.
assertReadable(File) - Static method in class org.testng.FileAssert
 
assertReadable(File, String) - Static method in class org.testng.FileAssert
Asserts that a tstvalue is readable.
assertReadWrite(File) - Static method in class org.testng.FileAssert
 
assertReadWrite(File, String) - Static method in class org.testng.FileAssert
Asserts that a tstvalue is readable and writeable.
assertSame(Object, Object) - Static method in class org.testng.Assert
Asserts that two objects refer to the same object.
assertSame(Object, Object) - Static method in class org.testng.AssertJUnit
Asserts that two objects refer to the same object.
assertSame(Object, Object) - Method in class org.testng.asserts.Assertion
 
assertSame(Object, Object, String) - Static method in class org.testng.Assert
Asserts that two objects refer to the same object.
assertSame(Object, Object, String) - Method in class org.testng.asserts.Assertion
 
assertSame(String, Object, Object) - Static method in class org.testng.AssertJUnit
Asserts that two objects refer to the same object.
assertThrows(Class<T>, Assert.ThrowingRunnable) - Static method in class org.testng.Assert
Asserts that runnable throws an exception of type throwableClass when executed.
assertThrows(String, Class<T>, Assert.ThrowingRunnable) - Static method in class org.testng.Assert
Asserts that runnable throws an exception of type throwableClass when executed.
assertThrows(Assert.ThrowingRunnable) - Static method in class org.testng.Assert
Asserts that runnable throws an exception when invoked.
assertTrue(boolean) - Static method in class org.testng.Assert
Asserts that a condition is true.
assertTrue(boolean) - Static method in class org.testng.AssertJUnit
Asserts that a condition is true.
assertTrue(boolean) - Method in class org.testng.asserts.Assertion
 
assertTrue(boolean, String) - Static method in class org.testng.Assert
Asserts that a condition is true.
assertTrue(boolean, String) - Method in class org.testng.asserts.Assertion
 
assertTrue(String, boolean) - Static method in class org.testng.AssertJUnit
Asserts that a condition is true.
assertWriteable(File) - Static method in class org.testng.FileAssert
 
assertWriteable(File, String) - Static method in class org.testng.FileAssert
Asserts that a tstvalue is writeable.
asXml(XmlSuite) - Method in interface org.testng.xml.IWeaveXml
Helps represent the contents of XmlSuite as a String.
asXml(XmlTest, String) - Method in interface org.testng.xml.IWeaveXml
Helps represent the contents of XmlTest as a String.
ATTR_CLASS - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_CLASSNAME - Static variable in interface org.testng.reporters.XMLConstants
classname attribute for testcase elements
ATTR_DATA_PROVIDER - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_DEPENDS_ON_GROUPS - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_DEPENDS_ON_METHODS - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_DESC - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_DURATION_MS - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_ERRORS - Static variable in interface org.testng.reporters.XMLConstants
errors attribute for testsuite elements
ATTR_FAILURES - Static variable in interface org.testng.reporters.XMLConstants
failures attribute for testsuite elements
ATTR_FINISHED_AT - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_GROUPS - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_HOSTNAME - Static variable in interface org.testng.reporters.XMLConstants
 
ATTR_IGNORED - Static variable in interface org.testng.reporters.XMLConstants
ignored attribute for testsuite elements
ATTR_INDEX - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_IS_CONFIG - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_IS_NULL - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_MESSAGE - Static variable in interface org.testng.reporters.XMLConstants
message attribute for failure elements
ATTR_METHOD_SIG - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_NAME - Static variable in interface org.testng.reporters.XMLConstants
name attribute for property, testcase and testsuite elements
ATTR_NAME - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_PACKAGE - Static variable in interface org.testng.reporters.XMLConstants
package attribute for the aggregate document
ATTR_PACKAGE - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_RETRIED - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_STARTED_AT - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_STATUS - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_TEST_INSTANCE_NAME - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_TESTS - Static variable in interface org.testng.reporters.XMLConstants
tests attribute for testsuite elements
ATTR_TIME - Static variable in interface org.testng.reporters.XMLConstants
time attribute for testcase and testsuite elements
ATTR_TIMESTAMP - Static variable in interface org.testng.reporters.XMLConstants
 
ATTR_TYPE - Static variable in interface org.testng.reporters.XMLConstants
type attribute for failure and error elements
ATTR_URL - Static variable in class org.testng.reporters.XMLReporterConfig
 
ATTR_VALUE - Static variable in interface org.testng.reporters.XMLConstants
value attribute for property elements
attributes() - Method in annotation type org.testng.annotations.Test
 

B

B - Static variable in class org.testng.reporters.jq.BasePanel
 
BannerPanel - Class in org.testng.reporters.jq
 
BannerPanel(Model) - Constructor for class org.testng.reporters.jq.BannerPanel
 
BaseMultiSuitePanel - Class in org.testng.reporters.jq
 
BaseMultiSuitePanel(Model) - Constructor for class org.testng.reporters.jq.BaseMultiSuitePanel
 
BasePanel - Class in org.testng.reporters.jq
 
BasePanel(Model) - Constructor for class org.testng.reporters.jq.BasePanel
 
BEFORE - Static variable in class org.testng.reporters.SuiteHTMLReporter
Deprecated.
 
BeforeClass - Annotation Type in org.testng.annotations
 
beforeConfiguration(ITestResult) - Method in interface org.testng.IConfigurationListener
Invoked before a configuration method is invoked.
beforeConfiguration(ITestResult) - Method in class org.testng.reporters.ExitCodeListener
 
beforeConfiguration(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
 
beforeConfiguration(ITestResult) - Method in class org.testng.reporters.VerboseReporter
 
beforeConfiguration(ITestResult) - Method in class org.testng.TestListenerAdapter
 
beforeConfiguration(ITestResult, ITestNGMethod) - Method in interface org.testng.IConfigurationListener
Invoked before a configuration method is invoked.
beforeDataProviderExecution(IDataProviderMethod, ITestNGMethod, ITestContext) - Method in interface org.testng.IDataProviderListener
This method gets invoked just before a data provider is invoked.
BeforeGroups - Annotation Type in org.testng.annotations
 
beforeInvocation(IInvokedMethod, ITestResult) - Method in interface org.testng.IInvokedMethodListener
 
beforeInvocation(IInvokedMethod, ITestResult) - Method in interface org.testng.ISuiteRunnerListener
 
beforeInvocation(IInvokedMethod, ITestResult) - Method in class org.testng.SuiteRunner
 
beforeInvocation(IInvokedMethod, ITestResult, ITestContext) - Method in interface org.testng.IInvokedMethodListener
To be implemented if the method needs a handle to contextual information.
BeforeMethod - Annotation Type in org.testng.annotations
 
BeforeSuite - Annotation Type in org.testng.annotations
 
BeforeTest - Annotation Type in org.testng.annotations
 
BOTH - org.testng.reporters.XMLReporterConfig.StackTraceLevels
Write both types of stacktrace
Buffer - Class in org.testng.reporters
 
Buffer() - Constructor for class org.testng.reporters.Buffer
 
build() - Method in class org.testng.reporters.AbstractXmlReporter.Count.Builder
 
builder() - Static method in class org.testng.reporters.AbstractXmlReporter.Count.Builder
 

C

C - Static variable in class org.testng.reporters.jq.BasePanel
 
canParse(String) - Static method in class org.testng.xml.internal.Parser
 
canRunFromClass(IClass) - Method in interface org.testng.ITestNGMethod
 
characters(char[], int, int) - Method in class org.testng.xml.TestNGContentHandler
 
ChronologicalPanel - Class in org.testng.reporters.jq
 
ChronologicalPanel(Model) - Constructor for class org.testng.reporters.jq.ChronologicalPanel
 
CLASSES - org.testng.xml.XmlSuite.ParallelMode
 
CLASSES - Static variable in class org.testng.reporters.SuiteHTMLReporter
Deprecated.
 
ClassMethodMap - Class in org.testng
This class maintains a map of <Class, List<ITestNGMethod>>.
ClassMethodMap(List<ITestNGMethod>, XmlMethodSelector) - Constructor for class org.testng.ClassMethodMap
 
ClassResult(String, List<EmailableReporter2.MethodResult>) - Constructor for class org.testng.reporters.EmailableReporter2.ClassResult
 
clear() - Method in class org.testng.ClassMethodMap
 
clear() - Static method in class org.testng.Reporter
Erase the content of all the output generated so far.
clone() - Method in interface org.testng.ITestNGMethod
 
clone() - Method in class org.testng.junit.JUnitTestMethod
Deprecated.
 
clone() - Method in class org.testng.xml.XmlClass
Clone an XmlClass by copying all its components.
clone() - Method in class org.testng.xml.XmlSuite
Note that this is not a full clone: XmlTest children are not cloned by this method.
clone() - Method in class org.testng.xml.XmlTest
Clone the source XmlTest by including: - test attributes - groups definitions - parameters
CollectionUtils - Class in org.testng.collections
 
CommandLineArgs - Class in org.testng
 
CommandLineArgs() - Constructor for class org.testng.CommandLineArgs
 
commandLineMethods - Variable in class org.testng.CommandLineArgs
 
compareTo(IWorker<ISuite>) - Method in class org.testng.SuiteRunnerWorker
 
completed() - Method in interface org.testng.thread.IWorker
 
computeAndShowTime(String, TimeUtils.Task) - Static method in class org.testng.util.TimeUtils
Helper method that can be used to compute the time.
computeCountForSuite(ISuite) - Method in class org.testng.reporters.AbstractXmlReporter
 
CONFIG_FAILURE_POLICY - Static variable in class org.testng.CommandLineArgs
 
configFailurePolicy - Variable in class org.testng.CommandLineArgs
 
ConfigurationNotInvokedException - Exception in org.testng
Represents an exception that is thrown when a configuration method is not invoked.
ConfigurationNotInvokedException(ITestNGMethod) - Constructor for exception org.testng.ConfigurationNotInvokedException
 
configure(Map) - Method in class org.testng.TestNG
Deprecated.
use new configure(CommandLineArgs) method
configure(CommandLineArgs) - Method in class org.testng.TestNG
Configure the TestNG instance based on the command line parameters.
consumeDotDefinition(String) - Method in interface org.testng.IExecutionVisualiser
 
containsKey(K) - Method in class org.testng.collections.MultiMap
 
CONTINUE - org.testng.xml.XmlSuite.FailurePolicy
 
ConversionUtils - Class in org.testng
Deprecated.
ConversionUtils() - Constructor for class org.testng.ConversionUtils
Deprecated.
 
Converter - Class in org.testng
Convert XML files to YAML and vice versa.
Converter() - Constructor for class org.testng.Converter
 
create() - Static method in class org.testng.reporters.Buffer
 
createArguments() - Method in class org.testng.TestNGAntTask
 
createBootclasspath() - Method in class org.testng.TestNGAntTask
Adds a path to the bootclasspath.
createClasspath() - Method in class org.testng.TestNGAntTask
Adds path to classpath used for tests.
CREATED - Static variable in interface org.testng.ITestResult
 
createITestNGMethod(ITestNGMethod, Method) - Static method in class org.testng.TestNGUtils
Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs to belong to the same class.
createJvmarg() - Method in class org.testng.TestNGAntTask
 
createListener(Class<? extends ITestNGListener>) - Method in interface org.testng.ITestNGListenerFactory
Create and return an instance of the listener class passed in parameter.
createModule(ITestContext, Class<?>) - Method in interface org.testng.IModuleFactory
 
createProxiedXmlSuite(File) - Static method in class org.testng.xml.SuiteGenerator
 
createSuite(String, Collection<String>, Map<String, Collection<String>>, Collection<String>, Map<String, String>, String, int) - Static method in class org.testng.xml.SuiteGenerator
 
createTestResult() - Method in class org.testng.junit.JUnitTestRunner
Deprecated.
Creates the TestResult to be used for the test run.
createTestRunner(ITestObjectFactory, ITestResultNotifier) - Static method in interface org.testng.junit.IJUnitTestRunner
Deprecated.
 
createValue() - Method in class org.testng.collections.ListMultiMap
 
createValue() - Method in class org.testng.collections.MultiMap
 
createValue() - Method in class org.testng.collections.SetMultiMap
 
createWatchdog() - Method in class org.testng.TestNGAntTask
 
createWorkers(List<ITestNGMethod>) - Method in class org.testng.TestRunner
Create a list of workers to run the methods passed in parameter.
createWorkers(List<T>) - Method in interface org.testng.thread.IThreadWorkerFactory
Creates IWorker for specified set of tasks.
createWriter(String) - Method in class org.testng.reporters.EmailableReporter
Deprecated.
 
createWriter(String) - Method in class org.testng.reporters.EmailableReporter2
 
CustomAttribute - Annotation Type in org.testng.annotations
Represents a means to add in custom attributes to @Test annotated tests.

D

D - Static variable in class org.testng.reporters.jq.BasePanel
 
DATA_PROVIDER_THREAD_COUNT - Static variable in class org.testng.CommandLineArgs
 
dataProvider() - Method in annotation type org.testng.annotations.Factory
The name of the data provider for this test method.
dataProvider() - Method in annotation type org.testng.annotations.Test
The name of the data provider for this test method.
DataProvider - Annotation Type in org.testng.annotations
Mark a method as supplying data for a test method.
dataProviderClass() - Method in annotation type org.testng.annotations.Factory
The class where to look for the data provider.
dataProviderClass() - Method in annotation type org.testng.annotations.Test
The class where to look for the data provider.
dataProviderDynamicClass() - Method in annotation type org.testng.annotations.Test
 
DataProviderHolder - Class in org.testng
A holder class that is aimed at acting as a container for holding various different aspects of a data provider such as listeners/interceptors etc.,
DataProviderHolder() - Constructor for class org.testng.DataProviderHolder
 
DataProviderInvocationException - Exception in org.testng
Deprecated.
- This class stands deprecated as of 7.8.0
DataProviderInvocationException(String, Throwable) - Constructor for exception org.testng.DataProviderInvocationException
Deprecated.
 
dataProviderThreadCount - Variable in class org.testng.CommandLineArgs
 
debug - Variable in class org.testng.CommandLineArgs
 
debug(Object) - Method in class org.testng.log4testng.Logger
Log a message object with the DEBUG level.
debug(Object, Throwable) - Method in class org.testng.log4testng.Logger
Log a message object with the DEBUG level including the stack trace of the Throwable t passed as parameter.
DEBUG - Static variable in class org.testng.CommandLineArgs
 
DEFAULT_ALLOW_RETURN_VALUES - Static variable in class org.testng.xml.XmlSuite
 
DEFAULT_COMMAND_LINE_SUITE_NAME - Static variable in class org.testng.TestNG
The default name for a suite launched from the command line
DEFAULT_COMMAND_LINE_TEST_NAME - Static variable in class org.testng.TestNG
The default name for a test launched from the command line
DEFAULT_CONFIG_FAILURE_POLICY - Static variable in class org.testng.xml.XmlSuite
Whether to SKIP or CONTINUE to re-attempt failed configuration methods.
DEFAULT_DATA_PROVIDER_THREAD_COUNT - Static variable in class org.testng.xml.XmlSuite
Thread count for the data provider pool.
DEFAULT_FILENAME - Static variable in class org.testng.xml.internal.Parser
The default file name for the TestNG test suite if none is specified (testng.xml).
DEFAULT_GROUP_BY_INSTANCES - Static variable in class org.testng.xml.XmlSuite
By default, a method failing will cause all instances of that class to skip.
DEFAULT_JUNIT - Static variable in class org.testng.xml.XmlSuite
JUnit compatibility flag.
DEFAULT_MIXED - Static variable in class org.testng.xml.XmlSuite
Mixed mode flag.
DEFAULT_OUTPUTDIR - Static variable in class org.testng.TestNG
The default name of the result's output directory (keep public, used by Eclipse).
DEFAULT_PARALLEL - Static variable in class org.testng.xml.XmlSuite
 
DEFAULT_PRESERVE_ORDER - Static variable in class org.testng.xml.XmlSuite
 
DEFAULT_SKIP_FAILED_INVOCATION_COUNTS - Static variable in class org.testng.xml.XmlSuite
 
DEFAULT_THREAD_COUNT - Static variable in class org.testng.xml.XmlSuite
The thread count.
DEFAULT_TIMEOUT_MS - Static variable in class org.testng.xml.XmlTest
 
DEFAULT_VERBOSE - Static variable in class org.testng.TestNG
 
DEFAULT_VERBOSE - Static variable in class org.testng.xml.XmlSuite
The suite verbose flag (0 to 10).
DEPENDENCY_INJECTOR_FACTORY - Static variable in class org.testng.CommandLineArgs
 
dependencyInjectorFactoryClass - Variable in class org.testng.CommandLineArgs
 
DependencyMap - Class in org.testng
Helper class to keep track of dependencies.
DependencyMap(ITestNGMethod[]) - Constructor for class org.testng.DependencyMap
 
dependsOnGroups - org.testng.TestRunner.PriorityWeight
 
dependsOnGroups() - Method in annotation type org.testng.annotations.AfterClass
The list of groups this method depends on.
dependsOnGroups() - Method in annotation type org.testng.annotations.AfterGroups
The list of groups this method depends on.
dependsOnGroups() - Method in annotation type org.testng.annotations.AfterMethod
The list of groups this method depends on.
dependsOnGroups() - Method in annotation type org.testng.annotations.AfterSuite
The list of groups this method depends on.
dependsOnGroups() - Method in annotation type org.testng.annotations.AfterTest
The list of groups this method depends on.
dependsOnGroups() - Method in annotation type org.testng.annotations.BeforeClass
The list of groups this method depends on.
dependsOnGroups() - Method in annotation type org.testng.annotations.BeforeGroups
The list of groups this method depends on.
dependsOnGroups() - Method in annotation type org.testng.annotations.BeforeMethod
The list of groups this method depends on.
dependsOnGroups() - Method in annotation type org.testng.annotations.BeforeSuite
The list of groups this method depends on.
dependsOnGroups() - Method in annotation type org.testng.annotations.BeforeTest
The list of groups this method depends on.
dependsOnGroups() - Method in annotation type org.testng.annotations.Test
The list of groups this method depends on.
dependsOnMethods - org.testng.TestRunner.PriorityWeight
 
dependsOnMethods() - Method in annotation type org.testng.annotations.AfterClass
The list of methods this method depends on.
dependsOnMethods() - Method in annotation type org.testng.annotations.AfterGroups
The list of methods this method depends on.
dependsOnMethods() - Method in annotation type org.testng.annotations.AfterMethod
The list of methods this method depends on.
dependsOnMethods() - Method in annotation type org.testng.annotations.AfterSuite
The list of methods this method depends on.
dependsOnMethods() - Method in annotation type org.testng.annotations.AfterTest
The list of methods this method depends on.
dependsOnMethods() - Method in annotation type org.testng.annotations.BeforeClass
The list of methods this method depends on.
dependsOnMethods() - Method in annotation type org.testng.annotations.BeforeGroups
The list of methods this method depends on.
dependsOnMethods() - Method in annotation type org.testng.annotations.BeforeMethod
The list of methods this method depends on.
dependsOnMethods() - Method in annotation type org.testng.annotations.BeforeSuite
The list of methods this method depends on.
dependsOnMethods() - Method in annotation type org.testng.annotations.BeforeTest
The list of methods this method depends on.
dependsOnMethods() - Method in annotation type org.testng.annotations.Test
The list of methods this method depends on.
description() - Method in annotation type org.testng.annotations.AfterClass
The description for this method.
description() - Method in annotation type org.testng.annotations.AfterGroups
The description for this method.
description() - Method in annotation type org.testng.annotations.AfterMethod
The description for this method.
description() - Method in annotation type org.testng.annotations.AfterSuite
The description for this method.
description() - Method in annotation type org.testng.annotations.AfterTest
The description for this method.
description() - Method in annotation type org.testng.annotations.BeforeClass
The description for this method.
description() - Method in annotation type org.testng.annotations.BeforeGroups
The description for this method.
description() - Method in annotation type org.testng.annotations.BeforeMethod
The description for this method.
description() - Method in annotation type org.testng.annotations.BeforeSuite
The description for this method.
description() - Method in annotation type org.testng.annotations.BeforeTest
The description for this method.
description() - Method in annotation type org.testng.annotations.Test
The description for this method.
DisableDataProviderRetries() - Constructor for class org.testng.IRetryDataProvider.DisableDataProviderRetries
 
doAssert() - Method in interface org.testng.asserts.IAssert
 
doAssert(IAssert<?>) - Method in class org.testng.asserts.Assertion
 
doAssert(IAssert<?>) - Method in class org.testng.asserts.SoftAssert
 
doRun(Test) - Method in class org.testng.junit.JUnitTestRunner
Deprecated.
 
DotTestListener - Class in org.testng.reporters
 
DotTestListener() - Constructor for class org.testng.reporters.DotTestListener
 
downstreamDependencies() - Method in interface org.testng.ITestNGMethod
 
dumpParameters(XMLStringBuffer, Map<String, String>) - Static method in class org.testng.xml.XmlUtils
 

E

EmailableReporter - Class in org.testng.reporters
Deprecated.
- This reporter is being deprecated in favour of the newer EmailableReporter2
EmailableReporter() - Constructor for class org.testng.reporters.EmailableReporter
Deprecated.
 
EmailableReporter2 - Class in org.testng.reporters
Reporter that generates a single-page HTML report of the test results.
EmailableReporter2() - Constructor for class org.testng.reporters.EmailableReporter2
 
EmailableReporter2.ClassResult - Class in org.testng.reporters
EmailableReporter2.MethodResult - Class in org.testng.reporters
Groups test results by method.
EmailableReporter2.SuiteResult - Class in org.testng.reporters
EmailableReporter2.TestResult - Class in org.testng.reporters
Groups EmailableReporter2.ClassResults by test, type (configuration or test), and status.
enabled() - Method in annotation type org.testng.annotations.AfterClass
Whether methods on this class/method are enabled.
enabled() - Method in annotation type org.testng.annotations.AfterGroups
Whether methods on this class/method are enabled.
enabled() - Method in annotation type org.testng.annotations.AfterMethod
Whether methods on this class/method are enabled.
enabled() - Method in annotation type org.testng.annotations.AfterSuite
Whether methods on this class/method are enabled.
enabled() - Method in annotation type org.testng.annotations.AfterTest
Whether methods on this class/method are enabled.
enabled() - Method in annotation type org.testng.annotations.BeforeClass
Whether methods on this class/method are enabled.
enabled() - Method in annotation type org.testng.annotations.BeforeGroups
Whether methods on this class/method are enabled.
enabled() - Method in annotation type org.testng.annotations.BeforeMethod
Whether methods on this class/method are enabled.
enabled() - Method in annotation type org.testng.annotations.BeforeSuite
Whether methods on this class/method are enabled.
enabled() - Method in annotation type org.testng.annotations.BeforeTest
Whether methods on this class/method are enabled.
enabled() - Method in annotation type org.testng.annotations.Factory
Whether this factory is enabled.
enabled() - Method in annotation type org.testng.annotations.Test
Whether methods on this class/method are enabled.
endElement(String, String, String) - Method in class org.testng.xml.TestNGContentHandler
 
endHtml(PrintWriter) - Method in class org.testng.reporters.EmailableReporter
Deprecated.
 
endTest(Test) - Method in class org.testng.junit.JUnitTestRunner
Deprecated.
 
entrySet() - Method in class org.testng.collections.MultiMap
 
EOL - Static variable in class org.testng.reporters.XMLStringBuffer
End of line, value of 'line.separator' system property or '\n'
equals(Object) - Method in class org.testng.xml.XmlClass
 
equals(Object) - Method in class org.testng.xml.XmlDefine
 
equals(Object) - Method in class org.testng.xml.XmlInclude
 
equals(Object) - Method in class org.testng.xml.XmlMethodSelector
 
equals(Object) - Method in class org.testng.xml.XmlPackage
 
equals(Object) - Method in class org.testng.xml.XmlSuite
 
equals(Object) - Method in class org.testng.xml.XmlTest
 
error(Object) - Method in class org.testng.log4testng.Logger
Log a message object with the ERROR level.
error(Object, Throwable) - Method in class org.testng.log4testng.Logger
Log a message object with the DEBUG level including the stack trace of the Throwable t passed as parameter.
error(SAXParseException) - Method in class org.testng.xml.TestNGContentHandler
 
ERROR - Static variable in interface org.testng.reporters.XMLConstants
the error element
escape(String) - Static method in class org.testng.reporters.XMLUtils
 
escapeHtml(String) - Static method in class org.testng.util.Strings
 
EXCLUDED_GROUPS - Static variable in class org.testng.CommandLineArgs
 
excludedGroups - Variable in class org.testng.CommandLineArgs
 
execute() - Method in class org.testng.TestNGAntTask
Launches TestNG in a new JVM.
execute() - Method in interface org.testng.util.TimeUtils.Task
The actual work to be executed.
executeAsForked(CommandlineJava, ExecuteWatchdog) - Method in class org.testng.TestNGAntTask
Executes the command line as a new process.
executeAssert(IAssert<?>) - Method in class org.testng.asserts.Assertion
Run the assert command in parameter.
executeAssert(IAssert<?>) - Method in interface org.testng.asserts.IAssertLifecycle
Run the assert command in parameter.
ExistingSuite(File) - Constructor for class org.testng.xml.LaunchSuite.ExistingSuite
Constructs a ExistingSuite based on an existing file
ExitCodeListener - Class in org.testng.reporters
A very simple ITestListener used by the TestNG runner to find out the exit code.
ExitCodeListener() - Constructor for class org.testng.reporters.ExitCodeListener
 
ExitCodeListener(TestNG) - Constructor for class org.testng.reporters.ExitCodeListener
 
expectedExceptions() - Method in annotation type org.testng.annotations.Test
The list of exceptions that a test method is expected to throw.
expectedExceptionsMessageRegExp() - Method in annotation type org.testng.annotations.Test
If expectedExceptions was specified, its message must match the regular expression specified in this attribute.
expectThrows(Class<T>, Assert.ThrowingRunnable) - Static method in class org.testng.Assert
Asserts that runnable throws an exception of type throwableClass when executed and returns the exception.
expectThrows(String, Class<T>, Assert.ThrowingRunnable) - Static method in class org.testng.Assert
Asserts that runnable throws an exception of type throwableClass when executed and returns the exception.
extractComment(String, Properties) - Static method in class org.testng.reporters.XMLUtils
 

F

Factory - Annotation Type in org.testng.annotations
Marks a method as a factory that returns objects that will be used by TestNG as Test classes.
fail() - Static method in class org.testng.Assert
Fails a test with no message.
fail() - Static method in class org.testng.AssertJUnit
Fails a test with no message.
fail() - Method in class org.testng.asserts.Assertion
 
fail() - Static method in class org.testng.FileAssert
Fails a test with no message.
fail(String) - Static method in class org.testng.Assert
Fails a test with the given message.
fail(String) - Static method in class org.testng.AssertJUnit
Fails a test with the given message.
fail(String) - Method in class org.testng.asserts.Assertion
 
fail(String) - Static method in class org.testng.FileAssert
Fails a test with the given message.
fail(String, Throwable) - Static method in class org.testng.Assert
Fails a test with the given message and wrapping the original exception.
fail(String, Throwable) - Method in class org.testng.asserts.Assertion
 
fail(String, Throwable) - Static method in class org.testng.FileAssert
Fails a test with the given message and wrapping the original exception.
FAIL_IF_ALL_TESTS_SKIPPED - Static variable in class org.testng.CommandLineArgs
 
failed() - Method in class org.testng.SuiteRunState
 
FailedReporter - Class in org.testng.reporters
This reporter is responsible for creating testng-failed.xml
FailedReporter() - Constructor for class org.testng.reporters.FailedReporter
 
FailedReporter(XmlSuite) - Constructor for class org.testng.reporters.FailedReporter
 
failIfAllTestsSkipped - Variable in class org.testng.CommandLineArgs
 
FAILURE - Static variable in interface org.testng.ITestResult
 
FAILURE - Static variable in interface org.testng.reporters.XMLConstants
the failure element
fatal(Object) - Method in class org.testng.log4testng.Logger
Log a message object with the FATAL level.
fatal(Object, Throwable) - Method in class org.testng.log4testng.Logger
Log a message object with the FATAL level including the stack trace of the Throwable t passed as parameter.
FF_LEVEL_NONE - Static variable in class org.testng.reporters.XMLReporterConfig
Indicates that no file fragmentation should be performed.
FF_LEVEL_SUITE - Static variable in class org.testng.reporters.XMLReporterConfig
Will cause the XML generator to create separate files for each of the suites.
FF_LEVEL_SUITE_RESULT - Static variable in class org.testng.reporters.XMLReporterConfig
It behaves like FF_LEVEL_SUITE, except that it will also create a file for each ISuiteResult
FILE_NAME - Static variable in class org.testng.reporters.RuntimeBehavior
 
FileAssert - Class in org.testng
Assertion tool for File centric assertions.
fileName() - Method in class org.testng.reporters.AbstractXmlReporter
 
Files - Class in org.testng.reporters
 
FileStringBuffer - Class in org.testng.reporters
A string buffer that flushes its content to a temporary file whenever the internal string buffer becomes larger than MAX.
FileStringBuffer() - Constructor for class org.testng.reporters.FileStringBuffer
 
FileStringBuffer(int) - Constructor for class org.testng.reporters.FileStringBuffer
 
finalStatuses() - Static method in interface org.testng.ITestResult
 
findMethodParameters(XmlTest) - Method in interface org.testng.ITestNGMethod
 
findTestClasses() - Method in interface org.testng.ITestClassFinder
 
FINISHED - org.testng.IDynamicGraph.Status
 
firstTimeOnly() - Method in annotation type org.testng.annotations.BeforeMethod
If true and the @Test method about to be run has an invocationCount > 1, this BeforeMethod will only be invoked once (before the first test invocation).
format(LogRecord) - Method in class org.testng.log.TextFormatter
 
formatGroups(String[]) - Method in class org.testng.reporters.EmailableReporter2.TestResult
Formats an array of groups for display.
formatTimeInLocalOrSpecifiedTimeZone(long, String) - Static method in class org.testng.util.TimeUtils
 
FULL - org.testng.reporters.XMLReporterConfig.StackTraceLevels
Write only the full version of the stacktrace

G

generate(XMLStringBuffer) - Method in class org.testng.reporters.jq.BannerPanel
 
generate(XMLStringBuffer) - Method in class org.testng.reporters.jq.BaseMultiSuitePanel
 
generate(XMLStringBuffer) - Method in interface org.testng.reporters.jq.IPanel
 
generate(XMLStringBuffer) - Method in class org.testng.reporters.jq.NavigatorPanel
 
generate(XMLStringBuffer) - Method in class org.testng.reporters.jq.SuitePanel
 
GENERATE_RESULTS_PER_SUITE - Static variable in class org.testng.CommandLineArgs
 
generateExceptionReport(Throwable) - Method in class org.testng.reporters.EmailableReporter
Deprecated.
 
generateFailureSuite(XmlSuite, ISuite, String) - Method in class org.testng.reporters.FailedReporter
 
generateLog(ITestContext, String, String, Collection<ITestResult>, Collection<ITestResult>, Collection<ITestResult>, Collection<ITestResult>, Collection<ITestResult>, Collection<ITestResult>) - Static method in class org.testng.reporters.TestHTMLReporter
 
generateMethodDetailReport(List<ISuite>) - Method in class org.testng.reporters.EmailableReporter
Deprecated.
Creates a section showing known results for each method
generateMethodSummaryReport(List<ISuite>) - Method in class org.testng.reporters.EmailableReporter
Deprecated.
Creates a table showing the highlights of each test method with links to the method details
generateOutputDirectoryName(String) - Method in class org.testng.reporters.SuiteHTMLReporter
Deprecated.
Overridable by subclasses to create different directory names (e.g.
generateReport(List<XmlSuite>, List<ISuite>, String) - Method in interface org.testng.IReporter
Generate a report for the given suites into the specified output directory.
generateReport(List<XmlSuite>, List<ISuite>, String) - Method in class org.testng.reporters.EmailableReporter
Deprecated.
Creates summary of the run
generateReport(List<XmlSuite>, List<ISuite>, String) - Method in class org.testng.reporters.EmailableReporter2
 
generateReport(List<XmlSuite>, List<ISuite>, String) - Method in class org.testng.reporters.FailedReporter
 
generateReport(List<XmlSuite>, List<ISuite>, String) - Method in class org.testng.reporters.jq.Main
 
generateReport(List<XmlSuite>, List<ISuite>, String) - Method in class org.testng.reporters.JUnitReportReporter
 
generateReport(List<XmlSuite>, List<ISuite>, String) - Method in class org.testng.reporters.PerSuiteXMLReporter
 
generateReport(List<XmlSuite>, List<ISuite>, String) - Method in class org.testng.reporters.SuiteHTMLReporter
Deprecated.
 
generateReport(List<XmlSuite>, List<ISuite>, String) - Method in class org.testng.reporters.XMLReporter
 
generateReport(ITestContext) - Method in class org.testng.reporters.JUnitXMLReporter
generate the XML report given what we know from all the test results
generateResultsPerSuite - Variable in class org.testng.CommandLineArgs
 
generateStylesheet(String) - Static method in class org.testng.reporters.HtmlHelper
 
generateSuiteSummaryReport(List<ISuite>) - Method in class org.testng.reporters.EmailableReporter
Deprecated.
 
generateTable(PrintWriter, String, Collection<ITestResult>, String, Comparator<ITestResult>) - Static method in class org.testng.reporters.TestHTMLReporter
 
get(K) - Method in class org.testng.collections.MultiMap
 
getActual() - Method in interface org.testng.asserts.IAssert
 
getAfterClassMethods() - Method in interface org.testng.ITestClass
Returns all the methods that should be invoked after all the tests have been run on this class.
getAfterClassMethods() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getAfterClassMethods(Class<?>) - Method in interface org.testng.ITestMethodFinder
 
getAfterClassMethods(Class<?>) - Method in class org.testng.junit.JUnitMethodFinder
Deprecated.
 
getAfterGroups() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
getAfterGroups() - Method in interface org.testng.ITestNGMethod
 
getAfterGroupsConfigurationMethods(Class<?>) - Method in interface org.testng.ITestMethodFinder
 
getAfterGroupsConfigurationMethods(Class<?>) - Method in class org.testng.junit.JUnitMethodFinder
Deprecated.
 
getAfterGroupsMethods() - Method in interface org.testng.ITestClass
Returns all @Configuration methods that should be invoked after certain groups.
getAfterGroupsMethods() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getAfterSuite() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
getAfterSuiteMethods() - Method in interface org.testng.ITestClass
Returns all the methods that should be invoked after the suite has run.
getAfterSuiteMethods() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getAfterSuiteMethods() - Method in class org.testng.TestRunner
 
getAfterSuiteMethods(Class<?>) - Method in interface org.testng.ITestMethodFinder
 
getAfterSuiteMethods(Class<?>) - Method in class org.testng.junit.JUnitMethodFinder
Deprecated.
 
getAfterTest() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
getAfterTestClass() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
getAfterTestConfigurationMethods() - Method in interface org.testng.ITestClass
Returns all @Configuration methods that should be invoked last before any others in the current test.
getAfterTestConfigurationMethods() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getAfterTestConfigurationMethods() - Method in class org.testng.TestRunner
 
getAfterTestConfigurationMethods(Class<?>) - Method in interface org.testng.ITestMethodFinder
 
getAfterTestConfigurationMethods(Class<?>) - Method in class org.testng.junit.JUnitMethodFinder
Deprecated.
 
getAfterTestMethod() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
getAfterTestMethods() - Method in interface org.testng.ITestClass
Returns all the methods that should be invoked after a test method completes.
getAfterTestMethods() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getAfterTestMethods(Class<?>) - Method in interface org.testng.ITestMethodFinder
 
getAfterTestMethods(Class<?>) - Method in class org.testng.junit.JUnitMethodFinder
Deprecated.
 
getAllFailedResults() - Method in class org.testng.reporters.jq.Model
 
getAllInvokedMethods() - Method in interface org.testng.ISuite
 
getAllInvokedMethods() - Method in class org.testng.SuiteRunner
 
getAllMethods() - Method in interface org.testng.IResultMap
 
getAllMethods() - Method in interface org.testng.ISuite
 
getAllMethods() - Method in class org.testng.SuiteRunner
 
getAllowReturnValues() - Method in class org.testng.xml.XmlSuite
 
getAllowReturnValues() - Method in class org.testng.xml.XmlTest
 
getAllParameters() - Method in class org.testng.xml.XmlClass
 
getAllParameters() - Method in class org.testng.xml.XmlInclude
 
getAllParameters() - Method in class org.testng.xml.XmlSuite
 
getAllParameters() - Method in class org.testng.xml.XmlTest
 
getAllResults() - Method in interface org.testng.IResultMap
 
getAllTestMethods() - Method in interface org.testng.ITestContext
 
getAllTestMethods() - Method in class org.testng.TestListenerAdapter
 
getAllTestMethods() - Method in class org.testng.TestRunner
 
getAllTestResults(ISuite) - Method in class org.testng.reporters.jq.Model
 
getAllTestResults(ISuite, boolean) - Method in class org.testng.reporters.jq.Model
 
getAlwaysRun() - Method in interface org.testng.annotations.IConfigurationAnnotation
Used only for after type of configuration methods.
getAlwaysRun() - Method in interface org.testng.annotations.ITestAnnotation
If set to true, this test method will always be run even if it depends on a method that failed.
getAnnotationFinder() - Method in interface org.testng.ISuite
 
getAnnotationFinder() - Method in class org.testng.SuiteRunner
Returns the annotation finder for the given annotation type.
getAnnotationTransformer() - Method in class org.testng.TestNG
 
getAttribute(String) - Method in interface org.testng.IAttributes
 
getAttribute(String) - Method in class org.testng.SuiteRunner
 
getAttribute(String) - Method in class org.testng.TestRunner
 
getAttributeNames() - Method in interface org.testng.IAttributes
 
getAttributeNames() - Method in class org.testng.SuiteRunner
 
getAttributeNames() - Method in class org.testng.TestRunner
 
getAttributes() - Method in interface org.testng.annotations.ITestAnnotation
 
getAttributes() - Method in interface org.testng.ITestNGMethod
 
getBeforeClassMethods() - Method in interface org.testng.ITestClass
Return all the methods that should be invoked after the test class has been created and before any of its test methods is invoked.
getBeforeClassMethods() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getBeforeClassMethods(Class<?>) - Method in interface org.testng.ITestMethodFinder
 
getBeforeClassMethods(Class<?>) - Method in class org.testng.junit.JUnitMethodFinder
Deprecated.
 
getBeforeGroups() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
getBeforeGroups() - Method in interface org.testng.ITestNGMethod
 
getBeforeGroupsConfigurationMethods(Class<?>) - Method in interface org.testng.ITestMethodFinder
 
getBeforeGroupsConfigurationMethods(Class<?>) - Method in class org.testng.junit.JUnitMethodFinder
Deprecated.
 
getBeforeGroupsMethods() - Method in interface org.testng.ITestClass
Returns all @Configuration methods that should be invoked before certain groups.
getBeforeGroupsMethods() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getBeforeSuite() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
getBeforeSuiteMethods() - Method in interface org.testng.ITestClass
Returns All the methods that should be invoked before the suite is run.
getBeforeSuiteMethods() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getBeforeSuiteMethods() - Method in class org.testng.TestRunner
 
getBeforeSuiteMethods(Class<?>) - Method in interface org.testng.ITestMethodFinder
 
getBeforeSuiteMethods(Class<?>) - Method in class org.testng.junit.JUnitMethodFinder
Deprecated.
 
getBeforeTest() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
getBeforeTestClass() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
getBeforeTestConfigurationMethods() - Method in interface org.testng.ITestClass
Returns all @Configuration methods that should be invoked before any others in the current test.
getBeforeTestConfigurationMethods() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getBeforeTestConfigurationMethods() - Method in class org.testng.TestRunner
 
getBeforeTestConfigurationMethods(Class<?>) - Method in interface org.testng.ITestMethodFinder
 
getBeforeTestConfigurationMethods(Class<?>) - Method in class org.testng.junit.JUnitMethodFinder
Deprecated.
 
getBeforeTestMethod() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
getBeforeTestMethods() - Method in interface org.testng.ITestClass
Returns all the methods that should be invoked before a test method is invoked.
getBeforeTestMethods() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getBeforeTestMethods(Class<?>) - Method in interface org.testng.ITestMethodFinder
 
getBeforeTestMethods(Class<?>) - Method in class org.testng.junit.JUnitMethodFinder
Deprecated.
 
getChildSuites() - Method in class org.testng.xml.XmlSuite
 
getClasses() - Method in class org.testng.reporters.jq.ResultsByClass
 
getClasses() - Method in class org.testng.xml.XmlTest
 
getClassName() - Method in class org.testng.reporters.EmailableReporter2.ClassResult
 
getClassName() - Method in class org.testng.reporters.jq.BaseMultiSuitePanel
 
getClassName() - Method in interface org.testng.reporters.jq.INavigatorPanel
 
getClassName() - Method in class org.testng.reporters.jq.TestPanel
 
getClassName() - Method in class org.testng.xml.XmlMethodSelector
 
getConfig() - Method in interface org.testng.IReporter
Get the reporter configuration object.
getConfig() - Method in class org.testng.reporters.AbstractXmlReporter
 
getConfigFailurePolicy() - Method in class org.testng.TestNG
Returns the configuration failure policy.
getConfigFailurePolicy() - Method in class org.testng.xml.XmlSuite
Returns the configuration failure policy.
getConfiguration() - Method in class org.testng.TestNG
 
getConfigurationFailures() - Method in class org.testng.TestListenerAdapter
 
getConfigurationListeners() - Method in class org.testng.TestRunner
 
getConfigurationSkips() - Method in class org.testng.TestListenerAdapter
 
getConfigurationsScheduledForInvocation() - Method in class org.testng.TestRunner
 
getConstructorOrMethod() - Method in interface org.testng.ITestNGMethod
 
getContent(ISuite, XMLStringBuffer) - Method in class org.testng.reporters.jq.ChronologicalPanel
 
getContent(ISuite, XMLStringBuffer) - Method in class org.testng.reporters.jq.GroupPanel
 
getContent(ISuite, XMLStringBuffer) - Method in class org.testng.reporters.jq.IgnoredMethodsPanel
 
getContent(ISuite, XMLStringBuffer) - Method in class org.testng.reporters.jq.ReporterPanel
 
getContent(ISuite, XMLStringBuffer) - Method in class org.testng.reporters.jq.TestNgXmlPanel
 
getContent(ISuite, XMLStringBuffer) - Method in class org.testng.reporters.jq.TestPanel
 
getContent(ISuite, XMLStringBuffer) - Method in class org.testng.reporters.jq.TimesPanel
 
getCount() - Method in class org.testng.util.RetryAnalyzerCount
 
getCssString() - Static method in class org.testng.reporters.HtmlHelper
 
getCssString(String) - Static method in class org.testng.reporters.HtmlHelper
 
getCurrentIndent() - Method in class org.testng.reporters.XMLStringBuffer
 
getCurrentInvocationCount() - Method in interface org.testng.ITestNGMethod
 
getCurrentTestResult() - Static method in class org.testng.Reporter
 
getCurrentThreadId() - Method in interface org.testng.thread.IWorker
 
getCurrentXmlTest() - Method in interface org.testng.ITestContext
 
getCurrentXmlTest() - Method in class org.testng.TestRunner
 
getDataProvider() - Method in interface org.testng.annotations.ITestAnnotation
 
getDataProviderClass() - Method in interface org.testng.annotations.ITestAnnotation
 
getDataProviderDynamicClass() - Method in interface org.testng.annotations.ITestAnnotation
 
getDataProviderListeners() - Method in class org.testng.SuiteRunner
 
getDataProviderMethod() - Method in interface org.testng.ITestNGMethod
 
getDataProviderThreadCount() - Method in class org.testng.xml.XmlSuite
 
getDate() - Method in interface org.testng.IInvokedMethod
 
getDate() - Method in interface org.testng.ITestNGMethod
 
getDeclaringClass() - Method in class org.testng.junit.JUnit4ConfigurationMethod
Deprecated.
 
getDeclaringClass() - Method in class org.testng.junit.JUnit4SpockMethod
Deprecated.
 
getDefault() - Static method in class org.testng.TestNG
Deprecated.
since 5.1
getDefaultEmailableReport2Name() - Static method in class org.testng.reporters.RuntimeBehavior
 
getDefaultEmailableReportName() - Static method in class org.testng.reporters.RuntimeBehavior
 
getDefaultFileNameForXmlReports() - Static method in class org.testng.reporters.RuntimeBehavior
 
getDefaultLineSeparator() - Static method in class org.testng.reporters.RuntimeBehavior
 
getDefaultStacktraceLevels() - Static method in class org.testng.reporters.RuntimeBehavior
 
getDefaultSuiteName() - Method in class org.testng.TestNG
 
getDefaultTestName() - Method in class org.testng.TestNG
 
getDefines() - Method in class org.testng.xml.XmlGroups
 
getDependencies() - Method in class org.testng.xml.XmlDependencies
 
getDependencies() - Method in class org.testng.xml.XmlGroups
 
getDependenciesFor(T) - Method in interface org.testng.IDynamicGraph
 
getDependsOnGroups() - Method in interface org.testng.annotations.ITestOrConfiguration
 
getDependsOnMethods() - Method in interface org.testng.annotations.ITestOrConfiguration
 
getDescription() - Method in interface org.testng.annotations.ITestOrConfiguration
 
getDescription() - Method in interface org.testng.ITestNGMethod
 
getDescription() - Method in class org.testng.xml.XmlInclude
 
getDuration() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getEnabled() - Method in interface org.testng.annotations.IParameterizable
Whether this annotation is enabled.
getEnabled() - Method in interface org.testng.ITestNGMethod
 
getEnd() - Method in class org.testng.TestNG
 
getEndDate() - Method in interface org.testng.ITestContext
 
getEndDate() - Method in class org.testng.TestRunner
 
getEndMillis() - Method in interface org.testng.ITestResult
 
getErrorDetails(Throwable) - Method in class org.testng.asserts.Assertion
* Override this method should you want to change the default way Throwable objects are logged.
getEscapeHtml() - Static method in class org.testng.Reporter
 
getExclude() - Method in class org.testng.xml.XmlPackage
 
getExcludedGroups() - Method in interface org.testng.ITestContext
 
getExcludedGroups() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getExcludedGroups() - Method in class org.testng.TestRunner
 
getExcludedGroups() - Method in class org.testng.xml.XmlSuite
 
getExcludedGroups() - Method in class org.testng.xml.XmlTest
 
getExcludedMethods() - Method in interface org.testng.ISuite
 
getExcludedMethods() - Method in interface org.testng.ITestContext
 
getExcludedMethods() - Method in class org.testng.SuiteRunner
 
getExcludedMethods() - Method in class org.testng.TestRunner
 
getExcludedMethods() - Method in class org.testng.xml.XmlClass
 
getExcludes() - Method in class org.testng.xml.XmlRun
 
getExecutorFactory() - Method in class org.testng.TestNG
Deprecated.
getExitCodeListener() - Method in interface org.testng.ISuiteRunnerListener
 
getExitCodeListener() - Method in class org.testng.SuiteRunner
 
getExitCodeListener() - Method in class org.testng.TestRunner
 
getExpected() - Method in interface org.testng.asserts.IAssert
 
getExpectedExceptions() - Method in interface org.testng.annotations.ITestAnnotation
 
getExpectedExceptionsMessageRegExp() - Method in interface org.testng.annotations.ITestAnnotation
 
getExpression() - Method in class org.testng.xml.XmlScript
 
getFactoryMethodParamsInfo() - Method in interface org.testng.ITestNGMethod
 
getFactoryParameters() - Method in interface org.testng.ITestResult
 
getFailedButWithinSuccessPercentageTests() - Method in interface org.testng.ITestContext
 
getFailedButWithinSuccessPercentageTests() - Method in class org.testng.TestListenerAdapter
 
getFailedButWithinSuccessPercentageTests() - Method in class org.testng.TestRunner
 
getFailedConfigurationResults() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getFailedConfigurations() - Method in interface org.testng.ITestContext
 
getFailedConfigurations() - Method in class org.testng.TestRunner
 
getFailedInvocationNumbers() - Method in interface org.testng.ITestNGMethod
 
getFailedResultsByClass(ISuite) - Method in class org.testng.reporters.jq.Model
 
getFailedTestCount() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getFailedTestResults() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getFailedTests() - Method in interface org.testng.ITestContext
 
getFailedTests() - Method in class org.testng.TestListenerAdapter
 
getFailedTests() - Method in class org.testng.TestRunner
 
getFailedTests(ITestNGMethod) - Method in class org.testng.TestRunner
 
getFileFragmentationLevel() - Method in class org.testng.reporters.XMLReporterConfig
 
getFileName() - Method in class org.testng.reporters.EmailableReporter
Deprecated.
 
getFileName() - Method in class org.testng.reporters.EmailableReporter2
 
getFileName() - Method in class org.testng.xml.XmlSuite
 
getFileName(Class) - Method in class org.testng.reporters.JUnitReportReporter
 
getFormattedStartTime(long) - Method in class org.testng.reporters.EmailableReporter2
 
getFreeNodes() - Method in interface org.testng.IDynamicGraph
 
getGroupByInstances() - Method in class org.testng.xml.XmlSuite
 
getGroupByInstances() - Method in class org.testng.xml.XmlTest
 
getGroups() - Method in interface org.testng.annotations.ITestOrConfiguration
 
getGroups() - Method in interface org.testng.ITestNGMethod
 
getGroups() - Method in class org.testng.xml.XmlSuite
 
getGroups(String) - Method in class org.testng.reporters.jq.Model
 
getGroupsDependedUpon() - Method in interface org.testng.ITestNGMethod
 
getGuiceStage() - Method in interface org.testng.ISuite
 
getGuiceStage() - Method in class org.testng.SuiteRunner
 
getGuiceStage() - Method in class org.testng.xml.XmlSuite
 
getHeader(ISuite) - Method in class org.testng.reporters.jq.ChronologicalPanel
 
getHeader(ISuite) - Method in class org.testng.reporters.jq.GroupPanel
 
getHeader(ISuite) - Method in class org.testng.reporters.jq.IgnoredMethodsPanel
 
getHeader(ISuite) - Method in class org.testng.reporters.jq.ReporterPanel
 
getHeader(ISuite) - Method in class org.testng.reporters.jq.TestNgXmlPanel
 
getHeader(ISuite) - Method in class org.testng.reporters.jq.TestPanel
 
getHeader(ISuite) - Method in class org.testng.reporters.jq.TimesPanel
 
getHost() - Method in interface org.testng.ISuite
 
getHost() - Method in interface org.testng.ITestContext
 
getHost() - Method in interface org.testng.ITestResult
 
getHost() - Method in class org.testng.SuiteRunner
 
getHost() - Method in class org.testng.TestRunner
 
getIClass(Class<?>) - Method in interface org.testng.ITestClassFinder
Return the IClass for a given class
getId() - Method in interface org.testng.ITestNGMethod
 
getImage(String) - Static method in class org.testng.reporters.jq.Model
 
getInclude() - Method in class org.testng.xml.XmlPackage
 
getIncludedGroups() - Method in interface org.testng.ITestContext
 
getIncludedGroups() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getIncludedGroups() - Method in class org.testng.TestRunner
 
getIncludedGroups() - Method in class org.testng.xml.XmlSuite
 
getIncludedGroups() - Method in class org.testng.xml.XmlTest
 
getIncludedMethods() - Method in class org.testng.xml.XmlClass
 
getIncludes() - Method in class org.testng.xml.XmlDefine
 
getIncludes() - Method in class org.testng.xml.XmlRun
 
getIndex() - Method in class org.testng.xml.XmlClass
Note that this attribute does not come from the XML file, it's calculated internally and represents the order in which this class was found in its <test> tag.
getIndex() - Method in class org.testng.xml.XmlInclude
 
getIndex() - Method in class org.testng.xml.XmlTest
Note that this attribute does not come from the XML file, it's calculated internally and represents the order in which this test tag was found in its <suite> tag.
getIndices() - Method in interface org.testng.annotations.IDataProviderAnnotation
 
getIndices() - Method in interface org.testng.annotations.IFactoryAnnotation
 
getIndices() - Method in interface org.testng.IDataProviderMethod
 
getInheritGroups() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
getInjector(Injector, Stage, Module...) - Method in interface org.testng.IInjectorFactory
Adding this method breaks existing implementations therefore for the time being (until deprecated method is removed) it calls the existing method.
getInjector(Stage, Module...) - Method in interface org.testng.IInjectorFactory
Deprecated.
- As of TestNG 7.5.0
getInjectorFactory() - Method in interface org.testng.ITestContext
 
getInjectorFactory() - Method in class org.testng.TestRunner
 
getInstance() - Method in interface org.testng.IDataProviderMethod
 
getInstance() - Method in interface org.testng.IInstanceInfo
 
getInstance() - Method in interface org.testng.IMethodInstance
 
getInstance() - Method in interface org.testng.ITestNGMethod
 
getInstance() - Method in interface org.testng.ITestResult
 
getInstanceClass() - Method in interface org.testng.IInstanceInfo
 
getInstanceHashCodes() - Method in interface org.testng.IClass
 
getInstanceHashCodes() - Method in interface org.testng.ITestNGMethod
Needed for serialization.
getInstanceHashCodes() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getInstanceName() - Method in interface org.testng.ITestResult
 
getInstances(boolean) - Method in interface org.testng.IClass
Returns all the instances the methods will be invoked upon.
getInstances(boolean) - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getInstances(boolean, String) - Method in interface org.testng.IClass
 
getInterceptedPriority() - Method in interface org.testng.ITestNGMethod
 
getInterceptors() - Method in class org.testng.DataProviderHolder
 
getInvocationCount() - Method in interface org.testng.annotations.ITestAnnotation
Returns the number of times this method should be invoked.
getInvocationCount() - Method in interface org.testng.ITestNGMethod
 
getInvocationNumbers() - Method in interface org.testng.ITestNGMethod
Which invocation numbers of this method should be used (only applicable if it uses a data provider).
getInvocationNumbers() - Method in class org.testng.xml.XmlInclude
 
getInvocationNumbers(String) - Method in class org.testng.xml.XmlTest
Convenience method to cache the ordering numbers for methods.
getInvocationTimeOut() - Method in interface org.testng.ITestNGMethod
 
getInvokedAfterClassMethods() - Method in class org.testng.ClassMethodMap
 
getInvokedBeforeClassMethods() - Method in class org.testng.ClassMethodMap
 
getInvoker() - Method in class org.testng.TestRunner
 
getJavaCommand() - Method in class org.testng.TestNGAntTask
 
getLanguage() - Method in class org.testng.xml.XmlScript
 
getLevel() - Method in enum org.testng.reporters.XMLReporterConfig.StackTraceLevels
 
getLineSeparatorOrNewLine() - Static method in class org.testng.reporters.RuntimeBehavior
 
getListeners() - Method in class org.testng.DataProviderHolder
 
getListeners() - Method in class org.testng.xml.XmlSuite
 
getLocalListeners() - Method in class org.testng.xml.XmlSuite
 
getLocalParameters() - Method in class org.testng.xml.XmlClass
 
getLocalParameters() - Method in class org.testng.xml.XmlInclude
 
getLocalParameters() - Method in class org.testng.xml.XmlTest
 
getLogger(Class<?>) - Static method in class org.testng.log4testng.Logger
Retrieve a logger named according to the value of the pClass.getName() parameter.
getMatchedTests() - Method in class org.testng.xml.internal.TestNamesMatcher
 
getMessage() - Method in interface org.testng.asserts.IAssert
 
getMessage() - Method in exception org.testng.TimeBombSkipException
 
getMessages() - Method in class org.testng.asserts.LoggingAssert
 
getMetaGroups() - Method in class org.testng.xml.XmlTest
 
getMethod() - Method in interface org.testng.IDataProviderMethod
 
getMethod() - Method in interface org.testng.IMethodInstance
 
getMethod() - Method in interface org.testng.ITestResult
 
getMethodDependingOn(String, ITestNGMethod) - Method in class org.testng.DependencyMap
 
getMethodName() - Method in interface org.testng.ITestNGMethod
Returns the method name.
getMethodResults() - Method in class org.testng.reporters.EmailableReporter2.ClassResult
 
getMethodsByGroups() - Method in interface org.testng.ISuite
Retrieves the map of groups and their associated test methods.
getMethodsByGroups() - Method in class org.testng.SuiteRunner
 
getMethodsDependedUpon() - Method in interface org.testng.ITestNGMethod
 
getMethodSelectors() - Method in class org.testng.xml.XmlMethodSelectors
 
getMethodSelectors() - Method in class org.testng.xml.XmlSuite
Returns the method selectors.
getMethodSelectors() - Method in class org.testng.xml.XmlTest
 
getMethodsInGroup(String) - Method in class org.testng.reporters.jq.Model
 
getMethodsThatBelongTo(String, ITestNGMethod) - Method in class org.testng.DependencyMap
 
getMissedTestNames() - Method in class org.testng.xml.internal.TestNamesMatcher
 
getMissingGroup() - Method in interface org.testng.ITestNGMethod
 
getModel() - Method in class org.testng.reporters.jq.BasePanel
 
getModule() - Method in interface org.testng.IModule
 
getName() - Method in interface org.testng.annotations.IDataProviderAnnotation
 
getName() - Method in interface org.testng.IClass
 
getName() - Method in interface org.testng.IDataProviderMethod
 
getName() - Method in interface org.testng.ISuite
 
getName() - Method in interface org.testng.ITestContext
 
getName() - Method in interface org.testng.ITestResult
 
getName() - Method in class org.testng.junit.JUnit4ConfigurationMethod
Deprecated.
 
getName() - Method in class org.testng.junit.JUnit4SpockMethod
Deprecated.
 
getName() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getName() - Method in class org.testng.SuiteRunner
 
getName() - Method in class org.testng.TestRunner
 
getName() - Method in class org.testng.xml.XmlClass
 
getName() - Method in class org.testng.xml.XmlDefine
 
getName() - Method in class org.testng.xml.XmlInclude
 
getName() - Method in class org.testng.xml.XmlPackage
 
getName() - Method in class org.testng.xml.XmlSuite
Returns the name.
getName() - Method in class org.testng.xml.XmlTest
 
getNavigatorLink(ISuite) - Method in class org.testng.reporters.jq.ChronologicalPanel
 
getNavigatorLink(ISuite) - Method in class org.testng.reporters.jq.GroupPanel
 
getNavigatorLink(ISuite) - Method in class org.testng.reporters.jq.IgnoredMethodsPanel
 
getNavigatorLink(ISuite) - Method in interface org.testng.reporters.jq.INavigatorPanel
 
getNavigatorLink(ISuite) - Method in class org.testng.reporters.jq.ReporterPanel
 
getNavigatorLink(ISuite) - Method in class org.testng.reporters.jq.TestNgXmlPanel
 
getNavigatorLink(ISuite) - Method in class org.testng.reporters.jq.TestPanel
 
getNavigatorLink(ISuite) - Method in class org.testng.reporters.jq.TimesPanel
 
getNodeCount() - Method in interface org.testng.IDynamicGraph
 
getNodeCountWithStatus(IDynamicGraph.Status) - Method in interface org.testng.IDynamicGraph
 
getNodesWithStatus(IDynamicGraph.Status) - Method in interface org.testng.IDynamicGraph
 
getObjectFactory() - Method in interface org.testng.ISuite
 
getObjectFactory() - Method in class org.testng.SuiteRunner
 
getObjectFactory() - Method in class org.testng.xml.XmlSuite
Deprecated.
- This method stands deprecated as of TestNG 7.5.0. Use XmlSuite.getObjectFactoryClass() instead.
getObjectFactory2() - Method in interface org.testng.ISuite
Deprecated.
getObjectFactoryClass() - Method in class org.testng.xml.XmlSuite
 
getOutput() - Static method in class org.testng.Reporter
 
getOutput(ITestResult) - Static method in class org.testng.Reporter
 
getOutputDirectory() - Method in interface org.testng.ISuite
 
getOutputDirectory() - Method in interface org.testng.ITestContext
 
getOutputDirectory() - Method in class org.testng.reporters.XMLReporterConfig
 
getOutputDirectory() - Method in class org.testng.SuiteRunner
 
getOutputDirectory() - Method in class org.testng.TestNG
 
getOutputDirectory() - Method in class org.testng.TestRunner
 
getPackageNames() - Method in class org.testng.xml.XmlSuite
 
getPackages() - Method in class org.testng.xml.XmlSuite
 
getPackages() - Method in class org.testng.xml.XmlTest
 
getPanelName(ISuite) - Method in class org.testng.reporters.jq.BaseMultiSuitePanel
 
getPanelName(ISuite) - Method in interface org.testng.reporters.jq.INavigatorPanel
 
getParallel() - Method in interface org.testng.ISuite
 
getParallel() - Method in class org.testng.SuiteRunner
 
getParallel() - Method in class org.testng.xml.XmlSuite
Returns the parallel mode.
getParallel() - Method in class org.testng.xml.XmlTest
 
getParallelMode() - Method in class org.testng.reporters.EmailableReporter2.SuiteResult
 
getParameter(String) - Method in interface org.testng.ISuite
 
getParameter(String) - Method in class org.testng.SuiteRunner
FIXME: should be removed?
getParameter(String) - Method in class org.testng.xml.XmlSuite
Returns the parameter defined in this suite only.
getParameter(String) - Method in class org.testng.xml.XmlTest
 
getParameterInvocationCount() - Method in interface org.testng.ITestNGMethod
 
getParameters() - Method in interface org.testng.IConfigureCallBack
 
getParameters() - Method in interface org.testng.IHookCallBack
 
getParameters() - Method in interface org.testng.ITestResult
 
getParameters() - Method in class org.testng.xml.XmlSuite
 
getParameterTypes() - Method in interface org.testng.ITestNGMethod
 
getParentInjector() - Method in interface org.testng.ISuite
 
getParentInjector() - Method in class org.testng.SuiteRunner
 
getParentModule() - Method in interface org.testng.ISuite
 
getParentModule() - Method in class org.testng.SuiteRunner
 
getParentModule() - Method in class org.testng.xml.XmlSuite
 
getParentSuite() - Method in class org.testng.xml.XmlSuite
 
getPassedConfigurations() - Method in interface org.testng.ITestContext
 
getPassedConfigurations() - Method in class org.testng.TestRunner
 
getPassedResultsByClass(ISuite) - Method in class org.testng.reporters.jq.Model
 
getPassedTestCount() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getPassedTestResults() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getPassedTests() - Method in interface org.testng.ITestContext
 
getPassedTests() - Method in class org.testng.TestListenerAdapter
 
getPassedTests() - Method in class org.testng.TestRunner
 
getPassedTests(ITestNGMethod) - Method in class org.testng.TestRunner
 
getPrefix() - Method in class org.testng.reporters.jq.ChronologicalPanel
 
getPrefix() - Method in class org.testng.reporters.jq.GroupPanel
 
getPrefix() - Method in class org.testng.reporters.jq.IgnoredMethodsPanel
 
getPrefix() - Method in interface org.testng.reporters.jq.INavigatorPanel
 
getPrefix() - Method in class org.testng.reporters.jq.ReporterPanel
 
getPrefix() - Method in class org.testng.reporters.jq.TestNgXmlPanel
 
getPrefix() - Method in class org.testng.reporters.jq.TestPanel
 
getPrefix() - Method in class org.testng.reporters.jq.TimesPanel
 
getPreserveOrder() - Method in class org.testng.xml.XmlSuite
 
getPreserveOrder() - Method in class org.testng.xml.XmlTest
 
getPriority() - Method in interface org.testng.annotations.ITestAnnotation
The scheduling priority.
getPriority() - Method in interface org.testng.ITestNGMethod
The scheduling priority.
getPriority() - Method in class org.testng.SuiteRunnerWorker
 
getPriority() - Method in interface org.testng.thread.IWorker
 
getPriority() - Method in class org.testng.xml.XmlMethodSelector
 
getQualifiedName() - Method in interface org.testng.ITestNGMethod
getRealClass().getName() + "." + getMethodName()
getRealClass() - Method in interface org.testng.IClass
 
getRealClass() - Method in interface org.testng.ITestNGMethod
 
getRealClass() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getReportAllDataDrivenTestsAsSkipped() - Method in class org.testng.TestNG
 
getReporters() - Method in class org.testng.SuiteRunner
 
getReporters() - Method in class org.testng.TestNG
 
getResults() - Method in interface org.testng.ISuite
 
getResults() - Method in class org.testng.reporters.EmailableReporter2.MethodResult
 
getResults() - Method in class org.testng.SuiteRunner
 
getResults(Class<?>) - Method in class org.testng.reporters.jq.ResultsByClass
 
getResults(ITestNGMethod) - Method in interface org.testng.IResultMap
 
getRetriedTestCount() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getRetriedTestResults() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getRetryAnalyzer(ITestResult) - Method in interface org.testng.ITestNGMethod
 
getRetryAnalyzerClass() - Method in interface org.testng.annotations.ITestAnnotation
 
getRetryAnalyzerClass() - Method in interface org.testng.ITestNGMethod
 
getRun() - Method in class org.testng.xml.XmlGroups
 
getScript() - Method in class org.testng.xml.XmlMethodSelector
 
getScript() - Method in class org.testng.xml.XmlTest
 
getServiceLoaderListeners() - Method in class org.testng.TestNG
 
getSingleThreaded() - Method in interface org.testng.annotations.ITestAnnotation
 
getSkipCausedBy() - Method in interface org.testng.ITestResult
 
getSkippedConfigurationResults() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getSkippedConfigurations() - Method in interface org.testng.ITestContext
 
getSkippedConfigurations() - Method in class org.testng.TestRunner
 
getSkippedResultsByClass(ISuite) - Method in class org.testng.reporters.jq.Model
 
getSkippedTestCount() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getSkippedTestResults() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getSkippedTests() - Method in interface org.testng.ITestContext
 
getSkippedTests() - Method in class org.testng.TestListenerAdapter
 
getSkippedTests() - Method in class org.testng.TestRunner
 
getSkippedTests(ITestNGMethod) - Method in class org.testng.TestRunner
 
getStackTraceOutput() - Method in class org.testng.reporters.XMLReporterConfig
 
getStackTraceOutputLevelForPassedTests() - Method in class org.testng.reporters.XMLReporterConfig
 
getStart() - Method in class org.testng.TestNG
 
getStartDate() - Method in interface org.testng.ITestContext
 
getStartDate() - Method in class org.testng.TestRunner
 
getStartMillis() - Method in interface org.testng.ITestResult
 
getStatus() - Method in interface org.testng.ITestResult
 
getStatus() - Method in class org.testng.TestNG
 
getStatus(String) - Static method in class org.testng.reporters.XMLReporterConfig
 
getStatusForSuite(String) - Method in class org.testng.reporters.jq.Model
 
getStringBuffer() - Method in class org.testng.reporters.XMLStringBuffer
 
getSuccessPercentage() - Method in interface org.testng.annotations.ITestAnnotation
The percentage of success expected from this method.
getSuccessPercentage() - Method in interface org.testng.ITestNGMethod
 
getSuite() - Method in interface org.testng.ITestContext
 
getSuite() - Method in class org.testng.TestRunner
 
getSuite() - Method in class org.testng.xml.TestNGContentHandler
 
getSuite() - Method in class org.testng.xml.XmlTest
Returns the suite this test is part of.
getSuiteBuffer() - Method in class org.testng.xml.LaunchSuite.ExistingSuite
 
getSuiteBuffer() - Method in class org.testng.xml.LaunchSuite
 
getSuiteFileNames() - Method in class org.testng.TestNGAntTask
 
getSuiteFiles() - Method in class org.testng.xml.XmlSuite
Returns the suite files.
getSuiteListeners() - Method in class org.testng.TestNG
 
getSuiteName() - Method in interface org.testng.annotations.ITestAnnotation
 
getSuiteName() - Method in class org.testng.reporters.EmailableReporter2.SuiteResult
 
getSuites() - Method in class org.testng.reporters.jq.BasePanel
 
getSuites() - Method in class org.testng.reporters.jq.Model
 
getSuitesMatchingTestNames() - Method in class org.testng.xml.internal.TestNamesMatcher
 
getSuiteState() - Method in interface org.testng.ISuite
Retrieves the shared state for a suite.
getSuiteState() - Method in class org.testng.SuiteRunner
 
getSuiteThreadPoolSize() - Method in class org.testng.TestNG
 
getSupportClass() - Method in class org.testng.xml.XmlClass
 
getTag(ITestResult) - Method in class org.testng.reporters.jq.Model
 
getTasks() - Method in class org.testng.SuiteRunnerWorker
 
getTasks() - Method in interface org.testng.thread.IWorker
 
getTest() - Method in class org.testng.TestRunner
 
getTest() - Method in class org.testng.xml.XmlSuite
Returns the test.
getTest(Class<? extends Test>, String...) - Method in class org.testng.junit.JUnitTestRunner
Deprecated.
Returns the Test corresponding to the given suite.
getTestClass() - Method in interface org.testng.ITestNGMethod
 
getTestClass() - Method in interface org.testng.ITestResult
 
getTestClasses() - Method in class org.testng.TestRunner
 
getTestContext() - Method in interface org.testng.ISuiteResult
 
getTestContext() - Method in interface org.testng.ITestResult
 
getTestContexts() - Method in class org.testng.TestListenerAdapter
 
getTestListeners() - Method in class org.testng.TestNG
 
getTestListeners() - Method in class org.testng.TestRunner
 
getTestMethod() - Method in interface org.testng.IInvokedMethod
 
getTestMethods() - Method in interface org.testng.ITestClass
Returns all the applicable test methods.
getTestMethods() - Method in interface org.testng.junit.IJUnitTestRunner
Deprecated.
 
getTestMethods() - Method in class org.testng.junit.JUnit4TestRunner
Deprecated.
Needed from TestRunner in order to figure out what JUnit test methods were run.
getTestMethods() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getTestMethods() - Method in class org.testng.junit.JUnitTestRunner
Deprecated.
Needed from TestRunner in order to figure out what JUnit test methods were run.
getTestMethods(Class<?>, XmlTest) - Method in interface org.testng.ITestMethodFinder
 
getTestMethods(Class<?>, XmlTest) - Method in class org.testng.junit.JUnitMethodFinder
Deprecated.
 
getTestName() - Method in interface org.testng.annotations.ITestAnnotation
 
getTestName() - Method in interface org.testng.IClass
 
getTestName() - Method in interface org.testng.ITest
The name of test instance(s).
getTestName() - Method in interface org.testng.ITestResult
 
getTestName() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getTestName() - Method in class org.testng.reporters.EmailableReporter2.TestResult
 
getTestName(ITestResult) - Method in class org.testng.reporters.JUnitReportReporter
 
getTestNGInfrastructure(StackTraceElement[], ITestNGMethod) - Static method in class org.testng.reporters.util.StackTraceTools
 
getTestResult() - Method in interface org.testng.IInvokedMethod
 
getTestResultName(ITestResult) - Static method in class org.testng.reporters.jq.Model
 
getTestResults() - Method in class org.testng.reporters.EmailableReporter2.SuiteResult
 
getTestResults(ISuite) - Method in class org.testng.reporters.jq.Model
 
getTestRoot(StackTraceElement[], ITestNGMethod) - Static method in class org.testng.reporters.util.StackTraceTools
 
getTests() - Method in class org.testng.xml.XmlSuite
Returns the tests.
getThreadCount() - Method in class org.testng.xml.XmlSuite
 
getThreadCount() - Method in class org.testng.xml.XmlTest
 
getThreadIdToRunOn() - Method in interface org.testng.thread.IWorker
 
getThreadPoolSize() - Method in interface org.testng.annotations.ITestAnnotation
The size of the thread pool for this method.
getThreadPoolSize() - Method in interface org.testng.ITestNGMethod
 
getThrowable() - Method in interface org.testng.ITestResult
 
getTimedoutTests() - Method in class org.testng.TestListenerAdapter
 
getTimeOut() - Method in interface org.testng.annotations.ITestOrConfiguration
 
getTimeOut() - Method in interface org.testng.ITestNGMethod
 
getTimeOut() - Method in class org.testng.SuiteRunnerWorker
 
getTimeOut() - Method in interface org.testng.thread.IWorker
 
getTimeOut() - Method in class org.testng.xml.XmlSuite
Returns the timeout.
getTimeOut() - Method in class org.testng.xml.XmlTest
 
getTimeOut(long) - Method in class org.testng.xml.XmlSuite
Returns the timeout as a long value specifying the default value to be used if no timeout was specified.
getTimeOut(long) - Method in class org.testng.xml.XmlTest
 
getTimestampFormat() - Method in class org.testng.reporters.XMLReporterConfig
 
getUpstreamDependenciesFor(T) - Method in interface org.testng.IDynamicGraph
 
getUserData() - Method in interface org.testng.IMethodSelectorContext
 
getValidParallel(String) - Static method in enum org.testng.xml.XmlSuite.ParallelMode
 
getValidPolicy(String) - Static method in enum org.testng.xml.XmlSuite.FailurePolicy
 
getValue() - Method in interface org.testng.annotations.IListenersAnnotation
 
getValue() - Method in interface org.testng.annotations.IParametersAnnotation
The list of variables used to fill the parameters of this method.
getVerbose() - Static method in class org.testng.TestRunner
 
getVerbose() - Method in class org.testng.xml.XmlSuite
Returns the verbose.
getVerbose() - Method in class org.testng.xml.XmlTest
 
getWrongExceptionMessage(Throwable) - Method in interface org.testng.IExpectedExceptionsHolder
Get the message in case the Throwable thrown by the test is not matching.
getXmlClass() - Method in interface org.testng.IClass
 
getXmlClass() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
getXmlClasses() - Method in class org.testng.xml.XmlPackage
 
getXmlClasses() - Method in class org.testng.xml.XmlTest
 
getXmlDependencyGroups() - Method in class org.testng.xml.XmlTest
 
getXmlGroups() - Method in class org.testng.xml.XmlTest
 
getXmlMethodSelectors() - Method in class org.testng.xml.XmlSuite
 
getXmlPackages() - Method in class org.testng.xml.XmlSuite
Returns the XML packages.
getXmlPackages() - Method in class org.testng.xml.XmlTest
 
getXmlSuite() - Method in interface org.testng.ISuite
 
getXmlSuite() - Method in class org.testng.SuiteRunner
 
getXmlTest() - Method in interface org.testng.IClass
 
getXmlTest() - Method in interface org.testng.ITestNGMethod
 
getXmlTest() - Method in class org.testng.junit.JUnitTestClass
Deprecated.
 
groupByInstance - org.testng.TestRunner.PriorityWeight
 
GroupPanel - Class in org.testng.reporters.jq
 
GroupPanel(Model) - Constructor for class org.testng.reporters.jq.GroupPanel
 
groupResults(Set<ITestResult>) - Method in class org.testng.reporters.EmailableReporter2.TestResult
Groups test results by method and then by class.
groups - Variable in class org.testng.CommandLineArgs
 
groups() - Method in annotation type org.testng.annotations.AfterClass
The list of groups this class/method belongs to.
groups() - Method in annotation type org.testng.annotations.AfterGroups
The list of groups this class/method belongs to.
groups() - Method in annotation type org.testng.annotations.AfterMethod
The list of groups this class/method belongs to.
groups() - Method in annotation type org.testng.annotations.AfterSuite
The list of groups this class/method belongs to.
groups() - Method in annotation type org.testng.annotations.AfterTest
The list of groups this class/method belongs to.
groups() - Method in annotation type org.testng.annotations.BeforeClass
The list of groups this class/method belongs to.
groups() - Method in annotation type org.testng.annotations.BeforeGroups
The list of groups this class/method belongs to.
groups() - Method in annotation type org.testng.annotations.BeforeMethod
The list of groups this class/method belongs to.
groups() - Method in annotation type org.testng.annotations.BeforeSuite
The list of groups this class/method belongs to.
groups() - Method in annotation type org.testng.annotations.BeforeTest
The list of groups this class/method belongs to.
groups() - Method in annotation type org.testng.annotations.Test
The list of groups this class/method belongs to.
GROUPS - Static variable in class org.testng.CommandLineArgs
 
GROUPS - Static variable in class org.testng.reporters.SuiteHTMLReporter
Deprecated.
 
Guice - Annotation Type in org.testng.annotations
This annotation specifies what Guice modules should be used to instantiate this test class.

H

handleOutput(String) - Method in class org.testng.TestNGAntTask
 
hasAfterGroupsConfiguration() - Method in interface org.testng.ITestNGMethod
 
hasBeforeGroupsConfiguration() - Method in interface org.testng.ITestNGMethod
 
hasElements(Collection<?>) - Static method in class org.testng.collections.CollectionUtils
 
hasElements(Map<?, ?>) - Static method in class org.testng.collections.CollectionUtils
 
hasFailure() - Method in class org.testng.TestNG
 
hasFailureWithinSuccessPercentage() - Method in class org.testng.TestNG
 
hasFileScheme(String) - Static method in class org.testng.xml.internal.Parser
 
hashCode() - Method in class org.testng.xml.XmlClass
 
hashCode() - Method in class org.testng.xml.XmlDefine
 
hashCode() - Method in class org.testng.xml.XmlInclude
 
hashCode() - Method in class org.testng.xml.XmlMethodSelector
 
hashCode() - Method in class org.testng.xml.XmlPackage
 
hashCode() - Method in class org.testng.xml.XmlSuite
 
hashCode() - Method in class org.testng.xml.XmlTest
 
hasMoreInvocation() - Method in interface org.testng.ITestNGMethod
 
hasSkip() - Method in class org.testng.TestNG
 
host - Variable in class org.testng.CommandLineArgs
 
HOST - Static variable in class org.testng.CommandLineArgs
 
HtmlHelper - Class in org.testng.reporters
 
HtmlHelper() - Constructor for class org.testng.reporters.HtmlHelper
 
HTTPS_TESTNG_DTD_URL - Static variable in class org.testng.xml.internal.Parser
 

I

I - Static variable in class org.testng.reporters.jq.BasePanel
 
IAlterSuiteListener - Interface in org.testng
Implementations of this interface will gain access to the XmlSuite object and thus let users be able to alter a suite or a test based on their own needs.
IAnnotation - Interface in org.testng.annotations
The parent interface for all the annotations.
IAnnotationTransformer - Interface in org.testng
 
IAssert<T> - Interface in org.testng.asserts
 
IAssertLifecycle - Interface in org.testng.asserts
Life cycle methods for the assertion class.
IAttributes - Interface in org.testng
A trait that is used by all interfaces that lets the user add or remove their own attributes.
IBuffer - Interface in org.testng.reporters
 
IClass - Interface in org.testng
IClass represents a test class and a collection of its instances.
IClassListener - Interface in org.testng
 
IConfigurable - Interface in org.testng
If a test class implements this interface, its run() method will be invoked instead of each configuration method found.
IConfigurationAnnotation - Interface in org.testng.annotations
Encapsulate the @Configuration / @testng.configuration annotation
IConfigurationListener - Interface in org.testng
Listener interface for events related to configuration methods.
IConfigurationListener2 - Interface in org.testng
Deprecated.
As of release 7.0.0, replaced by IConfigurationListener
IConfigureCallBack - Interface in org.testng
A parameter of this type will be passed to the run() method of a IConfigurable.
ICustomizeXmlReport - Interface in org.testng.reporters
An interface that helps add custom xml tags to the TestNG generated xml report.
id() - Method in interface org.testng.ITestResult
 
IDataProviderAnnotation - Interface in org.testng.annotations
Encapsulate the @DataProvider / @testng.data-provider annotation
IDataProviderInterceptor - Interface in org.testng
This interface helps define an interceptor for data providers.
IDataProviderListener - Interface in org.testng
A listener that gets invoked before and after a data provider is invoked by TestNG.
IDataProviderMethod - Interface in org.testng
Represents the attributes of a DataProvider annotated method.
IDynamicGraph<T> - Interface in org.testng
Represents the graphical representative capabilities of an entity.
IDynamicGraph.Status - Enum in org.testng
 
IExecutionListener - Interface in org.testng
A listener used to monitor when a TestNG run starts and ends.
IExecutionVisualiser - Interface in org.testng
A TestNG listener that can be used to build graph representations of TestNG methods as and when they are being executed on a real-time basis.
IExecutorFactory - Interface in org.testng.thread
Deprecated.
- This interface stands deprecated as of TestNG v7.9.0.
IExpectedExceptionsHolder - Interface in org.testng
 
IFactoryAnnotation - Interface in org.testng.annotations
Encapsulate the @Factory / @testng.factory annotation
IFileParser<T> - Interface in org.testng.xml
 
Ignore - Annotation Type in org.testng.annotations
Alternative of @Test(enabled=false)
IGNORE_MISSED_TEST_NAMES - Static variable in class org.testng.CommandLineArgs
 
IgnoredMethodsPanel - Class in org.testng.reporters.jq
 
IgnoredMethodsPanel(Model) - Constructor for class org.testng.reporters.jq.IgnoredMethodsPanel
 
ignoreFailure() - Method in annotation type org.testng.annotations.BeforeClass
 
ignoreFailure() - Method in annotation type org.testng.annotations.BeforeMethod
 
ignoreFailure() - Method in annotation type org.testng.annotations.BeforeTest
 
ignoreMissedTestNames - Variable in class org.testng.CommandLineArgs
 
ignoreMissingDependencies() - Method in interface org.testng.annotations.ITestAnnotation
 
ignoreMissingDependencies() - Method in annotation type org.testng.annotations.Test
If set to true, this test will run even if the methods it depends on are missing or excluded.
ignoreMissingDependencies() - Method in interface org.testng.ITestNGMethod
 
IHookable - Interface in org.testng
If a test class implements this interface, its run() method will be invoked instead of each @Test method found.
IHookCallBack - Interface in org.testng
A parameter of this type will be passed to the run() method of a IHookable.
IIgnoreAnnotation - Interface in org.testng.annotations
Encapsulate the @Ignore annotation
IInjectorFactory - Interface in org.testng
Allows customization of the Injector creation when working with dependency injection.
IInstanceInfo<T> - Interface in org.testng
This class defines a pair of instance/class.
IInvokedMethod - Interface in org.testng
An interface representing a method that has been invoked by TestNG.
IInvokedMethodListener - Interface in org.testng
A listener that gets invoked before and after a method is invoked by TestNG.
IJUnitTestRunner - Interface in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
IListenersAnnotation - Interface in org.testng.annotations
 
IMethodInstance - Interface in org.testng
This interface captures a test method along with all the instances it should be run on.
IMethodInterceptor - Interface in org.testng
This class is used to alter the list of test methods that TestNG is about to run.
IMethodSelector - Interface in org.testng
This interface is used to augment or replace TestNG's algorithm to decide whether a test method should be included in a test run.
IMethodSelectorContext - Interface in org.testng
An implementation of this interface is passed to all the Method Selectors when their includeMethod() is invoked.
IModule - Interface in org.testng
This interface provides Module to implicitly add to the Guice context.
IModuleFactory - Interface in org.testng
This interface is used by the moduleFactory attribute of the @Guice annotation.
INavigatorPanel - Interface in org.testng.reporters.jq
Panels that are accessible from the navigator.
INCLUDE_ALL_DATA_DRIVEN_TESTS_WHEN_SKIPPING - Static variable in class org.testng.CommandLineArgs
 
includeAllDataDrivenTestsWhenSkipping - Variable in class org.testng.CommandLineArgs
 
includeMethod(IMethodSelectorContext, ITestNGMethod, boolean) - Method in interface org.testng.IMethodSelector
 
incrementCurrentInvocationCount() - Method in interface org.testng.ITestNGMethod
 
indices() - Method in annotation type org.testng.annotations.DataProvider
Which indices to run from this data provider, default: all.
indices() - Method in annotation type org.testng.annotations.Factory
 
info(Object) - Method in class org.testng.log4testng.Logger
Log a message object with the INFO level.
info(Object, Throwable) - Method in class org.testng.log4testng.Logger
Log a message object with the WARN level including the stack trace of the Throwable t passed as parameter.
inheritGroups() - Method in annotation type org.testng.annotations.AfterClass
If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
inheritGroups() - Method in annotation type org.testng.annotations.AfterGroups
If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
inheritGroups() - Method in annotation type org.testng.annotations.AfterMethod
If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
inheritGroups() - Method in annotation type org.testng.annotations.AfterSuite
If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
inheritGroups() - Method in annotation type org.testng.annotations.AfterTest
If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
inheritGroups() - Method in annotation type org.testng.annotations.BeforeClass
If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
inheritGroups() - Method in annotation type org.testng.annotations.BeforeGroups
If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
inheritGroups() - Method in annotation type org.testng.annotations.BeforeMethod
If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
inheritGroups() - Method in annotation type org.testng.annotations.BeforeSuite
If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
inheritGroups() - Method in annotation type org.testng.annotations.BeforeTest
If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any).
initializeEverything() - Method in class org.testng.TestNG
Invoked by the remote runner.
initializeSuitesAndJarFile() - Method in class org.testng.TestNG
 
INSTANCES - org.testng.xml.XmlSuite.ParallelMode
 
intercept(Iterator<Object[]>, IDataProviderMethod, ITestNGMethod, ITestContext) - Method in interface org.testng.IDataProviderInterceptor
 
intercept(List<IMethodInstance>, ITestContext) - Method in interface org.testng.IMethodInterceptor
 
intersection(List<K>, List<K>) - Static method in class org.testng.collections.Lists
 
invocationCount() - Method in annotation type org.testng.annotations.Test
The number of times this method should be invoked.
invocationTimeOut() - Method in interface org.testng.annotations.ITestAnnotation
 
invocationTimeOut() - Method in annotation type org.testng.annotations.Test
The maximum number of milliseconds that the total number of invocations on this test method should take.
IObjectFactory - Interface in org.testng
Deprecated.
- This interface stands deprecated as of TestNG 7.5.0
IObjectFactory2 - Interface in org.testng
Deprecated.
- This interface stands deprecated as of TestNG 7.5.0
IObjectFactoryAnnotation - Interface in org.testng.annotations
 
IPanel - Interface in org.testng.reporters.jq
 
IParameterizable - Interface in org.testng.annotations
Parent interface for annotations that can receive parameters.
IParametersAnnotation - Interface in org.testng.annotations
Encapsulate the @Parameters / @testng.parameters annotation
IPostProcessor - Interface in org.testng.xml
Used by Parser to perform changes on an XML suite after it's been parsed.
IReporter - Interface in org.testng
This interface can be implemented by clients to generate a report.
IReporterConfig - Interface in org.testng.reporters
 
IResultMap - Interface in org.testng
 
IRetryAnalyzer - Interface in org.testng
Interface to implement to be able to have a chance to retry a failed test.
IRetryDataProvider - Interface in org.testng
Represents the ability to retry a data provider.
IRetryDataProvider.DisableDataProviderRetries - Class in org.testng
A dummy implementation which disables retrying of a failed data provider.
isAfterClassConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAfterGroups() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
isAfterGroupsConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAfterMethodConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAfterSuiteConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAfterTestConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAlwaysRun() - Method in interface org.testng.ITestNGMethod
 
isBeforeClassConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeGroups() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
isBeforeGroupsConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeMethodConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeSuiteConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeTestConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBlankStringList(List<String>) - Static method in class org.testng.util.Strings
Check if the given string list is null or empty or all elements are null or empty or blank.
isConfigurationMethod() - Method in interface org.testng.IInvokedMethod
 
isDataDriven() - Method in interface org.testng.ITestNGMethod
 
isDebugEnabled() - Method in class org.testng.log4testng.Logger
Check whether this logger is enabled for the DEBUG Level.
isEmpty() - Method in class org.testng.collections.MultiMap
 
isFailed() - Method in class org.testng.SuiteRunState
 
isFakeConfiguration() - Method in interface org.testng.annotations.IConfigurationAnnotation
Internal use only.
isGenerateDependsOnGroups() - Method in class org.testng.reporters.XMLReporterConfig
 
isGenerateDependsOnMethods() - Method in class org.testng.reporters.XMLReporterConfig
 
isGenerateGroupsAttribute() - Method in class org.testng.reporters.XMLReporterConfig
 
isGenerateTestResultAttributes() - Method in class org.testng.reporters.XMLReporterConfig
 
isGroupFilteringDisabled() - Method in class org.testng.xml.XmlTest
 
isIgnoreFailure() - Method in interface org.testng.annotations.IConfigurationAnnotation
 
isIgnoreFailure() - Method in interface org.testng.ITestNGMethod
 
isInfoEnabled() - Method in class org.testng.log4testng.Logger
Check whether this logger is enabled for the INFO Level.
isJUnit() - Method in class org.testng.xml.XmlSuite
 
isJUnit() - Method in class org.testng.xml.XmlTest
 
isJUnitTest(Class) - Static method in class org.testng.junit.JUnitTestFinder
Deprecated.
 
isNotNullAndNotEmpty(String) - Static method in class org.testng.util.Strings
 
isNotRunning() - Method in interface org.testng.ITestResult
 
isNullOrEmpty(String) - Static method in class org.testng.util.Strings
 
isParallel() - Method in interface org.testng.annotations.IDataProviderAnnotation
Whether this data provider should be used in parallel.
isParallel() - Method in interface org.testng.IDataProviderMethod
 
isParallel() - Method in enum org.testng.xml.XmlSuite.ParallelMode
 
isParsed() - Method in class org.testng.xml.XmlSuite
 
isPropagateDataProviderFailureAsTestFailure() - Method in class org.testng.TestNG
 
isPropagateFailureAsTestFailure() - Method in interface org.testng.annotations.IDataProviderAnnotation
 
isShareThreadPoolForDataProviders() - Method in class org.testng.TestNG
 
isShareThreadPoolForDataProviders() - Method in class org.testng.xml.XmlSuite
 
isSkip() - Method in exception org.testng.SkipException
Flag if the current exception marks a skipped method (true) or a failure ( false).
isSkip() - Method in exception org.testng.TimeBombSkipException
 
isSplitClassAndPackageNames() - Method in class org.testng.reporters.XMLReporterConfig
 
isSpockClass(Class<?>) - Static method in class org.testng.junit.JUnit4SpockMethod
Deprecated.
 
isStopped() - Method in interface org.testng.IMethodSelectorContext
 
isSuccess() - Method in interface org.testng.ITestResult
 
isTemporary() - Method in class org.testng.xml.LaunchSuite
Returns the temporary state.
isTest() - Method in interface org.testng.ITestNGMethod
 
isTest() - Method in class org.testng.junit.JUnit4TestMethod
Deprecated.
 
isTest() - Method in class org.testng.junit.JUnitTestMethod
Deprecated.
 
isTest(Class) - Method in class org.testng.junit.JUnit3TestRecognizer
Deprecated.
 
isTest(Class) - Method in class org.testng.junit.JUnit4TestRecognizer
Deprecated.
 
isTestMethod() - Method in interface org.testng.IInvokedMethod
 
isThrowableMatching(Throwable) - Method in interface org.testng.IExpectedExceptionsHolder
Check if the Throwable thrown by the test is matching with the holder logic
isTraceEnabled() - Method in class org.testng.log4testng.Logger
Check whether this logger is enabled for the TRACE Level.
ISuite - Interface in org.testng
Interface defining a Test Suite.
ISuiteListener - Interface in org.testng
Listener for test suites.
ISuiteParser - Interface in org.testng.xml
 
ISuiteResult - Interface in org.testng
This class represents the result of a suite run.
ISuiteRunnerListener - Interface in org.testng
 
ITest - Interface in org.testng
If a test class implements this interface, it will receive a special treatment, such as having the test name displayed in the HTML reports.
ITestAnnotation - Interface in org.testng.annotations
Encapsulate the @Test / @testng.test annotation.
ITestClass - Interface in org.testng
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.
ITestClassFinder - Interface in org.testng
This class is used by TestNG to locate the test classes.
ITestContext - Interface in org.testng
This class defines a test context which contains all the information for a given test run.
ITestListener - Interface in org.testng
A listener for test running.
ITestMethodFinder - Interface in org.testng
This interface allows to modify the strategy used by TestRunner to find its test methods.
ITestNGListener - Interface in org.testng
This is a marker interface for all objects that can be passed as a -listener argument.
ITestNGListenerFactory - Interface in org.testng
A factory used to create instances of ITestNGListener.
ITestNGMethod - Interface in org.testng
Describes a TestNG annotated method and the instance on which it will be invoked.
ITestNGThreadPoolExecutor - Interface in org.testng.thread
Deprecated.
- This interface stands deprecated as of TestNG v7.9.0.
ITestObjectFactory - Interface in org.testng
Parent interface of all the object factories.
ITestOrConfiguration - Interface in org.testng.annotations
This interface captures methods common to @Test and @Configuration
ITestResult - Interface in org.testng
This class describes the result of a test.
ITestRunnerFactory - Interface in org.testng
A factory for TestRunners to be used by SuiteRunners.
IThreadWorkerFactory<T> - Interface in org.testng.thread
A factory that creates workers used by GraphThreadPoolExecutor
IWeaveXml - Interface in org.testng.xml
Represents the capabilities of a XML serializer (As string)
IWorker<T> - Interface in org.testng.thread
A runnable object that is used by GraphThreadPoolExecutor to execute tasks

J

join(String, String[]) - Static method in class org.testng.util.Strings
 
junit - org.testng.TestNGAntTask.Mode
 
junit - Variable in class org.testng.CommandLineArgs
 
JUNIT - Static variable in class org.testng.CommandLineArgs
 
JUnit3TestClass - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnit3TestClass(Test) - Constructor for class org.testng.junit.JUnit3TestClass
Deprecated.
 
JUnit3TestMethod - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnit3TestMethod(ITestObjectFactory, JUnitTestClass, Test) - Constructor for class org.testng.junit.JUnit3TestMethod
Deprecated.
 
JUnit3TestRecognizer - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnit3TestRecognizer() - Constructor for class org.testng.junit.JUnit3TestRecognizer
Deprecated.
 
JUnit4ConfigurationMethod - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnit4ConfigurationMethod(Class<?>) - Constructor for class org.testng.junit.JUnit4ConfigurationMethod
Deprecated.
 
JUnit4SpockMethod - Class in org.testng.junit
Deprecated.
- Support for Spock1.x series is being deprecated as of TestNG 7.7.0
JUnit4SpockMethod(Description) - Constructor for class org.testng.junit.JUnit4SpockMethod
Deprecated.
 
JUnit4TestClass - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnit4TestClass(Description) - Constructor for class org.testng.junit.JUnit4TestClass
Deprecated.
 
JUnit4TestMethod - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnit4TestMethod(ITestObjectFactory, JUnitTestClass, Description) - Constructor for class org.testng.junit.JUnit4TestMethod
Deprecated.
 
JUnit4TestRecognizer - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnit4TestRecognizer() - Constructor for class org.testng.junit.JUnit4TestRecognizer
Deprecated.
 
JUnit4TestRunner - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnit4TestRunner(ITestObjectFactory, ITestResultNotifier) - Constructor for class org.testng.junit.JUnit4TestRunner
Deprecated.
 
JUnitMethodFinder - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnitMethodFinder(ITestObjectFactory, IAnnotationFinder) - Constructor for class org.testng.junit.JUnitMethodFinder
Deprecated.
 
JUnitReportReporter - Class in org.testng.reporters
 
JUnitReportReporter() - Constructor for class org.testng.reporters.JUnitReportReporter
 
JUnitTestClass - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnitTestClass(Class<?>) - Constructor for class org.testng.junit.JUnitTestClass
Deprecated.
 
JUnitTestFinder - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnitTestFinder() - Constructor for class org.testng.junit.JUnitTestFinder
Deprecated.
 
JUnitTestMethod - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnitTestMethod(ITestObjectFactory, JUnitTestClass, String, ConstructorOrMethod, Object) - Constructor for class org.testng.junit.JUnitTestMethod
Deprecated.
 
JUnitTestMethod(ITestObjectFactory, JUnitTestClass, ConstructorOrMethod, Object) - Constructor for class org.testng.junit.JUnitTestMethod
Deprecated.
 
JUnitTestRunner - Class in org.testng.junit
Deprecated.
- Support for running JUnit tests stands deprecated as of TestNG 7.7.0
JUnitTestRunner(ITestObjectFactory, ITestResultNotifier) - Constructor for class org.testng.junit.JUnitTestRunner
Deprecated.
 
JUnitXMLReporter - Class in org.testng.reporters
A JUnit XML report generator (replacing the original JUnitXMLReporter that was based on XML APIs).
JUnitXMLReporter() - Constructor for class org.testng.reporters.JUnitXMLReporter
 

K

keySet() - Method in class org.testng.collections.MultiMap
 

L

lastTimeOnly() - Method in annotation type org.testng.annotations.AfterMethod
If true and the @Test method that was just run has an invocationCount > 1, this AfterMethod will only be invoked once (after the last test invocation).
LaunchSuite - Class in org.testng.xml
This class is used to encapsulate a launch.
LaunchSuite(boolean) - Constructor for class org.testng.xml.LaunchSuite
Constructs a LaunchSuite
LaunchSuite.ExistingSuite - Class in org.testng.xml
ExistingSuite is a non-temporary LaunchSuite based on an existing file.
listener - Variable in class org.testng.CommandLineArgs
 
LISTENER - Static variable in class org.testng.CommandLineArgs
 
LISTENER_PREFIX - Static variable in class org.testng.reporters.VerboseReporter
Default prefix for messages printed out by this reporter
Listeners - Annotation Type in org.testng.annotations
This annotation lets you define listeners directly on a test class instead of doing so in your testng.xml.
LISTENERS_TO_SKIP_VIA_SPI - Static variable in class org.testng.CommandLineArgs
 
ListMultiMap<K,​V> - Class in org.testng.collections
A container to hold lists indexed by a key.
ListMultiMap(boolean) - Constructor for class org.testng.collections.ListMultiMap
 
Lists - Class in org.testng.collections
 
listToString(List<Integer>) - Static method in class org.testng.xml.XmlClass
 
loadClasses() - Method in class org.testng.xml.XmlClass
 
log(String) - Static method in class org.testng.Reporter
Log the passed string to the HTML reports.
log(String) - Method in class org.testng.reporters.VerboseReporter
 
log(String, boolean) - Static method in class org.testng.Reporter
Log the passed string to the HTML reports.
log(String, int) - Static method in class org.testng.Reporter
Log the passed string to the HTML reports if the current verbosity is equal to or greater than the one passed as a parameter.
log(String, int, boolean) - Static method in class org.testng.Reporter
Log the passed string to the HTML reports if the current verbosity is equal to or greater than the one passed as a parameter.
LOG - Static variable in class org.testng.CommandLineArgs
 
Logger - Class in org.testng.log4testng
TestNG logging now uses slf4j logging facade to satisfy the logging needs.
LoggingAssert - Class in org.testng.asserts
Log the messages of all the assertions that get run.
LoggingAssert() - Constructor for class org.testng.asserts.LoggingAssert
 

M

m_assertEnabled - Variable in class org.testng.TestNGAntTask
 
m_classFilesets - Variable in class org.testng.TestNGAntTask
 
m_configFailurePolicy - Variable in class org.testng.TestNGAntTask
 
m_dataproviderthreadCount - Variable in class org.testng.TestNGAntTask
 
m_dump - Variable in class org.testng.TestNGAntTask
True if the temporary file created by the Ant Task for command line parameters to TestNG should be preserved after execution.
m_end - Variable in class org.testng.TestNG
 
m_environment - Variable in class org.testng.TestNGAntTask
 
m_excludedGroups - Variable in class org.testng.TestNGAntTask
 
m_failurePropertyName - Variable in class org.testng.TestNGAntTask
 
m_fspPropertyName - Variable in class org.testng.TestNGAntTask
 
m_haltOnFailure - Variable in class org.testng.TestNGAntTask
 
m_haltOnFSP - Variable in class org.testng.TestNGAntTask
 
m_haltOnSkipped - Variable in class org.testng.TestNGAntTask
 
m_includedGroups - Variable in class org.testng.TestNGAntTask
 
m_javaCommand - Variable in class org.testng.TestNGAntTask
 
m_mainClass - Variable in class org.testng.TestNGAntTask
The suite runner name (defaults to TestNG.class.getName().
m_objects - Variable in class org.testng.collections.MultiMap
 
m_onHaltTarget - Variable in class org.testng.TestNGAntTask
 
m_outputDir - Variable in class org.testng.TestNGAntTask
 
m_parallelMode - Variable in class org.testng.TestNGAntTask
 
m_randomizeSuites - Variable in class org.testng.TestNGAntTask
 
m_skippedPropertyName - Variable in class org.testng.TestNGAntTask
 
m_start - Variable in class org.testng.TestNG
 
m_suites - Variable in class org.testng.TestNG
 
m_temporary - Variable in class org.testng.xml.LaunchSuite
 
m_testjar - Variable in class org.testng.TestNGAntTask
 
m_testRunnerFactory - Variable in class org.testng.TestNGAntTask
 
m_threadCount - Variable in class org.testng.TestNGAntTask
 
m_useDefaultListeners - Variable in class org.testng.TestNG
 
m_useDefaultListeners - Variable in class org.testng.TestNGAntTask
 
m_workingDir - Variable in class org.testng.TestNGAntTask
 
m_xmlFilesets - Variable in class org.testng.TestNGAntTask
 
main(String[]) - Static method in class org.testng.Converter
 
main(String[]) - Static method in class org.testng.TestNG
The TestNG entry point for command line execution.
Main - Class in org.testng.reporters.jq
 
Main() - Constructor for class org.testng.reporters.jq.Main
 
Maps - Class in org.testng.collections
 
Maps() - Constructor for class org.testng.collections.Maps
 
merge(Collection<K>, Collection<K>) - Static method in class org.testng.collections.Lists
 
merge(List<T>, BiPredicate<T, T>, List<T>...) - Static method in class org.testng.collections.Lists
Utility method that merges two lists by applying the provided condition.
merge(DataProviderHolder) - Method in class org.testng.DataProviderHolder
 
METHOD_NAME_COMPARATOR - Static variable in class org.testng.reporters.jq.ResultsByClass
 
METHOD_SELECTORS - Static variable in class org.testng.CommandLineArgs
 
MethodResult(List<ITestResult>) - Constructor for class org.testng.reporters.EmailableReporter2.MethodResult
 
METHODS - org.testng.xml.XmlSuite.ParallelMode
 
METHODS - Static variable in class org.testng.CommandLineArgs
 
METHODS_ALPHABETICAL - Static variable in class org.testng.reporters.SuiteHTMLReporter
Deprecated.
 
METHODS_CHRONOLOGICAL - Static variable in class org.testng.reporters.SuiteHTMLReporter
Deprecated.
 
METHODS_NOT_RUN - Static variable in class org.testng.reporters.SuiteHTMLReporter
Deprecated.
 
methodSelectors - Variable in class org.testng.CommandLineArgs
 
mixed - org.testng.TestNGAntTask.Mode
 
mixed - Variable in class org.testng.CommandLineArgs
 
MIXED - Static variable in class org.testng.CommandLineArgs
 
Model - Class in org.testng.reporters.jq
 
Model(List<ISuite>) - Constructor for class org.testng.reporters.jq.Model
 
moduleFactory() - Method in annotation type org.testng.annotations.Guice
 
modules() - Method in annotation type org.testng.annotations.Guice
 
MultiMap<K,​V,​C extends java.util.Collection<V>> - Class in org.testng.collections
 
MultiMap(boolean) - Constructor for class org.testng.collections.MultiMap
 

N

name() - Method in annotation type org.testng.annotations.CustomAttribute
 
name() - Method in annotation type org.testng.annotations.DataProvider
The name of this DataProvider.
nameMatchesAny(List<String>) - Method in class org.testng.xml.XmlTest
 
NavigatorPanel - Class in org.testng.reporters.jq
 
NavigatorPanel(Model, List<INavigatorPanel>) - Constructor for class org.testng.reporters.jq.NavigatorPanel
 
newArrayList() - Static method in class org.testng.collections.Lists
 
newArrayList(int) - Static method in class org.testng.collections.Lists
 
newArrayList(Collection<K>) - Static method in class org.testng.collections.Lists
 
newArrayList(Iterator<K>) - Static method in class org.testng.collections.Lists
 
newArrayList(K...) - Static method in class org.testng.collections.Lists
 
newArrayList(K[]...) - Static method in class org.testng.collections.Lists
 
newConcurrentHashSet() - Static method in class org.testng.collections.Sets
 
newConcurrentMap() - Static method in class org.testng.collections.Maps
 
newHashMap() - Static method in class org.testng.collections.Maps
 
newHashMap(Map<K, V>) - Static method in class org.testng.collections.Maps
 
newHashSet() - Static method in class org.testng.collections.Sets
 
newHashSet(Collection<V>) - Static method in class org.testng.collections.Sets
 
newHashSet(V...) - Static method in class org.testng.collections.Sets
 
newHashtable() - Static method in class org.testng.collections.Maps
 
newInstance(Class<?>) - Method in interface org.testng.IObjectFactory2
Deprecated.
- This interface stands deprecated as of TestNG 7.5.0
newInstance(Class<T>, Object...) - Method in interface org.testng.ITestObjectFactory
 
newInstance(Constructor<T>, Object...) - Method in interface org.testng.ITestObjectFactory
 
newInstance(String, Object...) - Method in interface org.testng.ITestObjectFactory
 
newLinkedHashMap() - Static method in class org.testng.collections.Maps
 
newLinkedHashSet() - Static method in class org.testng.collections.Sets
 
newLinkedHashSet(Collection<V>) - Static method in class org.testng.collections.Sets
 
newLinkedList() - Static method in class org.testng.collections.Lists
 
newLinkedList(Collection<K>) - Static method in class org.testng.collections.Lists
 
newListMultiMap() - Static method in class org.testng.collections.Maps
 
newSetMultiMap() - Static method in class org.testng.collections.Maps
 
newSortedListMultiMap() - Static method in class org.testng.collections.Maps
 
newSuiteExecutor(String, IDynamicGraph<ISuite>, IThreadWorkerFactory<ISuite>, int, int, long, TimeUnit, BlockingQueue<Runnable>, Comparator<ISuite>) - Method in interface org.testng.thread.IExecutorFactory
Deprecated.
 
newTestMethodExecutor(String, IDynamicGraph<ITestNGMethod>, IThreadWorkerFactory<ITestNGMethod>, int, int, long, TimeUnit, BlockingQueue<Runnable>, Comparator<ITestNGMethod>) - Method in interface org.testng.thread.IExecutorFactory
Deprecated.
 
newTestRunner(ISuite, XmlTest, Collection<IInvokedMethodListener>, List<IClassListener>) - Method in interface org.testng.ITestRunnerFactory
 
newTestRunner(ISuite, XmlTest, Collection<IInvokedMethodListener>, List<IClassListener>, Map<Class<? extends IDataProviderListener>, IDataProviderListener>) - Method in interface org.testng.ITestRunnerFactory
Produces a new TestRunner
newTestRunner(ISuite, XmlTest, Collection<IInvokedMethodListener>, List<IClassListener>, DataProviderHolder) - Method in interface org.testng.ITestRunnerFactory
Produces a new TestRunner
newXmlSuiteUsing(List<String>) - Static method in class org.testng.xml.internal.XmlSuiteUtils
 
NoInjection - Annotation Type in org.testng.annotations
Turn off TestNG injection for a parameter.
NONE - org.testng.reporters.XMLReporterConfig.StackTraceLevels
No stacktrace will be written in the output file
NONE - org.testng.xml.XmlSuite.ParallelMode
 
NULL_VALUE - Static variable in annotation type org.testng.annotations.Parameters
 

O

OBJECT_FACTORY - Static variable in class org.testng.CommandLineArgs
 
objectFactory - Variable in class org.testng.CommandLineArgs
 
ObjectFactory - Annotation Type in org.testng.annotations
Marks a method as the object factory to use for creating all test instances.
Objects - Class in org.testng.collections
 
Objects.ToStringHelper - Class in org.testng.collections
 
OLD_TESTNG_DTD_URL - Static variable in class org.testng.xml.internal.Parser
The URL to the deprecated TestNG DTD.
omitEmptyStrings() - Method in class org.testng.collections.Objects.ToStringHelper
 
omitNulls() - Method in class org.testng.collections.Objects.ToStringHelper
 
onAfterAssert(IAssert<?>) - Method in class org.testng.asserts.Assertion
Invoked after an assert is run.
onAfterAssert(IAssert<?>) - Method in interface org.testng.asserts.IAssertLifecycle
Invoked after an assert is run.
onAfterClass(ITestClass) - Method in interface org.testng.IClassListener
 
onAssertFailure(IAssert<?>, AssertionError) - Method in class org.testng.asserts.Assertion
 
onAssertFailure(IAssert<?>, AssertionError) - Method in interface org.testng.asserts.IAssertLifecycle
Invoked when an assert fails.
onAssertSuccess(IAssert<?>) - Method in class org.testng.asserts.Assertion
Invoked when an assert succeeds.
onAssertSuccess(IAssert<?>) - Method in interface org.testng.asserts.IAssertLifecycle
Invoked when an assert succeeds.
onBeforeAssert(IAssert<?>) - Method in class org.testng.asserts.Assertion
Invoked before an assert is run.
onBeforeAssert(IAssert<?>) - Method in interface org.testng.asserts.IAssertLifecycle
Invoked before an assert is run.
onBeforeAssert(IAssert<?>) - Method in class org.testng.asserts.LoggingAssert
 
onBeforeClass(ITestClass) - Method in interface org.testng.IClassListener
 
onConfigurationFailure(ITestResult) - Method in interface org.testng.IConfigurationListener
Invoked whenever a configuration method failed.
onConfigurationFailure(ITestResult) - Method in class org.testng.reporters.ExitCodeListener
 
onConfigurationFailure(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
 
onConfigurationFailure(ITestResult) - Method in class org.testng.reporters.VerboseReporter
 
onConfigurationFailure(ITestResult) - Method in class org.testng.TestListenerAdapter
 
onConfigurationFailure(ITestResult, ITestNGMethod) - Method in interface org.testng.IConfigurationListener
Invoked whenever a configuration method failed.
onConfigurationSkip(ITestResult) - Method in interface org.testng.IConfigurationListener
Invoked whenever a configuration method was skipped.
onConfigurationSkip(ITestResult) - Method in class org.testng.reporters.ExitCodeListener
 
onConfigurationSkip(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
 
onConfigurationSkip(ITestResult) - Method in class org.testng.reporters.VerboseReporter
 
onConfigurationSkip(ITestResult) - Method in class org.testng.TestListenerAdapter
 
onConfigurationSkip(ITestResult, ITestNGMethod) - Method in interface org.testng.IConfigurationListener
Invoked whenever a configuration method was skipped.
onConfigurationSuccess(ITestResult) - Method in interface org.testng.IConfigurationListener
Invoked whenever a configuration method succeeded.
onConfigurationSuccess(ITestResult) - Method in class org.testng.reporters.ExitCodeListener
 
onConfigurationSuccess(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
 
onConfigurationSuccess(ITestResult) - Method in class org.testng.reporters.VerboseReporter
 
onConfigurationSuccess(ITestResult) - Method in class org.testng.TestListenerAdapter
 
onConfigurationSuccess(ITestResult, ITestNGMethod) - Method in interface org.testng.IConfigurationListener
Invoked whenever a configuration method succeeded.
onDataProviderFailure(ITestNGMethod, ITestContext, RuntimeException) - Method in interface org.testng.IDataProviderListener
This method gets invoked when the data provider encounters an exception
onElement(String) - Method in class org.testng.xml.XmlDefine
 
onExclude(String) - Method in class org.testng.xml.XmlRun
 
onExecutionFinish() - Method in interface org.testng.IExecutionListener
Invoked once all the suites have been run.
onExecutionStart() - Method in interface org.testng.IExecutionListener
Invoked before the TestNG run starts.
onFinish(ISuite) - Method in interface org.testng.ISuiteListener
This method is invoked after the SuiteRunner has run all the tests in the suite.
onFinish(ITestContext) - Method in interface org.testng.ITestListener
Invoked after all the test methods belonging to the classes inside the <test> tag have run and all their Configuration methods have been called.
onFinish(ITestContext) - Method in class org.testng.reporters.ExitCodeListener
 
onFinish(ITestContext) - Method in class org.testng.reporters.JUnitXMLReporter
Invoked after all the tests have run and all their Configuration methods have been called.
onFinish(ITestContext) - Method in class org.testng.reporters.TestHTMLReporter
 
onFinish(ITestContext) - Method in class org.testng.reporters.TextReporter
 
onFinish(ITestContext) - Method in class org.testng.reporters.VerboseReporter
 
onFinish(ITestContext) - Method in class org.testng.TestListenerAdapter
 
onGroup(String, String) - Method in class org.testng.xml.XmlDependencies
 
onInclude(String) - Method in class org.testng.xml.XmlRun
 
onListenerElement(String) - Method in class org.testng.xml.XmlSuite
 
onlyForGroups() - Method in annotation type org.testng.annotations.AfterMethod
Causes this method to be invoked only if the test method belongs to a listed group.
onlyForGroups() - Method in annotation type org.testng.annotations.BeforeMethod
Causes this method to be invoked only if the test method belongs to a listed group.
onMethodSelectorElement(String, String, String) - Method in class org.testng.xml.XmlSuite
 
onPackagesElement(String) - Method in class org.testng.xml.XmlSuite
 
onParameterElement(String, String) - Method in class org.testng.xml.XmlSuite
 
onStart(ISuite) - Method in interface org.testng.ISuiteListener
This method is invoked before the SuiteRunner starts.
onStart(ITestContext) - Method in interface org.testng.ITestListener
Invoked before running all the test methods belonging to the classes inside the <test> tag and calling all their Configuration methods.
onStart(ITestContext) - Method in class org.testng.reporters.ExitCodeListener
 
onStart(ITestContext) - Method in class org.testng.reporters.JUnitXMLReporter
Invoked after the test class is instantiated and before any configuration method is called.
onStart(ITestContext) - Method in class org.testng.reporters.TestHTMLReporter
 
onStart(ITestContext) - Method in class org.testng.reporters.VerboseReporter
 
onStart(ITestContext) - Method in class org.testng.TestListenerAdapter
 
onSuiteFilesElement(String) - Method in class org.testng.xml.XmlSuite
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in interface org.testng.ITestListener
Invoked each time a method fails but has been annotated with successPercentage and this failure still keeps it within the success percentage requested.
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.testng.reporters.ExitCodeListener
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.testng.reporters.VerboseReporter
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.testng.TestListenerAdapter
 
onTestFailedWithTimeout(ITestResult) - Method in interface org.testng.ITestListener
Invoked each time a test fails due to a timeout.
onTestFailedWithTimeout(ITestResult) - Method in class org.testng.TestListenerAdapter
 
onTestFailure(ITestResult) - Method in interface org.testng.ITestListener
Invoked each time a test fails.
onTestFailure(ITestResult) - Method in class org.testng.reporters.DotTestListener
 
onTestFailure(ITestResult) - Method in class org.testng.reporters.ExitCodeListener
 
onTestFailure(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
Invoked each time a test fails.
onTestFailure(ITestResult) - Method in class org.testng.reporters.VerboseReporter
 
onTestFailure(ITestResult) - Method in class org.testng.TestListenerAdapter
 
onTestSkipped(ITestResult) - Method in interface org.testng.ITestListener
Invoked each time a test is skipped.
onTestSkipped(ITestResult) - Method in class org.testng.reporters.DotTestListener
 
onTestSkipped(ITestResult) - Method in class org.testng.reporters.ExitCodeListener
 
onTestSkipped(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
Invoked each time a test is skipped.
onTestSkipped(ITestResult) - Method in class org.testng.reporters.VerboseReporter
 
onTestSkipped(ITestResult) - Method in class org.testng.TestListenerAdapter
 
onTestStart(ITestResult) - Method in interface org.testng.ITestListener
Invoked each time before a test will be invoked.
onTestStart(ITestResult) - Method in class org.testng.reporters.ExitCodeListener
 
onTestStart(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
 
onTestStart(ITestResult) - Method in class org.testng.reporters.VerboseReporter
 
onTestStart(ITestResult) - Method in class org.testng.TestListenerAdapter
 
onTestSuccess(ITestResult) - Method in interface org.testng.ITestListener
Invoked each time a test succeeds.
onTestSuccess(ITestResult) - Method in class org.testng.reporters.DotTestListener
 
onTestSuccess(ITestResult) - Method in class org.testng.reporters.ExitCodeListener
 
onTestSuccess(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
Invoked each time a test succeeds.
onTestSuccess(ITestResult) - Method in class org.testng.reporters.VerboseReporter
 
onTestSuccess(ITestResult) - Method in class org.testng.TestListenerAdapter
 
Optional - Annotation Type in org.testng.annotations
Specifies that the current parameter is optional.
org.testng - package org.testng
 
org.testng.annotations - package org.testng.annotations
 
org.testng.asserts - package org.testng.asserts
 
org.testng.collections - package org.testng.collections
 
org.testng.junit - package org.testng.junit
 
org.testng.log - package org.testng.log
 
org.testng.log4testng - package org.testng.log4testng
 
org.testng.reporters - package org.testng.reporters
 
org.testng.reporters.jq - package org.testng.reporters.jq
 
org.testng.reporters.util - package org.testng.reporters.util
 
org.testng.thread - package org.testng.thread
 
org.testng.util - package org.testng.util
 
org.testng.xml - package org.testng.xml
 
org.testng.xml.internal - package org.testng.xml.internal
 
OUTPUT_DIRECTORY - Static variable in class org.testng.CommandLineArgs
 
outputDirectory - Variable in class org.testng.CommandLineArgs
 
OVERRIDE_INCLUDED_METHODS - Static variable in class org.testng.CommandLineArgs
 
overrideIncludedMethods - Variable in class org.testng.CommandLineArgs
 

P

parallel() - Method in annotation type org.testng.annotations.DataProvider
Whether this data provider should be run in parallel.
PARALLEL - Static variable in class org.testng.CommandLineArgs
 
parallelMode - Variable in class org.testng.CommandLineArgs
 
Parameters - Annotation Type in org.testng.annotations
Describes how to pass parameters to a @Test method.
parse() - Method in class org.testng.xml.internal.Parser
Parses the TestNG test suite and returns the corresponding XmlSuite, and possibly, other XmlSuite that are pointed to by <suite-files> tags.
parse(int) - Static method in enum org.testng.reporters.XMLReporterConfig.StackTraceLevels
 
parse(InputStream, IPostProcessor) - Static method in class org.testng.xml.internal.Parser
 
parse(InputStream, DefaultHandler) - Method in class org.testng.xml.XMLParser
 
parse(String) - Static method in enum org.testng.reporters.XMLReporterConfig.StackTraceLevels
 
parse(String, InputStream, boolean) - Method in interface org.testng.xml.IFileParser
 
parse(String, InputStream, boolean) - Method in class org.testng.xml.SuiteXmlParser
 
parse(String, IPostProcessor) - Static method in class org.testng.xml.internal.Parser
 
Parser - Class in org.testng.xml.internal
Parser is a parser for a TestNG XML test suite file.
Parser - Class in org.testng.xml
Deprecated.
- This class stands deprecated as of TestNG 7.5.0. There are no alternatives for this class.
Parser() - Constructor for class org.testng.xml.internal.Parser
Creates a parser that will try to find the DEFAULT_FILENAME from the jar.
Parser(InputStream) - Constructor for class org.testng.xml.internal.Parser
 
Parser(InputStream) - Constructor for class org.testng.xml.Parser
Deprecated.
 
Parser(String) - Constructor for class org.testng.xml.internal.Parser
Constructs a Parser to use the inputStream as the source of the xml test suite to parse.
Parser(String) - Constructor for class org.testng.xml.Parser
Deprecated.
 
parseToList() - Method in class org.testng.xml.internal.Parser
 
PerSuiteXMLReporter - Class in org.testng.reporters
The main entry for the XML generation operation
PerSuiteXMLReporter() - Constructor for class org.testng.reporters.PerSuiteXMLReporter
 
pluralize(int, String) - Static method in class org.testng.reporters.jq.BasePanel
 
PojoReporterConfig - Class in org.testng.reporters
 
PojoReporterConfig(Object) - Constructor for class org.testng.reporters.PojoReporterConfig
 
pop() - Method in class org.testng.reporters.XMLStringBuffer
Pop the last pushed element without verifying it if matches the previously pushed tag.
pop(String) - Method in class org.testng.reporters.XMLStringBuffer
Pop the last pushed element and throws an AssertionError if it doesn't match the corresponding tag that was pushed earlier.
port - Variable in class org.testng.CommandLineArgs
 
PORT - Static variable in class org.testng.CommandLineArgs
 
preserveOrder - org.testng.TestRunner.PriorityWeight
 
printStackTrace(PrintStream) - Method in exception org.testng.TimeBombSkipException
 
printStackTrace(PrintWriter) - Method in exception org.testng.TimeBombSkipException
 
priority - org.testng.TestRunner.PriorityWeight
 
priority() - Method in annotation type org.testng.annotations.Test
The scheduling priority.
privateMain(String[], ITestListener) - Static method in class org.testng.TestNG
Note: this method is not part of the public API and is meant for internal usage only.
process(Collection<XmlSuite>) - Method in interface org.testng.xml.IPostProcessor
 
PROPAGATE_DATA_PROVIDER_FAILURES_AS_TEST_FAILURE - Static variable in class org.testng.CommandLineArgs
 
propagateDataProviderFailureAsTestFailure - Variable in class org.testng.CommandLineArgs
 
propagateDataProviderFailureAsTestFailure() - Method in class org.testng.TestNG
 
propagateFailureAsTestFailure() - Method in annotation type org.testng.annotations.DataProvider
Helps TestNG decide if it should treat data provider failures as test failures.
propagateFailureAsTestFailure() - Method in interface org.testng.annotations.IDataProviderAnnotation
Have TestNG consider failures in data provider methods as test failures.
propagateFailureAsTestFailure() - Method in interface org.testng.IDataProviderMethod
 
PROPERTIES - Static variable in interface org.testng.reporters.XMLConstants
the properties element
PROPERTY - Static variable in interface org.testng.reporters.XMLConstants
the property element
push(String) - Method in class org.testng.reporters.XMLStringBuffer
Push a new tag.
push(String, String) - Method in class org.testng.reporters.XMLStringBuffer
Push a new tag.
push(String, String...) - Method in class org.testng.reporters.XMLStringBuffer
 
push(String, String, Properties) - Method in class org.testng.reporters.XMLStringBuffer
Push a new tag.
push(String, Properties) - Method in class org.testng.reporters.XMLStringBuffer
Push a new tag.
put(K, V) - Method in class org.testng.collections.MultiMap
 
putAll(K, Collection<? extends V>) - Method in class org.testng.collections.MultiMap
 

R

RANDOMIZE_SUITES - Static variable in class org.testng.CommandLineArgs
 
randomizeSuites - Variable in class org.testng.CommandLineArgs
 
readFile(InputStream) - Static method in class org.testng.reporters.Files
 
READY - org.testng.IDynamicGraph.Status
 
reduceStackTrace() - Method in exception org.testng.SkipException
Subclasses may use this method to reduce the printed stack trace.
remove(K, V) - Method in class org.testng.collections.MultiMap
 
removeAll(K) - Method in class org.testng.collections.MultiMap
 
removeAndCheckIfLast(ITestNGMethod, Object) - Method in class org.testng.ClassMethodMap
Remove the method from this map.
removeAttribute(String) - Method in interface org.testng.IAttributes
Remove the attribute
removeAttribute(String) - Method in class org.testng.SuiteRunner
 
removeAttribute(String) - Method in class org.testng.TestRunner
 
removeResult(ITestNGMethod) - Method in interface org.testng.IResultMap
 
removeResult(ITestResult) - Method in interface org.testng.IResultMap
 
REPORT_HEADER_FILE - Static variable in class org.testng.reporters.jq.Main
 
reporter - Variable in class org.testng.CommandLineArgs
 
Reporter - Class in org.testng
This class is used for test methods to log messages that will be included in the HTML reports generated by TestNG.
Reporter() - Constructor for class org.testng.Reporter
 
REPORTER - Static variable in class org.testng.CommandLineArgs
 
REPORTER_OUTPUT - Static variable in class org.testng.reporters.SuiteHTMLReporter
Deprecated.
 
ReporterPanel - Class in org.testng.reporters.jq
Display the reporter output for each test result.
ReporterPanel(Model) - Constructor for class org.testng.reporters.jq.ReporterPanel
 
resolveEntity(String, String) - Method in class org.testng.xml.TestNGContentHandler
 
restoreStackTrace() - Method in exception org.testng.SkipException
Restores the original exception stack trace after a previous call to SkipException.reduceStackTrace().
RESULT_COMPARATOR - Static variable in class org.testng.reporters.EmailableReporter2.TestResult
Orders test results by class name and then by method name (in lexicographic order).
ResultsByClass - Class in org.testng.reporters.jq
 
ResultsByClass() - Constructor for class org.testng.reporters.jq.ResultsByClass
 
retry(IDataProviderMethod) - Method in class org.testng.IRetryDataProvider.DisableDataProviderRetries
 
retry(IDataProviderMethod) - Method in interface org.testng.IRetryDataProvider
 
retry(ITestResult) - Method in interface org.testng.IRetryAnalyzer
Returns true if the test method has to be retried, false otherwise.
retry(ITestResult) - Method in class org.testng.util.RetryAnalyzerCount
Retries the test if count is not 0.
retryAnalyzer() - Method in annotation type org.testng.annotations.Test
The name of the class that should be called to test if the test should be retried.
RetryAnalyzerCount - Class in org.testng.util
An implementation of IRetryAnalyzer that allows you to specify the maximum number of times you want your test to be retried.
RetryAnalyzerCount() - Constructor for class org.testng.util.RetryAnalyzerCount
 
retryMethod(ITestResult) - Method in class org.testng.util.RetryAnalyzerCount
The method implemented by the class that test if the test must be retried or not.
retryUsing() - Method in annotation type org.testng.annotations.DataProvider
 
retryUsing() - Method in interface org.testng.annotations.IDataProviderAnnotation
 
retryUsing() - Method in interface org.testng.IDataProviderMethod
 
run() - Method in interface org.testng.Assert.ThrowingRunnable
 
run() - Method in interface org.testng.ISuite
Triggers the start of running tests included in the suite.
run() - Method in class org.testng.SuiteRunner
 
run() - Method in class org.testng.SuiteRunnerWorker
 
run() - Method in class org.testng.TestNG
Run TestNG.
run() - Method in class org.testng.TestRunner
The main entry method for TestRunner.
run() - Method in interface org.testng.thread.ITestNGThreadPoolExecutor
Deprecated.
Helps kick start the execution and is the point of entry for execution.
run(Class<?>, String...) - Method in interface org.testng.junit.IJUnitTestRunner
Deprecated.
 
run(Class, String...) - Method in class org.testng.junit.JUnit4TestRunner
Deprecated.
A start implementation that ignores the TestResult
run(Class, String...) - Method in class org.testng.junit.JUnitTestRunner
Deprecated.
A start implementation that ignores the TestResult
run(IConfigureCallBack, ITestResult) - Method in interface org.testng.IConfigurable
 
run(IHookCallBack, ITestResult) - Method in interface org.testng.IHookable
 
runConfigurationMethod(ITestResult) - Method in interface org.testng.IConfigureCallBack
Invoke the test method currently being hijacked.
runFailed(Class, String) - Method in class org.testng.junit.JUnitTestRunner
Deprecated.
 
RUNNING - org.testng.IDynamicGraph.Status
 
runSuites() - Method in class org.testng.TestNG
Run the test suites.
runSuitesLocally() - Method in class org.testng.TestNG
This needs to be public for maven2, for now..At least until an alternative mechanism is found.
runTestMethod(ITestResult) - Method in interface org.testng.IHookCallBack
Invoke the test method currently being hijacked.
RuntimeBehavior - Class in org.testng.reporters
This class houses handling all JVM arguments related to TestNG's default reports.

S

S - Static variable in class org.testng.reporters.jq.BasePanel
 
save(File) - Method in class org.testng.xml.LaunchSuite.ExistingSuite
Trying to run an existing XML file: copy its content to where the plug-in expects it.
save(File) - Method in class org.testng.xml.LaunchSuite
Saves the suite file in the specified directory and returns the file pathname.
setAllowReturnValues(Boolean) - Method in class org.testng.xml.XmlSuite
 
setAllowReturnValues(Boolean) - Method in class org.testng.xml.XmlTest
 
setAllTestMethods(List<ITestNGMethod>) - Method in class org.testng.TestListenerAdapter
 
setAlwaysRun(boolean) - Method in interface org.testng.annotations.ITestAnnotation
 
setAttribute(String, Object) - Method in interface org.testng.IAttributes
Set a custom attribute.
setAttribute(String, Object) - Method in class org.testng.SuiteRunner
 
setAttribute(String, Object) - Method in class org.testng.TestRunner
 
setAttributes(CustomAttribute[]) - Method in interface org.testng.annotations.ITestAnnotation
 
setClass(Class) - Method in class org.testng.xml.XmlClass
 
setClasses(List<XmlClass>) - Method in class org.testng.xml.XmlTest
 
setClassfilesetRef(Reference) - Method in class org.testng.TestNGAntTask
 
setClassName(String) - Method in class org.testng.xml.XmlMethodSelector
 
setClasspath(Path) - Method in class org.testng.TestNGAntTask
Set the classpath to be used when running the Java class
setClasspathRef(Reference) - Method in class org.testng.TestNGAntTask
Classpath to use, by reference.
setCommandLineSuite(XmlSuite) - Method in class org.testng.TestNG
 
setConfigFailurePolicy(String) - Method in class org.testng.TestNGAntTask
 
setConfigFailurePolicy(XmlSuite.FailurePolicy) - Method in class org.testng.TestNG
Sets the policy for whether or not to ever invoke a configuration method again after it has failed once.
setConfigFailurePolicy(XmlSuite.FailurePolicy) - Method in class org.testng.xml.XmlSuite
Sets the configuration failure policy.
setCount(int) - Method in class org.testng.util.RetryAnalyzerCount
 
setCurrentTestResult(ITestResult) - Static method in class org.testng.Reporter
 
setDataProvider(String) - Method in interface org.testng.annotations.ITestAnnotation
 
setDataProviderClass(Class<?>) - Method in interface org.testng.annotations.ITestAnnotation
 
setDataProviderDynamicClass(String) - Method in interface org.testng.annotations.ITestAnnotation
 
setDataProviderThreadCount(int) - Method in class org.testng.TestNG
 
setDataProviderThreadCount(int) - Method in class org.testng.xml.XmlSuite
 
setDataProviderThreadCount(String) - Method in class org.testng.TestNGAntTask
 
setDate(long) - Method in interface org.testng.ITestNGMethod
 
setDefaultComment(String) - Method in class org.testng.reporters.XMLStringBuffer
 
setDefaultSuiteName(String) - Method in class org.testng.TestNG
 
setDefaultTestName(String) - Method in class org.testng.TestNG
 
setDefines(List<XmlDefine>) - Method in class org.testng.xml.XmlGroups
 
setDelegateCommandSystemProperties(boolean) - Method in class org.testng.TestNGAntTask
 
setDependsOnGroups(String[]) - Method in interface org.testng.annotations.ITestOrConfiguration
 
setDependsOnMethods(String[]) - Method in interface org.testng.annotations.ITestOrConfiguration
 
setDescription(String) - Method in interface org.testng.annotations.ITestOrConfiguration
 
setDescription(String) - Method in interface org.testng.ITestNGMethod
 
setDescription(String) - Method in class org.testng.xml.XmlInclude
 
setDocType(String) - Method in class org.testng.reporters.XMLStringBuffer
Set the doctype for this document.
setDumpCommand(boolean) - Method in class org.testng.TestNGAntTask
 
setDumpEnv(boolean) - Method in class org.testng.TestNGAntTask
Sets the flag to write on System.out the Ant Environment properties.
setDumpSys(boolean) - Method in class org.testng.TestNGAntTask
Sets te flag to write on System.out the system properties.
setDurationAttributes(XMLReporterConfig, Properties, Date, Date) - Static method in class org.testng.reporters.AbstractXmlReporter
 
setElement(String, String) - Method in class org.testng.xml.XmlMethodSelector
 
setEnableAssert(boolean) - Method in class org.testng.TestNGAntTask
 
setEnabled(boolean) - Method in interface org.testng.annotations.IParameterizable
 
setEndMillis(long) - Method in interface org.testng.ITestResult
 
setEscapeHtml(boolean) - Static method in class org.testng.Reporter
 
setExclude(List<String>) - Method in class org.testng.xml.XmlPackage
 
setExcludedGroups(String) - Method in class org.testng.TestNG
Define which groups will be excluded from this run.
setExcludedGroups(String) - Method in class org.testng.TestNGAntTask
 
setExcludedGroups(List<String>) - Method in class org.testng.xml.XmlSuite
 
setExcludedGroups(List<String>) - Method in class org.testng.xml.XmlTest
 
setExcludedMethods(List<String>) - Method in class org.testng.xml.XmlClass
 
setExecutorFactory(IExecutorFactory) - Method in class org.testng.TestNG
Deprecated.
setExecutorFactoryClass(String) - Method in class org.testng.TestNG
Deprecated.
setExpectedExceptions(Class<?>[]) - Method in interface org.testng.annotations.ITestAnnotation
 
setExpectedExceptionsMessageRegExp(String) - Method in interface org.testng.annotations.ITestAnnotation
 
setExpression(String) - Method in class org.testng.xml.XmlScript
 
setFailedButWithinSuccessPercentageTests(List<ITestResult>) - Method in class org.testng.TestListenerAdapter
 
setFailedTests(List<ITestResult>) - Method in class org.testng.TestListenerAdapter
 
setFailureProperty(String) - Method in class org.testng.TestNGAntTask
 
setFileFragmentationLevel(int) - Method in class org.testng.reporters.XMLReporterConfig
 
setFileName(String) - Method in class org.testng.reporters.EmailableReporter
Deprecated.
 
setFileName(String) - Method in class org.testng.reporters.EmailableReporter2
 
setFileName(String) - Method in class org.testng.xml.XmlSuite
 
setForkJvm(boolean) - Method in class org.testng.TestNGAntTask
 
setFSPProperty(String) - Method in class org.testng.TestNGAntTask
 
setGenerateDependsOnGroups(boolean) - Method in class org.testng.reporters.XMLReporterConfig
 
setGenerateDependsOnMethods(boolean) - Method in class org.testng.reporters.XMLReporterConfig
 
setGenerateGroupsAttribute(boolean) - Method in class org.testng.reporters.XMLReporterConfig
 
setGenerateResultsPerSuite(boolean) - Method in class org.testng.TestNG
 
setGenerateTestResultAttributes(boolean) - Method in class org.testng.reporters.XMLReporterConfig
 
setGroupByInstances(boolean) - Method in class org.testng.TestNG
 
setGroupByInstances(boolean) - Method in class org.testng.xml.XmlSuite
 
setGroupByInstances(boolean) - Method in class org.testng.xml.XmlTest
 
setGroups(String) - Method in class org.testng.TestNG
Define which groups will be included from this run.
setGroups(String) - Method in class org.testng.TestNGAntTask
 
setGroups(String[]) - Method in interface org.testng.annotations.ITestOrConfiguration
 
setGroups(XmlGroups) - Method in class org.testng.xml.XmlSuite
 
setGroups(XmlGroups) - Method in class org.testng.xml.XmlTest
 
setGuiceStage(String) - Method in class org.testng.xml.XmlSuite
 
setHaltonfailure(boolean) - Method in class org.testng.TestNGAntTask
 
setHaltonFSP(boolean) - Method in class org.testng.TestNGAntTask
 
setHaltonskipped(boolean) - Method in class org.testng.TestNGAntTask
 
setHost(String) - Method in class org.testng.SuiteRunner
 
setId(String) - Method in interface org.testng.ITestNGMethod
 
setIgnoreMissedTestNames(boolean) - Method in class org.testng.TestNGAntTask
 
setIgnoreMissingDependencies(boolean) - Method in interface org.testng.annotations.ITestAnnotation
 
setIgnoreMissingDependencies(boolean) - Method in interface org.testng.ITestNGMethod
 
setInclude(List<String>) - Method in class org.testng.xml.XmlPackage
 
setIncludedGroups(List<String>) - Method in class org.testng.xml.XmlSuite
 
setIncludedGroups(List<String>) - Method in class org.testng.xml.XmlTest
 
setIncludedMethods(List<XmlInclude>) - Method in class org.testng.xml.XmlClass
 
setIndex(int) - Method in class org.testng.xml.XmlClass
 
setIndex(int) - Method in class org.testng.xml.XmlTest
 
setIndices(List<Integer>) - Method in interface org.testng.annotations.IDataProviderAnnotation
 
setIndices(List<Integer>) - Method in interface org.testng.annotations.IFactoryAnnotation
 
setInjectorFactory(IInjectorFactory) - Method in class org.testng.TestNG
 
setInterceptedPriority(int) - Method in interface org.testng.ITestNGMethod
 
setInvocationCount(int) - Method in interface org.testng.annotations.ITestAnnotation
 
setInvocationCount(int) - Method in interface org.testng.ITestNGMethod
 
setInvocationNumbers(List<Integer>) - Method in interface org.testng.ITestNGMethod
 
setInvocationTimeOut(long) - Method in interface org.testng.annotations.ITestAnnotation
 
setInvokedMethodListeners(Collection<IInvokedMethodListener>) - Method in interface org.testng.junit.IJUnitTestRunner
Deprecated.
 
setInvokedMethodListeners(Collection<IInvokedMethodListener>) - Method in class org.testng.junit.JUnit4TestRunner
Deprecated.
 
setInvokedMethodListeners(Collection<IInvokedMethodListener>) - Method in class org.testng.junit.JUnitTestRunner
Deprecated.
 
setJunit(boolean) - Method in class org.testng.xml.XmlTest
 
setJunit(Boolean) - Method in class org.testng.xml.XmlSuite
 
setJUnit(boolean) - Method in class org.testng.TestNGAntTask
 
setJUnit(boolean) - Method in class org.testng.xml.XmlTest
 
setJUnit(Boolean) - Method in class org.testng.TestNG
Specify if this run should be made in JUnit mode
setJUnit(Boolean) - Method in class org.testng.xml.XmlSuite
Sets the JUnit compatibility flag.
setJvm(String) - Method in class org.testng.TestNGAntTask
Sets a particular JVM to be used.
setLanguage(String) - Method in class org.testng.xml.XmlScript
 
setListenerClasses(List<Class<? extends ITestNGListener>>) - Method in class org.testng.TestNG
Define which listeners to user for this run.
setListeners(String) - Method in class org.testng.TestNGAntTask
 
setListeners(List<String>) - Method in class org.testng.xml.XmlSuite
 
setListenersToSkipFromBeingWiredInViaServiceLoaders(String...) - Method in class org.testng.TestNG
 
setLoadClasses(boolean) - Method in class org.testng.xml.internal.Parser
 
setMetaGroups(Map<String, List<String>>) - Method in class org.testng.xml.XmlTest
 
setMethodInterceptor(IMethodInterceptor) - Method in class org.testng.TestNG
 
setMethods(String) - Method in class org.testng.TestNGAntTask
 
setMethodSelector(XmlMethodSelector) - Method in class org.testng.xml.XmlMethodSelectors
 
setMethodSelectors(String) - Method in class org.testng.TestNGAntTask
 
setMethodSelectors(List<XmlMethodSelector>) - Method in class org.testng.xml.XmlSuite
Sets the method selectors.
setMethodSelectors(List<XmlMethodSelector>) - Method in class org.testng.xml.XmlTest
 
setMethodSelectors(XmlMethodSelectors) - Method in class org.testng.xml.XmlSuite
 
setMissingGroup(String) - Method in interface org.testng.ITestNGMethod
 
setMixed(Boolean) - Method in class org.testng.TestNG
 
setMode(TestNGAntTask.Mode) - Method in class org.testng.TestNGAntTask
 
setMoreInvocationChecker(Callable<Boolean>) - Method in interface org.testng.ITestNGMethod
 
SetMultiMap<K,​V> - Class in org.testng.collections
A container to hold sets indexed by a key.
SetMultiMap(boolean) - Constructor for class org.testng.collections.SetMultiMap
 
setName(String) - Method in interface org.testng.annotations.IDataProviderAnnotation
 
setName(String) - Method in class org.testng.xml.XmlClass
 
setName(String) - Method in class org.testng.xml.XmlDefine
 
setName(String) - Method in class org.testng.xml.XmlInclude
 
setName(String) - Method in class org.testng.xml.XmlMethodSelector
 
setName(String) - Method in class org.testng.xml.XmlPackage
 
setName(String) - Method in class org.testng.xml.XmlSuite
Sets the name.
setName(String) - Method in class org.testng.xml.XmlTest
 
setObjectFactory(Class<? extends ITestObjectFactory>) - Method in class org.testng.TestNG
 
setObjectFactory(String) - Method in class org.testng.TestNGAntTask
 
setObjectFactory(ITestObjectFactory) - Method in class org.testng.SuiteRunner
 
setObjectFactory(ITestObjectFactory) - Method in class org.testng.TestNG
 
setObjectFactory(ITestObjectFactory) - Method in class org.testng.xml.XmlSuite
Deprecated.
setObjectFactoryClass(Class<? extends ITestObjectFactory>) - Method in class org.testng.xml.XmlSuite
 
setOnHaltTarget(String) - Method in class org.testng.TestNGAntTask
 
setOutputDir(File) - Method in class org.testng.TestNGAntTask
Sets the test output directory
setOutputDirectory(String) - Method in class org.testng.reporters.XMLReporterConfig
 
setOutputDirectory(String) - Method in class org.testng.TestNG
Sets the output directory where the reports will be created.
setOutputDirectory(String) - Method in class org.testng.TestRunner
 
setPackages(List<XmlPackage>) - Method in class org.testng.xml.XmlSuite
 
setPackages(List<XmlPackage>) - Method in class org.testng.xml.XmlTest
 
setParallel(boolean) - Method in interface org.testng.annotations.IDataProviderAnnotation
 
setParallel(String) - Method in class org.testng.TestNG
Deprecated.
Use #setParallel(XmlSuite.ParallelMode) instead
setParallel(String) - Method in class org.testng.TestNGAntTask
 
setParallel(XmlSuite.ParallelMode) - Method in class org.testng.TestNG
 
setParallel(XmlSuite.ParallelMode) - Method in class org.testng.xml.XmlSuite
Sets the parallel mode.
setParallel(XmlSuite.ParallelMode) - Method in class org.testng.xml.XmlTest
 
setParameterInvocationCount(int) - Method in interface org.testng.ITestNGMethod
 
setParameters(Object[]) - Method in interface org.testng.ITestResult
 
setParameters(Map<String, String>) - Method in class org.testng.xml.XmlClass
 
setParameters(Map<String, String>) - Method in class org.testng.xml.XmlInclude
 
setParameters(Map<String, String>) - Method in class org.testng.xml.XmlSuite
Sets parameters.
setParameters(Map<String, String>) - Method in class org.testng.xml.XmlTest
 
setParentInjector(Injector) - Method in interface org.testng.ISuite
 
setParentInjector(Injector) - Method in class org.testng.SuiteRunner
 
setParentModule(String) - Method in class org.testng.xml.XmlSuite
 
setParentSuite(XmlSuite) - Method in class org.testng.xml.XmlSuite
 
setParsed(boolean) - Method in class org.testng.xml.XmlSuite
 
setPassedTests(List<ITestResult>) - Method in class org.testng.TestListenerAdapter
 
setPostProcessor(IPostProcessor) - Method in class org.testng.xml.internal.Parser
 
setPreserveOrder(boolean) - Method in class org.testng.TestNG
 
setPreserveOrder(Boolean) - Method in class org.testng.xml.XmlSuite
 
setPreserveOrder(Boolean) - Method in class org.testng.xml.XmlTest
 
setPriority(int) - Method in interface org.testng.annotations.ITestAnnotation
 
setPriority(int) - Method in interface org.testng.ITestNGMethod
 
setPriority(int) - Method in class org.testng.xml.XmlMethodSelector
 
setProperties(List<ReporterConfig.Property>) - Method in interface org.testng.reporters.IReporterConfig
 
setProperty(String, String) - Method in interface org.testng.reporters.IReporterConfig
 
setProperty(String, String) - Method in class org.testng.reporters.PojoReporterConfig
 
setProperty(Properties, String, String, String) - Static method in class org.testng.xml.XmlUtils
Don't add this property if it's equal to its default value.
setRandomizeSuites(boolean) - Method in class org.testng.TestNG
 
setRandomizeSuites(Boolean) - Method in class org.testng.TestNGAntTask
 
setReportAllDataDrivenTestsAsSkipped(boolean) - Method in class org.testng.TestNG
 
setReporter(String) - Method in class org.testng.TestNGAntTask
 
setReportResults(boolean) - Method in class org.testng.SuiteRunner
 
setRetryAnalyzer(Class<? extends IRetryAnalyzer>) - Method in interface org.testng.annotations.ITestAnnotation
 
setRetryAnalyzerClass(Class<? extends IRetryAnalyzer>) - Method in interface org.testng.ITestNGMethod
 
setRetryUsing(Class<? extends IRetryDataProvider>) - Method in interface org.testng.annotations.IDataProviderAnnotation
 
setRun(XmlRun) - Method in class org.testng.xml.XmlGroups
 
Sets - Class in org.testng.collections
 
setScript(XmlScript) - Method in class org.testng.xml.XmlMethodSelector
 
setScript(XmlScript) - Method in class org.testng.xml.XmlTest
 
setServiceLoaderClassLoader(URLClassLoader) - Method in class org.testng.TestNG
 
setShareThreadPoolForDataProviders(boolean) - Method in class org.testng.xml.XmlSuite
 
setSingleThreaded(boolean) - Method in interface org.testng.annotations.ITestAnnotation
 
setSkipFailedInvocationCounts(boolean) - Method in class org.testng.TestNGAntTask
 
setSkipFailedInvocationCounts(boolean) - Method in class org.testng.xml.XmlSuite
 
setSkipFailedInvocationCounts(boolean) - Method in class org.testng.xml.XmlTest
 
setSkipFailedInvocationCounts(Boolean) - Method in class org.testng.SuiteRunner
 
setSkipFailedInvocationCounts(Boolean) - Method in class org.testng.TestNG
 
setSkipFailedInvocations(boolean) - Method in interface org.testng.annotations.ITestAnnotation
 
setSkipFailedInvocations(boolean) - Method in interface org.testng.ITestNGMethod
 
setSkippedProperty(String) - Method in class org.testng.TestNGAntTask
 
setSkippedTests(List<ITestResult>) - Method in class org.testng.TestListenerAdapter
 
setSourcePath(String) - Method in class org.testng.TestNG
Deprecated. 
setSplitClassAndPackageNames(boolean) - Method in class org.testng.reporters.XMLReporterConfig
 
setStackTraceOutput(XMLReporterConfig.StackTraceLevels) - Method in class org.testng.reporters.XMLReporterConfig
 
setStatus(int) - Method in interface org.testng.ITestResult
 
setStatus(Collection<T>, IDynamicGraph.Status) - Method in interface org.testng.IDynamicGraph
 
setStatus(T, IDynamicGraph.Status) - Method in interface org.testng.IDynamicGraph
 
setStopped(boolean) - Method in interface org.testng.IMethodSelectorContext
Indicate that no other Method Selectors should be invoked after the current one if stopped is false.
setSuccessPercentage(int) - Method in interface org.testng.annotations.ITestAnnotation
 
setSuite(XmlSuite) - Method in class org.testng.xml.XmlTest
 
setSuiteFiles(List<String>) - Method in class org.testng.xml.XmlSuite
Sets the suite files.
setSuiteName(String) - Method in interface org.testng.annotations.ITestAnnotation
 
setSuiteName(String) - Method in class org.testng.TestNGAntTask
Sets the suite name
setSuiteRunnerClass(String) - Method in class org.testng.TestNGAntTask
Sets the suite runner class to invoke
setSuiteThreadPoolSize(Integer) - Method in class org.testng.TestNG
 
setSuiteThreadPoolSize(Integer) - Method in class org.testng.TestNGAntTask
 
setTestClass(ITestClass) - Method in interface org.testng.ITestNGMethod
Sets the test class having this method.
setTestClasses(Class[]) - Method in class org.testng.TestNG
Set the test classes to be run by this TestNG object.
setTestJar(File) - Method in class org.testng.TestNGAntTask
Sets the test jar
setTestJar(String) - Method in class org.testng.TestNG
Sets a jar containing a testng.xml file.
setTestMethods(List<ITestNGMethod>) - Method in interface org.testng.IMethodSelector
Invoked when all the test methods are known so that the method selector can perform additional work, such as adding the transitive closure of all the groups being included and depended upon.
setTestName(String) - Method in interface org.testng.annotations.ITestAnnotation
 
setTestName(String) - Method in interface org.testng.ITestResult
 
setTestName(String) - Method in class org.testng.TestNGAntTask
Sets the test name
setTestName(String) - Method in class org.testng.TestRunner
 
setTestNames(String) - Method in class org.testng.TestNGAntTask
 
setTestNames(List<String>) - Method in class org.testng.TestNG
 
setTestResultNotifier(ITestResultNotifier) - Method in interface org.testng.junit.IJUnitTestRunner
Deprecated.
setTestRunnerFactory(String) - Method in class org.testng.TestNGAntTask
 
setTestRunnerFactory(ITestRunnerFactory) - Method in class org.testng.TestNG
 
setTests(List<XmlTest>) - Method in class org.testng.xml.XmlSuite
 
setTestSuites(List<String>) - Method in class org.testng.TestNG
Set the suites file names to be run by this TestNG object.
setThreadCount(int) - Method in class org.testng.TestNG
 
setThreadCount(int) - Method in class org.testng.xml.XmlSuite
Set the thread count.
setThreadCount(int) - Method in class org.testng.xml.XmlTest
 
setThreadCount(String) - Method in class org.testng.TestNGAntTask
 
setThreadIdToRunOn(long) - Method in interface org.testng.thread.IWorker
 
setThreadPoolSize(int) - Method in interface org.testng.annotations.ITestAnnotation
 
setThreadPoolSize(int) - Method in interface org.testng.ITestNGMethod
 
setThrowable(Throwable) - Method in interface org.testng.ITestResult
 
setTimeout(Integer) - Method in class org.testng.TestNGAntTask
Set the timeout value (in milliseconds).
setTimeOut(long) - Method in interface org.testng.annotations.ITestOrConfiguration
 
setTimeOut(long) - Method in interface org.testng.ITestNGMethod
 
setTimeOut(long) - Method in class org.testng.xml.XmlTest
 
setTimeOut(String) - Method in class org.testng.xml.XmlSuite
Sets the timeout.
setTimestampFormat(String) - Method in class org.testng.reporters.XMLReporterConfig
 
setUseDefaultListeners(boolean) - Method in class org.testng.TestNG
 
setUseDefaultListeners(String) - Method in class org.testng.TestNGAntTask
 
setValue(Class<? extends ITestNGListener>[]) - Method in interface org.testng.annotations.IListenersAnnotation
 
setVerbose(int) - Method in class org.testng.TestNG
Sets the level of verbosity.
setVerbose(int) - Method in class org.testng.TestRunner
 
setVerbose(int) - Method in class org.testng.xml.XmlTest
 
setVerbose(Integer) - Method in class org.testng.TestNGAntTask
 
setVerbose(Integer) - Method in class org.testng.xml.XmlSuite
Set the verbose.
setVisualisers(Set<IExecutionVisualiser>) - Method in interface org.testng.IDynamicGraph
 
setWasRetried(boolean) - Method in interface org.testng.ITestResult
 
setWorkingDir(File) - Method in class org.testng.TestNGAntTask
The directory to invoke the VM in.
setXmlClass(XmlClass) - Method in class org.testng.xml.XmlInclude
 
setXmlClasses(List<XmlClass>) - Method in class org.testng.xml.XmlTest
Sets the XML Classes.
setXmlDependencies(XmlDependencies) - Method in class org.testng.xml.XmlGroups
 
setXmlDependencyGroups(Map<String, String>) - Method in class org.testng.xml.XmlTest
 
setXmlDetails(String, String) - Method in class org.testng.reporters.XMLStringBuffer
Set the xml version and encoding for this document.
setXmlfilesetRef(Reference) - Method in class org.testng.TestNGAntTask
 
setXmlMethodSelectors(XmlMethodSelectors) - Method in class org.testng.xml.XmlSuite
 
setXmlPackages(List<XmlPackage>) - Method in class org.testng.xml.XmlSuite
Sets the XML packages.
setXmlPackages(List<XmlPackage>) - Method in class org.testng.xml.XmlTest
 
setXmlPathInJar(String) - Method in class org.testng.TestNG
 
setXmlPathInJar(String) - Method in class org.testng.TestNGAntTask
 
setXmlSuite(XmlSuite) - Method in class org.testng.xml.XmlTest
 
setXmlSuites(List<XmlSuite>) - Method in class org.testng.TestNG
Specifies the XmlSuite objects to run.
setXmlTest(XmlTest) - Method in class org.testng.xml.XmlClass
 
shallowCopy() - Method in class org.testng.xml.XmlSuite
This method returns a shallow cloned version.
SHARE_THREAD_POOL_FOR_DATA_PROVIDERS - Static variable in class org.testng.CommandLineArgs
 
shareThreadPoolForDataProviders - Variable in class org.testng.CommandLineArgs
 
shareThreadPoolForDataProviders(boolean) - Method in class org.testng.TestNG
 
SHORT - org.testng.reporters.XMLReporterConfig.StackTraceLevels
Write only a short version of the stacktrace
shouldUseGlobalThreadPool(boolean) - Method in class org.testng.TestNG
 
shouldUseGlobalThreadPool(boolean) - Method in class org.testng.xml.XmlSuite
 
singleThreaded() - Method in annotation type org.testng.annotations.Test
If set to true, all the methods on this test class are guaranteed to run in the same thread, even if the tests are currently being run with parallel="true".
size() - Method in class org.testng.collections.MultiMap
 
size() - Method in interface org.testng.IResultMap
 
SKIP - org.testng.xml.XmlSuite.FailurePolicy
 
SKIP - Static variable in interface org.testng.ITestResult
 
SKIP_FAILED_INVOCATION_COUNTS - Static variable in class org.testng.CommandLineArgs
 
SkipException - Exception in org.testng
The root exception for special skip handling.
SkipException(String) - Constructor for exception org.testng.SkipException
 
SkipException(String, Throwable) - Constructor for exception org.testng.SkipException
 
skipFailedInvocationCounts - Variable in class org.testng.CommandLineArgs
 
skipFailedInvocationCounts() - Method in class org.testng.xml.XmlSuite
 
skipFailedInvocationCounts() - Method in class org.testng.xml.XmlTest
 
skipFailedInvocations() - Method in interface org.testng.annotations.ITestAnnotation
 
skipFailedInvocations() - Method in annotation type org.testng.annotations.Test
If true and invocationCount is specified with a value > 1, then all invocations after a failure will be marked as a SKIP instead of a FAIL.
skipFailedInvocations() - Method in interface org.testng.ITestNGMethod
 
SKIPPED - Static variable in interface org.testng.reporters.XMLConstants
 
SoftAssert - Class in org.testng.asserts
When an assertion fails, don't throw an exception but record the failure.
SoftAssert() - Constructor for class org.testng.asserts.SoftAssert
 
spiListenersToSkip - Variable in class org.testng.CommandLineArgs
 
StackTraceTools - Class in org.testng.reporters.util
Functionality to allow tools to analyse and subdivide stack traces.
start(Class, String...) - Method in class org.testng.junit.JUnit4TestRunner
Deprecated.
Starts a test run.
start(Class, String...) - Method in class org.testng.junit.JUnitTestRunner
Deprecated.
Starts a test run.
STARTED - Static variable in interface org.testng.ITestResult
 
startElement(String, String, String, Attributes) - Method in class org.testng.xml.TestNGContentHandler
NOTE: I only invoke xml*methods (e.g.
startHtml(PrintWriter) - Method in class org.testng.reporters.EmailableReporter
Deprecated.
 
startTest(Test) - Method in class org.testng.junit.JUnitTestRunner
Deprecated.
 
Strings - Class in org.testng.util
 
SUCCESS - Static variable in interface org.testng.ITestResult
 
SUCCESS_PERCENTAGE_FAILURE - Static variable in interface org.testng.ITestResult
 
successPercentage() - Method in annotation type org.testng.annotations.Test
The percentage of success expected from this method.
SUITE_ID - Variable in class org.testng.xml.XmlSuite
Represents a unique id for this suite.
SUITE_METHODNAME - Static variable in class org.testng.junit.JUnitTestRunner
Deprecated.
 
SUITE_NAME - Static variable in class org.testng.CommandLineArgs
 
SUITE_THREAD_POOL_SIZE - Static variable in class org.testng.CommandLineArgs
 
SUITE_THREAD_POOL_SIZE_DEFAULT - Static variable in class org.testng.CommandLineArgs
 
suiteFiles - Variable in class org.testng.CommandLineArgs
 
SuiteGenerator - Class in org.testng.xml
Factory to create custom suites.
SuiteGenerator() - Constructor for class org.testng.xml.SuiteGenerator
 
SuiteHTMLReporter - Class in org.testng.reporters
Deprecated.
- This reporter is deprecated as of TestNG 7.9.0 in favour of Main
SuiteHTMLReporter() - Constructor for class org.testng.reporters.SuiteHTMLReporter
Deprecated.
 
suiteName - Variable in class org.testng.CommandLineArgs
 
suiteName() - Method in annotation type org.testng.annotations.Test
The name of the suite this test class should be placed in.
SuitePanel - Class in org.testng.reporters.jq
 
SuitePanel(Model) - Constructor for class org.testng.reporters.jq.SuitePanel
 
SuiteResult(ISuite) - Constructor for class org.testng.reporters.EmailableReporter2.SuiteResult
 
suiteResults - Variable in class org.testng.reporters.EmailableReporter2
 
SuiteRunner - Class in org.testng
SuiteRunner is responsible for running all the tests included in one suite.
SuiteRunner(IConfiguration, XmlSuite, String, ITestRunnerFactory, boolean, Comparator<ITestNGMethod>) - Constructor for class org.testng.SuiteRunner
 
SuiteRunner(IConfiguration, XmlSuite, String, ITestRunnerFactory, boolean, List<IMethodInterceptor>, Collection<IInvokedMethodListener>, SuiteRunner.TestListenersContainer, Collection<IClassListener>, DataProviderHolder, Comparator<ITestNGMethod>) - Constructor for class org.testng.SuiteRunner
 
SuiteRunner(IConfiguration, XmlSuite, String, ITestRunnerFactory, Comparator<ITestNGMethod>) - Constructor for class org.testng.SuiteRunner
 
SuiteRunnerWorker - Class in org.testng
An IWorker that is used to encapsulate and run Suite Runners
SuiteRunnerWorker(ISuite, SuiteRunnerMap, int, String) - Constructor for class org.testng.SuiteRunnerWorker
 
SuiteRunState - Class in org.testng
A state object that records the status of the suite run.
SuiteRunState() - Constructor for class org.testng.SuiteRunState
 
suiteThreadPoolSize - Variable in class org.testng.CommandLineArgs
 
suiteToTag(ISuite) - Static method in class org.testng.reporters.jq.BasePanel
 
SuiteXmlParser - Class in org.testng.xml
 
SuiteXmlParser() - Constructor for class org.testng.xml.SuiteXmlParser
 
synchronizedLinkedHashMap() - Static method in class org.testng.collections.Maps
 
SYSTEM_ERR - Static variable in interface org.testng.reporters.XMLConstants
the system-err element
SYSTEM_OUT - Static variable in interface org.testng.reporters.XMLConstants
the system-out element

T

TAG_ATTRIBUTE - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_ATTRIBUTES - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_CLASS - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_CUSTOM_ATTRIBUTE - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_CUSTOM_ATTRIBUTE_NAME - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_CUSTOM_ATTRIBUTE_VALUE - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_CUSTOM_ATTRIBUTES - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_EXCEPTION - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_FULL_STACKTRACE - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_GROUP - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_GROUPS - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_LINE - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_MESSAGE - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_METHOD - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_PARAM - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_PARAM_VALUE - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_PARAMS - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_REPORTER_OUTPUT - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_SHORT_STACKTRACE - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_SUITE - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_TEST - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_TEST_METHOD - Static variable in class org.testng.reporters.XMLReporterConfig
 
TAG_TESTNG_RESULTS - Static variable in class org.testng.reporters.XMLReporterConfig
 
Test - Annotation Type in org.testng.annotations
Mark a class or a method as part of the test.
TEST_CLASS - Static variable in class org.testng.CommandLineArgs
 
TEST_FAILED - Static variable in class org.testng.reporters.XMLReporterConfig
 
TEST_JAR - Static variable in class org.testng.CommandLineArgs
 
TEST_NAME - Static variable in class org.testng.CommandLineArgs
 
TEST_NAMES - Static variable in class org.testng.CommandLineArgs
 
TEST_PASSED - Static variable in class org.testng.reporters.XMLReporterConfig
 
TEST_RUNNER_FACTORY - Static variable in class org.testng.CommandLineArgs
 
TEST_SKIPPED - Static variable in class org.testng.reporters.XMLReporterConfig
 
TESTCASE - Static variable in interface org.testng.reporters.XMLConstants
the testcase element
testClass - Variable in class org.testng.CommandLineArgs
 
TestException - Exception in org.testng
Exception thrown when an exception happens while running a test method.
TestException(String) - Constructor for exception org.testng.TestException
 
TestException(String, Throwable) - Constructor for exception org.testng.TestException
 
TestException(Throwable) - Constructor for exception org.testng.TestException
 
TestHTMLReporter - Class in org.testng.reporters
This class implements an HTML reporter for individual tests.
TestHTMLReporter() - Constructor for class org.testng.reporters.TestHTMLReporter
 
TestInstance - Annotation Type in org.testng.annotations
If this annotation is used on a parameter of a data provider, that parameter is the instance of the test method which is going to be fed by this data provider.
testJar - Variable in class org.testng.CommandLineArgs
 
TestListenerAdapter - Class in org.testng
A simple ITestListener adapter that stores all the tests that were run.
TestListenerAdapter() - Constructor for class org.testng.TestListenerAdapter
 
testName - Variable in class org.testng.CommandLineArgs
 
testName() - Method in annotation type org.testng.annotations.Test
The name of the test this test class should be placed in.
testNames - Variable in class org.testng.CommandLineArgs
 
TestNamesMatcher - Class in org.testng.xml.internal
The class to work with "-testnames", "-ignoreMissedTestNames", and VM argument "-Dtestng.ignore.missed.testnames".
TestNamesMatcher(XmlSuite, List<String>) - Constructor for class org.testng.xml.internal.TestNamesMatcher
 
TestNamesMatcher(XmlSuite, List<String>, boolean) - Constructor for class org.testng.xml.internal.TestNamesMatcher
 
testng - org.testng.TestNGAntTask.Mode
 
TestNG - Class in org.testng
This class is the main entry point for running tests in the TestNG framework.
TestNG() - Constructor for class org.testng.TestNG
Default constructor.
TestNG(boolean) - Constructor for class org.testng.TestNG
Used by maven2 to have 0 output of any kind come out of testng.
TESTNG_DTD - Static variable in class org.testng.xml.internal.Parser
The name of the TestNG DTD.
TESTNG_DTD_URL - Static variable in class org.testng.xml.internal.Parser
The URL to the TestNG DTD.
TESTNG_FAILED_XML - Static variable in class org.testng.reporters.FailedReporter
 
TESTNG_XML - Static variable in class org.testng.reporters.SuiteHTMLReporter
Deprecated.
 
TestNGAntTask - Class in org.testng
TestNG settings: classfileset (inner) classfilesetref (attribute) xmlfileset (inner) xmlfilesetref (attribute) enableAssert (attribute) excludedGroups (attribute) groups (attribute) junit (attribute) listener (attribute) outputdir (attribute) parallel (attribute) reporter (attribute) sourcedir (attribute) sourcedirref (attribute) suitename (attribute) suiterunnerclass (attribute) target (attribute) testjar (attribute) testname (attribute) threadcount (attribute) dataproviderthreadcount (attribute) verbose (attribute) testrunfactory (attribute) configFailurepolicy (attribute) randomizeSuites (attribute) methodselectors (attribute) Ant settings: classpath (inner) classpathref (attribute) jvm (attribute) workingDir (attribute) env (inner) sysproperty (inner) propertyset (inner) jvmarg (inner) timeout (attribute) haltonfailure (attribute) onHaltTarget (attribute) failureProperty (attribute) haltonFSP (attribute) FSPproperty (attribute) haltonskipped (attribute) skippedProperty (attribute) testRunnerFactory (attribute) Debug information: dumpCommand (boolean) dumpEnv (boolean) dumpSys (boolean)
TestNGAntTask() - Constructor for class org.testng.TestNGAntTask
 
TestNGAntTask.Mode - Enum in org.testng
 
TestNGAntTask.TestNGLogSH - Class in org.testng
 
TestNGContentHandler - Class in org.testng.xml
Suite definition parser utility.
TestNGContentHandler(String, boolean) - Constructor for class org.testng.xml.TestNGContentHandler
 
TestNGException - Exception in org.testng
The base class for all exceptions thrown by TestNG.
TestNGException(String) - Constructor for exception org.testng.TestNGException
 
TestNGException(String, Throwable) - Constructor for exception org.testng.TestNGException
 
TestNGException(Throwable) - Constructor for exception org.testng.TestNGException
 
TestNGLogSH(Task, int, int, boolean) - Constructor for class org.testng.TestNGAntTask.TestNGLogSH
 
TestNGUtils - Class in org.testng
 
TestNGUtils() - Constructor for class org.testng.TestNGUtils
 
TestNgXmlPanel - Class in org.testng.reporters.jq
 
TestNgXmlPanel(Model) - Constructor for class org.testng.reporters.jq.TestNgXmlPanel
 
TestNotInvokedException - Exception in org.testng
Represents an exception that is thrown when a test method is not invoked.
TestNotInvokedException(ITestNGMethod) - Constructor for exception org.testng.TestNotInvokedException
 
TestPanel - Class in org.testng.reporters.jq
Display the list of <test> tags.
TestPanel(Model) - Constructor for class org.testng.reporters.jq.TestPanel
 
TestResult(ITestContext) - Constructor for class org.testng.reporters.EmailableReporter2.TestResult
 
TestRunner - Class in org.testng
This class takes care of running one Test.
TestRunner(IConfiguration, ISuite, XmlTest, boolean, Collection<IInvokedMethodListener>, List<IClassListener>, Comparator<ITestNGMethod>, ISuiteRunnerListener) - Constructor for class org.testng.TestRunner
 
TestRunner(IConfiguration, ISuite, XmlTest, boolean, Collection<IInvokedMethodListener>, List<IClassListener>, ISuiteRunnerListener) - Constructor for class org.testng.TestRunner
 
TestRunner(IConfiguration, ISuite, XmlTest, String, IAnnotationFinder, boolean, Collection<IInvokedMethodListener>, List<IClassListener>, Comparator<ITestNGMethod>, DataProviderHolder, ISuiteRunnerListener) - Constructor for class org.testng.TestRunner
 
TestRunner.PriorityWeight - Enum in org.testng
 
testRunnerFactory - Variable in class org.testng.CommandLineArgs
 
TESTS - org.testng.xml.XmlSuite.ParallelMode
 
TESTSUITE - Static variable in interface org.testng.reporters.XMLConstants
the testsuite element
TESTSUITES - Static variable in interface org.testng.reporters.XMLConstants
the testsuites element for the aggregate document
TextFormatter - Class in org.testng.log
This class implements a simple TextFormatter because the brainded default formatter of java.util.logging outputs everything on two lines and it's ugly as butt.
TextFormatter() - Constructor for class org.testng.log.TextFormatter
 
TextReporter - Class in org.testng.reporters
A simple reporter that collects the results and prints them on standard out.
TextReporter(String, int) - Constructor for class org.testng.reporters.TextReporter
 
THREAD_COUNT - Static variable in class org.testng.CommandLineArgs
 
THREAD_POOL_FACTORY_CLASS - Static variable in class org.testng.CommandLineArgs
 
threadCount - Variable in class org.testng.CommandLineArgs
 
threadPoolFactoryClass - Variable in class org.testng.CommandLineArgs
 
threadPoolSize() - Method in annotation type org.testng.annotations.Test
The size of the thread pool for this method.
TimeBombSkipException - Exception in org.testng
A SkipException extension that transforms a skipped method into a failed method based on a time trigger.
TimeBombSkipException(String, String) - Constructor for exception org.testng.TimeBombSkipException
Creates a TimeBombedSkipException using the date in the format yyyy/MM/dd.
TimeBombSkipException(String, String, String) - Constructor for exception org.testng.TimeBombSkipException
Creates a TimeBombedSkipException using the date in the specified format format.
TimeBombSkipException(String, String, String, String) - Constructor for exception org.testng.TimeBombSkipException
Creates a TimeBombedSkipException using the date in the specified format inFormat.
TimeBombSkipException(String, String, String, String, Throwable) - Constructor for exception org.testng.TimeBombSkipException
Creates a TimeBombedSkipException using the date in the specified format inFormat.
TimeBombSkipException(String, String, String, Throwable) - Constructor for exception org.testng.TimeBombSkipException
Creates a TimeBombedSkipException using the date in the specified format format.
TimeBombSkipException(String, String, Throwable) - Constructor for exception org.testng.TimeBombSkipException
Creates a TimeBombedSkipException using the date in the format yyyy/MM/dd.
TimeBombSkipException(String, Date) - Constructor for exception org.testng.TimeBombSkipException
Creates a TimeBombedSkipException using the expirationDate.
TimeBombSkipException(String, Date, String) - Constructor for exception org.testng.TimeBombSkipException
Creates a TimeBombedSkipException using the expirationDate.
TimeBombSkipException(String, Date, String, Throwable) - Constructor for exception org.testng.TimeBombSkipException
Creates a TimeBombedSkipException using the expirationDate.
TimeBombSkipException(String, Date, Throwable) - Constructor for exception org.testng.TimeBombSkipException
Creates a TimeBombedSkipException using the expirationDate.
timeOut() - Method in annotation type org.testng.annotations.AfterClass
The maximum number of milliseconds this method should take.
timeOut() - Method in annotation type org.testng.annotations.AfterGroups
The maximum number of milliseconds this method should take.
timeOut() - Method in annotation type org.testng.annotations.AfterMethod
The maximum number of milliseconds this method should take.
timeOut() - Method in annotation type org.testng.annotations.AfterSuite
The maximum number of milliseconds this method should take.
timeOut() - Method in annotation type org.testng.annotations.AfterTest
The maximum number of milliseconds this method should take.
timeOut() - Method in annotation type org.testng.annotations.BeforeClass
The maximum number of milliseconds this method should take.
timeOut() - Method in annotation type org.testng.annotations.BeforeGroups
The maximum number of milliseconds this method should take.
timeOut() - Method in annotation type org.testng.annotations.BeforeMethod
The maximum number of milliseconds this method should take.
timeOut() - Method in annotation type org.testng.annotations.BeforeSuite
The maximum number of milliseconds this method should take.
timeOut() - Method in annotation type org.testng.annotations.BeforeTest
The maximum number of milliseconds this method should take.
timeOut() - Method in annotation type org.testng.annotations.Test
The maximum number of milliseconds this test should take.
TimesPanel - Class in org.testng.reporters.jq
 
TimesPanel(Model) - Constructor for class org.testng.reporters.jq.TimesPanel
 
TimeUtils - Class in org.testng.util
A Utility class that deals with time.
TimeUtils.Task - Interface in org.testng.util
A sample task to be executed.
toDot() - Method in interface org.testng.IDynamicGraph
 
toggleFailureIfAllTestsWereSkipped(boolean) - Method in class org.testng.TestNG
 
toString() - Method in class org.testng.collections.MultiMap
 
toString() - Method in class org.testng.collections.Objects.ToStringHelper
 
toString() - Method in class org.testng.junit.JUnit4ConfigurationMethod
Deprecated.
 
toString() - Method in class org.testng.junit.JUnit4SpockMethod
Deprecated.
 
toString() - Method in class org.testng.junit.JUnit4TestMethod
Deprecated.
 
toString() - Method in class org.testng.reporters.FileStringBuffer
 
toString() - Method in class org.testng.reporters.VerboseReporter
 
toString() - Method in enum org.testng.reporters.XMLReporterConfig.StackTraceLevels
 
toString() - Method in class org.testng.SuiteRunnerWorker
 
toString() - Method in class org.testng.TestListenerAdapter
 
toString() - Method in class org.testng.xml.XmlClass
 
toString() - Method in enum org.testng.xml.XmlSuite.FailurePolicy
 
toString() - Method in enum org.testng.xml.XmlSuite.ParallelMode
 
toString() - Method in class org.testng.xml.XmlSuite
toStringHelper(Class<?>) - Static method in class org.testng.collections.Objects
 
ToStringHelper(String) - Constructor for class org.testng.collections.Objects.ToStringHelper
 
total() - Method in class org.testng.reporters.AbstractXmlReporter.Count
 
toWriter(Writer) - Method in class org.testng.reporters.FileStringBuffer
 
toWriter(Writer) - Method in interface org.testng.reporters.IBuffer
 
toWriter(Writer) - Method in class org.testng.reporters.XMLStringBuffer
 
toXml() - Method in class org.testng.xml.XmlSuite
 
toXml(String) - Method in class org.testng.xml.XmlClass
 
toXml(String) - Method in class org.testng.xml.XmlDefine
 
toXml(String) - Method in class org.testng.xml.XmlDependencies
 
toXml(String) - Method in class org.testng.xml.XmlGroups
 
toXml(String) - Method in class org.testng.xml.XmlInclude
 
toXml(String) - Method in class org.testng.xml.XmlMethodSelector
 
toXml(String) - Method in class org.testng.xml.XmlMethodSelectors
 
toXml(String) - Method in class org.testng.xml.XmlPackage
 
toXml(String) - Method in class org.testng.xml.XmlRun
 
toXml(String) - Method in class org.testng.xml.XmlTest
 
toXML() - Method in class org.testng.reporters.XMLStringBuffer
 
trace(Object) - Method in class org.testng.log4testng.Logger
Log a message object with the TRACE level.
trace(Object, Throwable) - Method in class org.testng.log4testng.Logger
Log a message object with the TRACE level including the stack trace of the Throwable t passed as parameter.
transform(IConfigurationAnnotation, Class, Constructor, Method) - Method in interface org.testng.IAnnotationTransformer
Transform an IConfiguration annotation.
transform(IDataProviderAnnotation, Method) - Method in interface org.testng.IAnnotationTransformer
Transform an IDataProvider annotation.
transform(IFactoryAnnotation, Method) - Method in interface org.testng.IAnnotationTransformer
Transform an IFactory annotation.
transform(IListenersAnnotation, Class<?>) - Method in interface org.testng.IAnnotationTransformer
 
transform(ITestAnnotation, Class, Constructor, Method) - Method in interface org.testng.IAnnotationTransformer
This method will be invoked by TestNG to give you a chance to modify a TestNG annotation read from your test classes.

U

upstreamDependencies() - Method in interface org.testng.ITestNGMethod
 
USE_DEFAULT_LISTENERS - Static variable in class org.testng.CommandLineArgs
 
USE_GLOBAL_THREAD_POOL - Static variable in class org.testng.CommandLineArgs
 
useDefaultListeners - Variable in class org.testng.CommandLineArgs
 
useGlobalThreadPool - Variable in class org.testng.CommandLineArgs
 
useGlobalThreadPool() - Method in class org.testng.TestNG
 
useGlobalThreadPool() - Method in class org.testng.xml.XmlSuite
 

V

validateCommandLineParameters(CommandLineArgs) - Static method in class org.testng.TestNG
Double check that the command line parameters are valid.
validateIfSuitesContainDuplicateTests(List<XmlSuite>) - Static method in class org.testng.xml.internal.XmlSuiteUtils
A validator that runs through the list of suites and checks if each of the suites contains any XmlTest with the same name.
validateMissMatchedTestNames() - Method in class org.testng.xml.internal.TestNamesMatcher
Do validation for testNames and notify users if any testNames are missed in suite.
validateOptions() - Method in class org.testng.TestNGAntTask
 
value() - Method in annotation type org.testng.annotations.AfterGroups
The list of groups that this configuration method will run after.
value() - Method in annotation type org.testng.annotations.BeforeGroups
The list of groups that this configuration method will run before.
value() - Method in annotation type org.testng.annotations.Ignore
 
value() - Method in annotation type org.testng.annotations.Listeners
 
value() - Method in annotation type org.testng.annotations.Optional
The default value to pass to this parameter.
value() - Method in annotation type org.testng.annotations.Parameters
The list of variables used to fill the parameters of this method.
valueOf(String) - Static method in enum org.testng.IDynamicGraph.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.testng.reporters.XMLReporterConfig.StackTraceLevels
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.testng.TestNGAntTask.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.testng.TestRunner.PriorityWeight
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.testng.xml.XmlSuite.FailurePolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.testng.xml.XmlSuite.ParallelMode
Returns the enum constant of this type with the specified name.
valueOf(Map<?, ?>) - Static method in class org.testng.util.Strings
 
values() - Method in annotation type org.testng.annotations.CustomAttribute
 
values() - Method in class org.testng.collections.MultiMap
 
values() - Static method in enum org.testng.IDynamicGraph.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.testng.reporters.XMLReporterConfig.StackTraceLevels
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.testng.TestNGAntTask.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.testng.TestRunner.PriorityWeight
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.testng.xml.XmlSuite.FailurePolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.testng.xml.XmlSuite.ParallelMode
Returns an array containing the constants of this enum type, in the order they are declared.
verbose - Variable in class org.testng.CommandLineArgs
 
VERBOSE - Static variable in class org.testng.CommandLineArgs
 
verboseMode() - Static method in class org.testng.reporters.RuntimeBehavior
 
VerboseReporter - Class in org.testng.reporters
Reporter printing out detailed messages about what TestNG is going to run and what is the status of what has been just run.
VerboseReporter(String) - Constructor for class org.testng.reporters.VerboseReporter
Create VerboseReporter with custom prefix

W

warn(Object) - Method in class org.testng.log4testng.Logger
Log a message object with the WARN level.
warn(Object, Throwable) - Method in class org.testng.log4testng.Logger
Log a message object with the ERROR level including the stack trace of the Throwable t passed as parameter.
wasFailureDueToTimeout(ITestResult) - Static method in interface org.testng.ITestResult
 
wasRetried() - Method in interface org.testng.ITestResult
 
withFailed(int) - Method in class org.testng.reporters.AbstractXmlReporter.Count.Builder
 
withIgnored(int) - Method in class org.testng.reporters.AbstractXmlReporter.Count.Builder
 
withPassed(int) - Method in class org.testng.reporters.AbstractXmlReporter.Count.Builder
 
withRetried(int) - Method in class org.testng.reporters.AbstractXmlReporter.Count.Builder
 
withSkipped(int) - Method in class org.testng.reporters.AbstractXmlReporter.Count.Builder
 
wrapDataProvider(Class<?>, Collection<Object[]>) - Static method in class org.testng.ConversionUtils
Deprecated.
Turns the output of a JUnit 4 @Parameters style data provider into one that is suitable for TestNG's @DataProvider.
writeBody() - Method in class org.testng.reporters.EmailableReporter2
 
writeDocumentEnd() - Method in class org.testng.reporters.EmailableReporter2
 
writeDocumentStart() - Method in class org.testng.reporters.EmailableReporter2
 
writeHead() - Method in class org.testng.reporters.EmailableReporter2
 
writer - Variable in class org.testng.reporters.EmailableReporter2
 
writeReporterMessages(List<String>) - Method in class org.testng.reporters.EmailableReporter2
 
writeReporterOutput(XMLStringBuffer) - Method in class org.testng.reporters.AbstractXmlReporter
 
writeReporterOutput(XMLStringBuffer, List<String>) - Method in class org.testng.reporters.AbstractXmlReporter
 
writeScenarioDetails() - Method in class org.testng.reporters.EmailableReporter2
Writes the details for all test scenarios.
writeScenarioSummary() - Method in class org.testng.reporters.EmailableReporter2
Writes a summary of all the test scenarios.
writeStackTrace(Throwable) - Method in class org.testng.reporters.EmailableReporter2
 
writeStylesheet() - Method in class org.testng.reporters.EmailableReporter2
 
writeSuite(XMLStringBuffer, ISuite) - Method in class org.testng.reporters.AbstractXmlReporter
 
writeSuiteResult(XMLStringBuffer, ISuiteResult) - Method in class org.testng.reporters.XMLSuiteResultWriter
Writes the specified ISuiteResult in the given XMLStringBuffer.
writeSuiteSummary() - Method in class org.testng.reporters.EmailableReporter2
 
writeSummaryCount(AbstractXmlReporter.Count, XMLStringBuffer) - Method in class org.testng.reporters.AbstractXmlReporter
 
writeTableData(String) - Method in class org.testng.reporters.EmailableReporter2
Writes a TD element with the specified contents.
writeTableData(String, String) - Method in class org.testng.reporters.EmailableReporter2
Writes a TD element with the specified contents and CSS class names.
writeTableHeader(String, String) - Method in class org.testng.reporters.EmailableReporter2
Writes a TH element with the specified contents and CSS class names.
writeTag(String, String, String) - Method in class org.testng.reporters.EmailableReporter2
Writes an arbitrary HTML element with the specified contents and CSS class names.

X

xml(String, String, String, Properties) - Static method in class org.testng.reporters.XMLUtils
Generate tag.
XML_PATH_IN_JAR - Static variable in class org.testng.CommandLineArgs
 
XML_PATH_IN_JAR_DEFAULT - Static variable in class org.testng.CommandLineArgs
 
XmlClass - Class in org.testng.xml
This class describes the tag <class> in testng.xml.
XmlClass() - Constructor for class org.testng.xml.XmlClass
 
XmlClass(Class) - Constructor for class org.testng.xml.XmlClass
 
XmlClass(Class, boolean) - Constructor for class org.testng.xml.XmlClass
 
XmlClass(String) - Constructor for class org.testng.xml.XmlClass
 
XmlClass(String, boolean) - Constructor for class org.testng.xml.XmlClass
 
XmlClass(String, int) - Constructor for class org.testng.xml.XmlClass
 
XmlClass(String, int, boolean) - Constructor for class org.testng.xml.XmlClass
 
xmlClasses(boolean) - Method in class org.testng.xml.TestNGContentHandler
 
xmlClose(IBuffer, String, String, String) - Static method in class org.testng.reporters.XMLUtils
 
XMLConstants - Interface in org.testng.reporters
interface groups the XML constants tries to emulate what's in org.apache.tools.ant.taskdefs.optional.junit.XMLConstants to be compatible with junitreport
XmlDefine - Class in org.testng.xml
 
XmlDefine() - Constructor for class org.testng.xml.XmlDefine
 
XmlDependencies - Class in org.testng.xml
 
XmlDependencies() - Constructor for class org.testng.xml.XmlDependencies
 
xmlGroup(boolean, Attributes) - Method in class org.testng.xml.TestNGContentHandler
 
xmlGroups(boolean) - Method in class org.testng.xml.TestNGContentHandler
 
XmlGroups - Class in org.testng.xml
 
XmlGroups() - Constructor for class org.testng.xml.XmlGroups
 
XmlInclude - Class in org.testng.xml
 
XmlInclude() - Constructor for class org.testng.xml.XmlInclude
 
XmlInclude(String) - Constructor for class org.testng.xml.XmlInclude
 
XmlInclude(String, int) - Constructor for class org.testng.xml.XmlInclude
 
XmlInclude(String, List<Integer>, int) - Constructor for class org.testng.xml.XmlInclude
 
xmlListener(boolean, Attributes) - Method in class org.testng.xml.TestNGContentHandler
 
xmlListeners(boolean) - Method in class org.testng.xml.TestNGContentHandler
 
xmlMethodSelector(boolean) - Method in class org.testng.xml.TestNGContentHandler
 
XmlMethodSelector - Class in org.testng.xml
This class describes the tag <method-selector> in testng.xml.
XmlMethodSelector() - Constructor for class org.testng.xml.XmlMethodSelector
 
xmlMethodSelectors(boolean) - Method in class org.testng.xml.TestNGContentHandler
 
XmlMethodSelectors - Class in org.testng.xml
 
XmlMethodSelectors() - Constructor for class org.testng.xml.XmlMethodSelectors
 
xmlOpen(IBuffer, String, String, Properties) - Static method in class org.testng.reporters.XMLUtils
 
xmlOpen(IBuffer, String, String, Properties, boolean) - Static method in class org.testng.reporters.XMLUtils
 
xmlOptional(IBuffer, String, String, Boolean, Properties) - Static method in class org.testng.reporters.XMLUtils
 
xmlOptional(IBuffer, String, String, String, Properties) - Static method in class org.testng.reporters.XMLUtils
 
XmlPackage - Class in org.testng.xml
This class describes the tag <package> in testng.xml.
XmlPackage() - Constructor for class org.testng.xml.XmlPackage
 
XmlPackage(String) - Constructor for class org.testng.xml.XmlPackage
 
xmlPackages(boolean) - Method in class org.testng.xml.TestNGContentHandler
 
XMLParser<T> - Class in org.testng.xml
 
XMLParser() - Constructor for class org.testng.xml.XMLParser
 
xmlPathInJar - Variable in class org.testng.CommandLineArgs
 
XMLReporter - Class in org.testng.reporters
The main entry for the XML generation operation
XMLReporter() - Constructor for class org.testng.reporters.XMLReporter
 
XMLReporterConfig - Class in org.testng.reporters
 
XMLReporterConfig() - Constructor for class org.testng.reporters.XMLReporterConfig
 
XMLReporterConfig.StackTraceLevels - Enum in org.testng.reporters
 
xmlRequired(IBuffer, String, String, String, Properties) - Static method in class org.testng.reporters.XMLUtils
 
xmlRun(boolean) - Method in class org.testng.xml.TestNGContentHandler
 
XmlRun - Class in org.testng.xml
 
XmlRun() - Constructor for class org.testng.xml.XmlRun
 
XmlScript - Class in org.testng.xml
 
XmlScript() - Constructor for class org.testng.xml.XmlScript
 
xmlSelectorClass(boolean, Attributes) - Method in class org.testng.xml.TestNGContentHandler
 
XMLStringBuffer - Class in org.testng.reporters
This class allows you to generate an XML text document by pushing and popping tags from a stack maintained internally.
XMLStringBuffer() - Constructor for class org.testng.reporters.XMLStringBuffer
 
XMLStringBuffer(String) - Constructor for class org.testng.reporters.XMLStringBuffer
 
XMLStringBuffer(IBuffer, String) - Constructor for class org.testng.reporters.XMLStringBuffer
 
XmlSuite - Class in org.testng.xml
This class describes the tag <suite> in testng.xml.
XmlSuite() - Constructor for class org.testng.xml.XmlSuite
 
XmlSuite.FailurePolicy - Enum in org.testng.xml
Configuration failure policy options.
XmlSuite.ParallelMode - Enum in org.testng.xml
Parallel modes.
XMLSuiteResultWriter - Class in org.testng.reporters
Utility writing an ISuiteResult to an XMLStringBuffer.
XMLSuiteResultWriter(XMLReporterConfig, ICustomizeXmlReport) - Constructor for class org.testng.reporters.XMLSuiteResultWriter
 
XmlSuiteUtils - Class in org.testng.xml.internal
A utility class to work with XmlSuite
XmlTest - Class in org.testng.xml
This class describes the tag <test> in testng.xml.
XmlTest() - Constructor for class org.testng.xml.XmlTest
 
XmlTest(XmlSuite) - Constructor for class org.testng.xml.XmlTest
 
XmlTest(XmlSuite, int) - Constructor for class org.testng.xml.XmlTest
Constructs a XmlTest and adds it to suite's list of tests.
XmlUtils - Class in org.testng.xml
 
XmlUtils() - Constructor for class org.testng.xml.XmlUtils
 
XMLUtils - Class in org.testng.reporters
Static helpers for XML.
A B C D E F G H I J K L M N O P R S T U V W X 
All Classes All Packages