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

A

AbstractRemoteTestRunnerClient - Class in org.testng.remote.strprotocol
The client side of the RemoteTestRunner.
AbstractRemoteTestRunnerClient() - Constructor for class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient
 
AbstractRemoteTestRunnerClient.ServerConnection - Class in org.testng.remote.strprotocol
Reads the message stream from the RemoteTestRunner
AbstractRemoteTestRunnerClient.ServerConnection(IMessageSender) - Constructor for class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient.ServerConnection
 
ACK - Static variable in class org.testng.remote.RemoteArgs
 
ack - Variable in class org.testng.remote.RemoteArgs
 
ACK_MSG - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
actOnResult(int, boolean) - Method in class org.testng.TestNGAntTask
 
addCDATA(String) - Method in class org.testng.reporters.XMLStringBuffer
Add a CDATA tag.
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(ReporterConfig) - Method in class org.testng.TestNGAntTask
 
addDurationAttributes(XMLReporterConfig, Properties, Date, Date) - Static method in class org.testng.reporters.XMLReporter
Add started-at, finished-at and duration-ms attributes to the tag
addEmptyElement(String) - Method in class org.testng.reporters.XMLStringBuffer
Add an empty element tag (e.g.
addEmptyElement(String, Properties) - Method in class org.testng.reporters.XMLStringBuffer
Add an empty element tag (e.g.
addEmptyElement(String, String...) - Method in class org.testng.reporters.XMLStringBuffer
 
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
 
addExcludedGroup(String) - Method in class org.testng.xml.XmlSuite
 
addExcludedGroup(String) - Method in class org.testng.xml.XmlTest
 
addExecutionListener(IExecutionListener) - Method in class org.testng.TestNG
 
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
 
addGuiceModule(Class<? extends Module>, Module) - Method in interface org.testng.ITestContext
 
addGuiceModule(Class<? extends Module>, Module) - Method in class org.testng.TestRunner
 
addIncludedGroup(String) - Method in class org.testng.xml.XmlSuite
 
addIncludedGroup(String) - Method in class org.testng.xml.XmlTest
 
addInjector(List<Module>, Injector) - Method in interface org.testng.ITestContext
 
addInjector(List<Module>, Injector) - Method in class org.testng.TestRunner
 
addInstance(Object) - Method in interface org.testng.IClass
 
addInstance(Object) - Method in class org.testng.junit.JUnitTestClass
 
addInvokedMethod(InvokedMethod) - Method in class org.testng.TestRunner
 
addInvokedMethodListener(IInvokedMethodListener) - Method in class org.testng.TestNG
 
addListener(ITestNGListener) - Method in interface org.testng.ISuite
 
addListener(ISuiteListener) - Method in class org.testng.SuiteRunner
Registers ISuiteListeners interested in reporting the result of the current suite.
addListener(ITestNGListener) - Method in class org.testng.SuiteRunner
 
addListener(Object) - Method in class org.testng.TestNG
 
addListener(IInvokedMethodListener) - Method in class org.testng.TestNG
 
addListener(ISuiteListener) - Method in class org.testng.TestNG
 
addListener(ITestListener) - Method in class org.testng.TestNG
 
addListener(IReporter) - Method in class org.testng.TestNG
 
addListener(Object) - Method in class org.testng.TestRunner
 
addListener(String) - Method in class org.testng.xml.XmlSuite
 
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
 
addOptional(String, String, Properties) - 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) - Method in class org.testng.reporters.XMLStringBuffer
Add an optional String 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, Boolean) - Method in class org.testng.reporters.XMLStringBuffer
Add an optional Boolean element to the current tag.
addParameter(String, String) - Method in class org.testng.xml.XmlTest
 
addPassedTest(ITestNGMethod, ITestResult) - Method in class org.testng.TestRunner
 
addProperty(String, int) - Method in class org.testng.remote.strprotocol.GenericMessage
 
addProperty(ReporterConfig.Property) - Method in class org.testng.ReporterConfig
 
addRequired(String, String) - Method in class org.testng.reporters.XMLStringBuffer
Add a required element to the current tag.
addRequired(String, String, Properties) - 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
 
addResult(ITestResult, ITestNGMethod) - Method in interface org.testng.IResultMap
 
addResult(Class<?>, ITestResult) - Method in class org.testng.reporters.jq.ResultsByClass
 
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
 
addTestListener(ITestListener) - Method in class org.testng.TestRunner
 
addTestMethodParams(XMLStringBuffer, ITestResult) - Method in class org.testng.reporters.XMLSuiteResultWriter
 
addXmlfileset(FileSet) - Method in class org.testng.TestNGAntTask
 
AFTER - Static variable in class org.testng.reporters.SuiteHTMLReporter
Generate information about the methods that were run
AfterClass - Annotation Type in org.testng.annotations
 
AfterGroups - Annotation Type in org.testng.annotations
 
afterInvocation(IInvokedMethod, ITestResult) - Method in interface org.testng.IInvokedMethodListener
 
afterInvocation(IInvokedMethod, ITestResult, ITestContext) - Method in interface org.testng.IInvokedMethodListener2
To be implemented if the method needs a handle to contextual information.
afterInvocation(IInvokedMethod, ITestResult) - Method in class org.testng.SuiteRunner
 
AfterMethod - Annotation Type in org.testng.annotations
 
AfterSuite - Annotation Type in org.testng.annotations
 
AfterTest - Annotation Type in org.testng.annotations
 
appendAttributes(StringBuffer, Properties) - Static method in class org.testng.reporters.XMLUtils
Appends the attributes to result.
Assert - Class in org.testng
Assertion tool class.
Assert() - Constructor for class org.testng.Assert
Protect constructor since it is a static only class
assertDirectory(File, String) - Static method in class org.testng.FileAssert
Asserts that a tstvalue is a proper directory.
assertDirectory(File) - Static method in class org.testng.FileAssert
 
assertEquals(Object, Object, String) - Static method in class org.testng.Assert
Asserts that two objects are equal.
assertEquals(Object, Object) - Static method in class org.testng.Assert
Asserts that two objects are equal.
assertEquals(String, String, String) - Static method in class org.testng.Assert
Asserts that two Strings are equal.
assertEquals(String, String) - Static method in class org.testng.Assert
Asserts that two Strings are equal.
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) - Static method in class org.testng.Assert
Asserts that two doubles are equal concerning a delta.
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) - Static method in class org.testng.Assert
Asserts that two floats are equal concerning a delta.
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(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(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(char, char, String) - Static method in class org.testng.Assert
Asserts that two chars are equal.
assertEquals(char, char) - Static method in class org.testng.Assert
Asserts that two chars 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(int, int, String) - Static method in class org.testng.Assert
Asserts that two ints are equal.
assertEquals(int, int) - Static method in class org.testng.Assert
Asserts that two ints are equal.
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, String) - Static method in class org.testng.Assert
Asserts that two collections contain the same elements in the same order.
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[]) - 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.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(byte[], byte[], String) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in the same order.
assertEquals(Set, Set) - Static method in class org.testng.Assert
Asserts that two sets are equal.
assertEquals(Set<?>, Set<?>, String) - Static method in class org.testng.Assert
Assert set equals
assertEquals(Map<?, ?>, Map<?, ?>) - Static method in class org.testng.Assert
Asserts that two maps are equal.
assertEquals(String, Object, Object) - Static method in class org.testng.AssertJUnit
Asserts that two objects are equal.
assertEquals(Object, Object) - Static method in class org.testng.AssertJUnit
Asserts that two objects are equal.
assertEquals(String, String, String) - Static method in class org.testng.AssertJUnit
Asserts that two Strings are equal.
assertEquals(String, String) - Static method in class org.testng.AssertJUnit
Asserts that two Strings are equal.
assertEquals(String, double, double, double) - Static method in class org.testng.AssertJUnit
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(String, float, float, float) - Static method in class org.testng.AssertJUnit
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(String, long, long) - Static method in class org.testng.AssertJUnit
Asserts that two longs are equal.
assertEquals(long, long) - Static method in class org.testng.AssertJUnit
Asserts that two longs are equal.
assertEquals(String, boolean, boolean) - Static method in class org.testng.AssertJUnit
Asserts that two booleans are equal.
assertEquals(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
Asserts that two bytes are equal.
assertEquals(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(char, char) - Static method in class org.testng.AssertJUnit
Asserts that two chars are equal.
assertEquals(String, short, short) - Static method in class org.testng.AssertJUnit
Asserts that two shorts are equal.
assertEquals(short, short) - Static method in class org.testng.AssertJUnit
Asserts that two shorts are equal.
assertEquals(String, int, int) - Static method in class org.testng.AssertJUnit
Asserts that two ints are equal.
assertEquals(int, int) - Static method in class org.testng.AssertJUnit
Asserts that two ints are equal.
assertEquals(byte[], byte[]) - Static method in class org.testng.AssertJUnit
 
assertEquals(String, byte[], byte[]) - Static method in class org.testng.AssertJUnit
 
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[]) - Static method in class org.testng.Assert
Asserts that two arrays contain the same elements in no particular order.
assertFalse(boolean, String) - Static method in class org.testng.Assert
Asserts that a condition is false.
assertFalse(boolean) - Static method in class org.testng.Assert
Asserts that a condition is false.
assertFalse(String, boolean) - Static method in class org.testng.AssertJUnit
Asserts that a condition is false.
assertFalse(boolean) - Static method in class org.testng.AssertJUnit
Asserts that a condition is false.
assertFile(File, String) - Static method in class org.testng.FileAssert
Asserts that a tstvalue is a proper directory.
assertFile(File) - Static method in class org.testng.FileAssert
 
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, 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.
assertLength(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.
assertMaxLength(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.
assertMinLength(File, long) - Static method in class org.testng.FileAssert
 
assertNotEquals(Object, Object, String) - Static method in class org.testng.Assert
 
assertNotEquals(Object, Object) - Static method in class org.testng.Assert
 
assertNotEquals(float, float, float, String) - Static method in class org.testng.Assert
 
assertNotEquals(float, float, float) - Static method in class org.testng.Assert
 
assertNotEquals(double, double, double, String) - Static method in class org.testng.Assert
 
assertNotEquals(double, double, double) - 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, String) - 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(String, Object) - Static method in class org.testng.AssertJUnit
Asserts that an object isn't null.
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) - Static method in class org.testng.Assert
Asserts that two objects do not refer to the same object.
assertNotSame(String, Object, Object) - Static method in class org.testng.AssertJUnit
Asserts that two objects refer to the same object.
assertNotSame(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, String) - 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(String, Object) - Static method in class org.testng.AssertJUnit
Asserts that an object is null.
assertReadable(File, String) - Static method in class org.testng.FileAssert
Asserts that a tstvalue is readable.
assertReadable(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.
assertReadWrite(File) - Static method in class org.testng.FileAssert
 
assertSame(Object, Object, String) - 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.Assert
Asserts that two objects refer to the same object.
assertSame(String, Object, Object) - Static method in class org.testng.AssertJUnit
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.
assertTrue(boolean, String) - Static method in class org.testng.Assert
Asserts that a condition is true.
assertTrue(boolean) - Static method in class org.testng.Assert
Asserts that a condition is true.
assertTrue(String, boolean) - Static method in class org.testng.AssertJUnit
Asserts that a condition is true.
assertTrue(boolean) - Static method in class org.testng.AssertJUnit
Asserts that a condition is true.
assertWriteable(File, String) - Static method in class org.testng.FileAssert
Asserts that a tstvalue is writeable.
assertWriteable(File) - Static method in class org.testng.FileAssert
 
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_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_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
awaitTermination(long) - Method in class org.testng.remote.adapter.DefaultMastertAdapter
 
awaitTermination(long) - Method in interface org.testng.remote.adapter.IMasterAdapter
A blocking wait for the remote results to return.

B

BannerPanel - Class in org.testng.reporters.jq
 
BannerPanel(Model) - Constructor for class org.testng.reporters.jq.BannerPanel
 
BaseChunk - Class in org.testng.mustache
 
BaseChunk(Model) - Constructor for class org.testng.mustache.BaseChunk
 
BaseMessageSender - Class in org.testng.remote.strprotocol
 
BaseMessageSender(String, int, boolean) - Constructor for class org.testng.remote.strprotocol.BaseMessageSender
 
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
 
BeforeClass - Annotation Type in org.testng.annotations
 
beforeConfiguration(ITestResult) - Method in interface org.testng.IConfigurationListener2
Invoked before a configuration method is invoked.
beforeConfiguration(ITestResult) - Method in class org.testng.remote.strprotocol.RemoteTestListener
 
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) - Method in class org.testng.TestNG.ExitCodeListener
 
BeforeGroups - Annotation Type in org.testng.annotations
 
beforeInvocation(IInvokedMethod, ITestResult) - Method in interface org.testng.IInvokedMethodListener
 
beforeInvocation(IInvokedMethod, ITestResult, ITestContext) - Method in interface org.testng.IInvokedMethodListener2
To be implemented if the method needs a handle to contextual information.
beforeInvocation(IInvokedMethod, ITestResult) - Method in class org.testng.SuiteRunner
 
BeforeMethod - Annotation Type in org.testng.annotations
 
BeforeSuite - Annotation Type in org.testng.annotations
 
BeforeTest - Annotation Type in org.testng.annotations
 
buildTestRunnerFactory() - Method in class org.testng.remote.RemoteTestNG
Override by the plugin if you need to configure differently the TestRunner (usually this is needed if different listeners/reporters are needed).

C

C - Static variable in class org.testng.reporters.jq.BasePanel
 
canRunFromClass(IClass) - Method in interface org.testng.ITestNGMethod
Returns if this ITestNGMethod can be invoked from within IClass.
characters(char[], int, int) - Method in class org.testng.xml.ResultContentHandler
 
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 - Static variable in class org.testng.reporters.SuiteHTMLReporter
 
ClassMethodMap - Class in org.testng
This class maintains a map of >.
ClassMethodMap(List<ITestNGMethod>, XmlMethodSelector) - Constructor for class org.testng.ClassMethodMap
 
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
 
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 The <classes> sub element is ignored for the moment.
com.beust.testng - package com.beust.testng
 
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
 
compose() - Method in class org.testng.mustache.StringChunk
 
compose() - Method in class org.testng.mustache.VariableChunk
 
CONFIG_FAILURE_POLICY - Static variable in class org.testng.CommandLineArgs
 
configFailurePolicy - Variable in class org.testng.CommandLineArgs
 
Configuration - Annotation Type in org.testng.annotations
Deprecated. Use @BeforeSuite, @AfterSuite, @BeforeTest, @AfterTest, \@BeforeGroups, @AfterGroups, @BeforeClass, @AfterClass, @BeforeMethod, \@AfterMethod
configure(CommandLineArgs) - Method in class org.testng.TestNG
Configure the TestNG instance based on the command line parameters.
configure(Map) - Method in class org.testng.TestNG
Deprecated. use new configure(CommandLineArgs) method
connect() - Method in class org.testng.remote.strprotocol.BaseMessageSender
Starts the connection.
connect() - Method in interface org.testng.remote.strprotocol.IMessageSender
 
connect() - Method in class org.testng.remote.strprotocol.MessageHub
Starts the connection.
ConnectionInfo - Class in org.testng.remote
 
ConnectionInfo() - Constructor for class org.testng.remote.ConnectionInfo
 
containsKey(K) - Method in class org.testng.collections.ListMultiMap
 
containsKey(K) - Method in class org.testng.collections.SetMultiMap
 
CONTINUE - Static variable in class org.testng.xml.XmlSuite
 
ConversionUtils - Class in org.testng
Helper methods used by the Eclipse plug-in when converting tests from JUnit.
ConversionUtils() - Constructor for class org.testng.ConversionUtils
 
convertDate(String) - Static method in class org.testng.reporters.XMLReporterConfig
 
Converter - Class in org.testng
Convert XML files to YAML and vice versa.
Converter() - Constructor for class org.testng.Converter
 
copyFile(InputStream, File) - Static method in class org.testng.reporters.Files
 
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.
createCustomizedSuite(String, Collection<String>, Collection<String>, Collection<String>, Collection<String>, Map<String, String>, String, int) - Static method in class org.testng.xml.SuiteGenerator
Deprecated. use SuiteGenerator.createSuite(String, java.util.Collection, java.util.Map, java.util.Collection, java.util.Map, String, int) instead.
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
 
createSuiteMessage(String) - Static method in class org.testng.remote.strprotocol.MessageHelper
 
createTestMessage(String) - Static method in class org.testng.remote.strprotocol.MessageHelper
 
createTestResult() - Method in class org.testng.junit.JUnitTestRunner
Creates the TestResult to be used for the test run.
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.
createWriter(String) - Method in class org.testng.reporters.EmailableReporter
 

D

D - Static variable in class org.testng.reporters.jq.BasePanel
 
DATA_PROVIDER_THREAD_COUNT - Static variable in class org.testng.CommandLineArgs
 
DataProvider - Annotation Type in org.testng.annotations
Mark a method as supplying data for a test method.
dataProviderThreadCount - Variable in class org.testng.CommandLineArgs
 
DEBUG - Static 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_PORT - Static variable in class org.testng.remote.RemoteTestNG
 
DEBUG_SUITE_DIRECTORY - Static variable in class org.testng.remote.RemoteTestNG
 
DEBUG_SUITE_FILE - Static variable in class org.testng.remote.RemoteTestNG
 
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.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.
DefaultMastertAdapter - Class in org.testng.remote.adapter
Default Master adapter, provides an adapter based on hosts file.
DefaultMastertAdapter() - Constructor for class org.testng.remote.adapter.DefaultMastertAdapter
 
DefaultWorkerAdapter - Class in org.testng.remote.adapter
Default Slave adapter, provides an adapter based on static port.
DefaultWorkerAdapter() - Constructor for class org.testng.remote.adapter.DefaultWorkerAdapter
 
DELIMITER - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
DependencyMap - Class in org.testng
Helper class to keep track of dependencies.
DependencyMap(ITestNGMethod[]) - Constructor for class org.testng.DependencyMap
 
DEPRECATED_TESTNG_DTD_URL - Static variable in class org.testng.xml.Parser
The URL to the deprecated TestNG DTD.
deserialize(String) - Static method in class org.testng.ReporterConfig
 
dispatch(IConfiguration, List<XmlSuite>, String, List<ITestListener>) - Method in class org.testng.remote.SuiteDispatcher
Dispatch test suites
DONT_EXIT - Static variable in class org.testng.remote.RemoteArgs
 
dontExit - Variable in class org.testng.remote.RemoteArgs
 
doRun(Test) - Method in class org.testng.junit.JUnitTestRunner
 
DotTestListener - Class in org.testng.reporters
 
DotTestListener() - Constructor for class org.testng.reporters.DotTestListener
 

E

EmailableReporter - Class in org.testng.reporters
Reported designed to render self-contained HTML top down view of a testing suite.
EmailableReporter() - Constructor for class org.testng.reporters.EmailableReporter
 
endElement(String, String, String) - Method in class org.testng.xml.ResultContentHandler
 
endElement(String, String, String) - Method in class org.testng.xml.TestNGContentHandler
 
endHtml(PrintWriter) - Method in class org.testng.reporters.EmailableReporter
Finishes HTML stream
endTest(Test) - Method in class org.testng.junit.JUnitTestRunner
 
equals(Object) - Method in class org.testng.remote.strprotocol.TestResultMessage
 
equals(Object) - Method in class org.testng.xml.XmlClass
 
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 - Static variable in interface org.testng.reporters.XMLConstants
the error element
error(SAXParseException) - Method in class org.testng.xml.TestNGContentHandler
 
escape(String) - Static method in class org.testng.reporters.XMLUtils
 
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.
executeAsForked(CommandlineJava, ExecuteWatchdog) - Method in class org.testng.TestNGAntTask
Executes the command line as a new process.
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 - Annotation Type in org.testng.annotations
Deprecated. Use @Test(expectedExceptions = "...")
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(String, Throwable) - Static method in class org.testng.Assert
Fails a test with the given message and wrapping the original exception.
fail(String) - Static method in class org.testng.Assert
Fails a test with the given message.
fail() - Static method in class org.testng.Assert
Fails a test with no message.
fail(String) - Static method in class org.testng.AssertJUnit
Fails a test with the given message.
fail() - Static method in class org.testng.AssertJUnit
Fails a test with no message.
fail(String, Throwable) - Static method in class org.testng.FileAssert
Fails a test with the given message and wrapping the original exception.
fail(String) - Static method in class org.testng.FileAssert
Fails a test with the given message.
fail() - Static method in class org.testng.FileAssert
Fails a test with no message.
failed() - Method in class org.testng.SuiteRunState
 
FAILED_ON_PERCENTAGE_TEST - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
FAILED_TEST - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
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
 
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.XMLReporter
 
FileAssert - Class in org.testng
Assertion tool for File centric assertions.
Files - Class in org.testng.reporters
 
Files() - Constructor for class org.testng.reporters.Files
 
findMethodParameters(XmlTest) - Method in interface org.testng.ITestNGMethod
 
findTestClasses() - Method in interface org.testng.ITestClassFinder
 
format(LogRecord) - Method in class org.testng.log.TextFormatter
 

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
 
generateExceptionReport(Throwable, ITestNGMethod) - Method in class org.testng.reporters.EmailableReporter
 
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
Creates a section showing known results for each method
generateMethodSummaryReport(List<ISuite>) - Method in class org.testng.reporters.EmailableReporter
Creates a table showing the highlights of each test method with links to the method details
generateOutputDirectoryName(String) - Method in class org.testng.reporters.JqReporter
Overridable by subclasses to create different directory names (e.g.
generateOutputDirectoryName(String) - Method in class org.testng.reporters.SuiteHTMLReporter
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
Creates summary of the run
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.JqReporter
 
generateReport(List<XmlSuite>, List<ISuite>, String) - Method in class org.testng.reporters.JUnitReportReporter
 
generateReport(ITestContext) - Method in class org.testng.reporters.JUnitXMLReporter
generate the XML report given what we know from all the test results
generateReport(List<XmlSuite>, List<ISuite>, String) - Method in class org.testng.reporters.SuiteHTMLReporter
 
generateReport(List<XmlSuite>, List<ISuite>, String) - Method in class org.testng.reporters.XMLReporter
 
generateStylesheet(String) - Static method in class org.testng.reporters.HtmlHelper
 
generateSuiteSummaryReport(List<ISuite>) - Method in class org.testng.reporters.EmailableReporter
 
generateTable(StringBuffer, String, Collection<ITestResult>, String, Comparator<ITestResult>) - Static method in class org.testng.reporters.TestHTMLReporter
 
GENERIC_SUITE_COUNT - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
GenericMessage - Class in org.testng.remote.strprotocol
A generic message to be used with remote listeners.
GenericMessage(int) - Constructor for class org.testng.remote.strprotocol.GenericMessage
 
get(K) - Method in class org.testng.collections.ListMultiMap
 
get(K) - Method in class org.testng.collections.SetMultiMap
 
get() - Method in class org.testng.mustache.Value
 
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(Class) - Method in interface org.testng.ITestMethodFinder
 
getAfterClassMethods(Class) - Method in class org.testng.junit.JUnitMethodFinder
 
getAfterClassMethods() - Method in class org.testng.junit.JUnitTestClass
 
getAfterGroups() - Method in interface org.testng.annotations.IConfigurationAnnotation
The list of groups that this configuration method will run after.
getAfterGroups() - Method in interface org.testng.ITestNGMethod
 
getAfterGroupsConfigurationMethods(Class) - Method in interface org.testng.ITestMethodFinder
 
getAfterGroupsConfigurationMethods(Class) - Method in class org.testng.junit.JUnitMethodFinder
 
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
 
getAfterSuite() - Method in interface org.testng.annotations.IConfigurationAnnotation
If true, the annotated method will be run after all tests in this suite have run.
getAfterSuiteMethods() - Method in interface org.testng.ITestClass
Returns all the methods that should be invoked after the suite has run.
getAfterSuiteMethods(Class) - Method in interface org.testng.ITestMethodFinder
 
getAfterSuiteMethods(Class) - Method in class org.testng.junit.JUnitMethodFinder
 
getAfterSuiteMethods() - Method in class org.testng.junit.JUnitTestClass
 
getAfterSuiteMethods() - Method in class org.testng.TestRunner
 
getAfterTest() - Method in interface org.testng.annotations.IConfigurationAnnotation
If true, the annotated method will be run after all every test.
getAfterTestClass() - Method in interface org.testng.annotations.IConfigurationAnnotation
If true, the annotated method will be run after all the tests in the test class have been run.
getAfterTestConfigurationMethods() - Method in interface org.testng.ITestClass
Returns all @Configuration methods that should be invoked last before any others in the current test.
getAfterTestConfigurationMethods(Class) - Method in interface org.testng.ITestMethodFinder
 
getAfterTestConfigurationMethods(Class) - Method in class org.testng.junit.JUnitMethodFinder
 
getAfterTestConfigurationMethods() - Method in class org.testng.junit.JUnitTestClass
 
getAfterTestConfigurationMethods() - Method in class org.testng.TestRunner
 
getAfterTestMethod() - Method in interface org.testng.annotations.IConfigurationAnnotation
If true, the annotated method will be run after any test method is invoked.
getAfterTestMethods() - Method in interface org.testng.ITestClass
Returns all the methods that should be invoked after a test method completes.
getAfterTestMethods(Class) - Method in interface org.testng.ITestMethodFinder
 
getAfterTestMethods(Class) - Method in class org.testng.junit.JUnitMethodFinder
 
getAfterTestMethods() - Method in class org.testng.junit.JUnitTestClass
 
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.XmlSuite
 
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
 
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(Class) - Method in interface org.testng.ITestMethodFinder
 
getBeforeClassMethods(Class) - Method in class org.testng.junit.JUnitMethodFinder
 
getBeforeClassMethods() - Method in class org.testng.junit.JUnitTestClass
 
getBeforeGroups() - Method in interface org.testng.annotations.IConfigurationAnnotation
The list of groups that this configuration method will run before.
getBeforeGroups() - Method in interface org.testng.ITestNGMethod
Before and After groups
getBeforeGroupsConfigurationMethods(Class) - Method in interface org.testng.ITestMethodFinder
 
getBeforeGroupsConfigurationMethods(Class) - Method in class org.testng.junit.JUnitMethodFinder
 
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
 
getBeforeSuite() - Method in interface org.testng.annotations.IConfigurationAnnotation
If true, the annotated method will be run before this suite starts.
getBeforeSuiteMethods() - Method in interface org.testng.ITestClass
Returns All the methods that should be invoked before the suite is run.
getBeforeSuiteMethods(Class) - Method in interface org.testng.ITestMethodFinder
 
getBeforeSuiteMethods(Class) - Method in class org.testng.junit.JUnitMethodFinder
 
getBeforeSuiteMethods() - Method in class org.testng.junit.JUnitTestClass
 
getBeforeSuiteMethods() - Method in class org.testng.TestRunner
 
getBeforeTest() - Method in interface org.testng.annotations.IConfigurationAnnotation
If true, the annotated method will be run before every test
getBeforeTestClass() - Method in interface org.testng.annotations.IConfigurationAnnotation
If true, the annotated method will be run after the test class is instantiated and before the test method is invoked.
getBeforeTestConfigurationMethods() - Method in interface org.testng.ITestClass
Returns all @Configuration methods that should be invoked before any others in the current test.
getBeforeTestConfigurationMethods(Class) - Method in interface org.testng.ITestMethodFinder
 
getBeforeTestConfigurationMethods(Class) - Method in class org.testng.junit.JUnitMethodFinder
 
getBeforeTestConfigurationMethods() - Method in class org.testng.junit.JUnitTestClass
 
getBeforeTestConfigurationMethods() - Method in class org.testng.TestRunner
 
getBeforeTestMethod() - Method in interface org.testng.annotations.IConfigurationAnnotation
If true, the annotated method will be run before any test method is invoked.
getBeforeTestMethods() - Method in interface org.testng.ITestClass
Returns all the methods that should be invoked before a test method is invoked.
getBeforeTestMethods(Class) - Method in interface org.testng.ITestMethodFinder
 
getBeforeTestMethods(Class) - Method in class org.testng.junit.JUnitMethodFinder
 
getBeforeTestMethods() - Method in class org.testng.junit.JUnitTestClass
 
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.ReporterConfig
 
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
 
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
 
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
 
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
 
getCurrentInvocationCount() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getCurrentTestResult() - Static method in class org.testng.Reporter
 
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
 
getDataProviderThreadCount() - Method in class org.testng.xml.XmlSuite
 
getDate() - Method in interface org.testng.IInvokedMethod
 
getDate() - Method in interface org.testng.ITestNGMethod
 
getDefault() - Static method in class org.testng.TestNG
Deprecated. since 5.1
getDefaultSuiteName() - Method in class org.testng.TestNG
 
getDefaultTestName() - Method in class org.testng.TestNG
 
getDependsOnGroups() - Method in interface org.testng.annotations.ITestOrConfiguration
The list of groups this method depends on.
getDependsOnMethods() - Method in interface org.testng.annotations.ITestOrConfiguration
The list of methods this method depends on.
getDescription() - Method in interface org.testng.annotations.ITestOrConfiguration
The description for this method, which will be shown in the reports.
getDescription() - Method in interface org.testng.ITestNGMethod
 
getDescription() - Method in class org.testng.xml.XmlInclude
 
getDescriptionForMethod(String) - Method in class org.testng.remote.strprotocol.SuiteMessage
 
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
When this test stopped running.
getEndDate() - Method in class org.testng.TestRunner
 
getEndMillis() - Method in interface org.testng.ITestResult
 
getEndMillis() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getEntrySet() - Method in class org.testng.collections.ListMultiMap
 
getEntrySet() - Method in class org.testng.collections.SetMultiMap
 
getExclude() - Method in class org.testng.xml.XmlPackage
 
getExcludedGroups() - Method in interface org.testng.ITestContext
 
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.remote.strprotocol.SuiteMessage
 
getExcludedMethods() - Method in class org.testng.SuiteRunner
 
getExcludedMethods() - Method in class org.testng.TestRunner
 
getExcludedMethods() - Method in class org.testng.xml.XmlClass
 
getExpectedExceptions() - Method in interface org.testng.annotations.ITestAnnotation
 
getExpectedExceptionsMessageRegExp() - Method in interface org.testng.annotations.ITestAnnotation
 
getExpression() - Method in class org.testng.xml.XmlMethodSelector
 
getExpression() - Method in class org.testng.xml.XmlTest
 
getFailedButWithinSuccessPercentageTests() - Method in interface org.testng.ITestContext
 
getFailedButWithinSuccessPercentageTests() - Method in class org.testng.TestListenerAdapter
 
getFailedButWithinSuccessPercentageTests() - Method in class org.testng.TestRunner
 
getFailedConfigurations() - Method in interface org.testng.ITestContext
Retrieves information about the failed configuration method invocations.
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.remote.strprotocol.TestMessage
 
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.XMLReporter
 
getFileFragmentationLevel() - Method in class org.testng.reporters.XMLReporterConfig
 
getFileName(Class) - Method in class org.testng.reporters.JUnitReportReporter
 
getFileName() - Method in class org.testng.xml.XmlSuite
 
getGroupByInstances() - Method in class org.testng.xml.XmlSuite
 
getGroupByInstances() - Method in class org.testng.xml.XmlTest
 
getGroups() - Method in interface org.testng.annotations.ITestOrConfiguration
The list of groups this class/method belongs to.
getGroups() - Method in interface org.testng.ITestNGMethod
 
getGroups(String) - Method in class org.testng.reporters.jq.Model
 
getGroupsDependedUpon() - Method in interface org.testng.ITestNGMethod
 
getGuiceModules(Class<? extends Module>) - Method in interface org.testng.ITestContext
 
getGuiceModules(Class<? extends Module>) - Method in class org.testng.TestRunner
 
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.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
 
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.
getInheritGroups() - Method in interface org.testng.annotations.IConfigurationAnnotation
If true, this @Configuration method will belong to groups specified in the \@Test annotation on the class (if any).
getInjector(List<Module>) - Method in interface org.testng.ITestContext
 
getInjector(List<Module>) - Method in class org.testng.TestRunner
 
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
The instance on which this method was run.
getInstanceClass() - Method in interface org.testng.IInstanceInfo
 
getInstanceCount() - Method in interface org.testng.IClass
 
getInstanceCount() - Method in interface org.testng.ITestClass
 
getInstanceCount() - Method in class org.testng.junit.JUnitTestClass
 
getInstanceHashCodes() - Method in interface org.testng.IClass
 
getInstanceHashCodes() - Method in interface org.testng.ITestClass
TODO cquezel JavaDoc.
getInstanceHashCodes() - Method in interface org.testng.ITestNGMethod
Needed for serialization.
getInstanceHashCodes() - Method in class org.testng.junit.JUnitTestClass
 
getInstanceName() - Method in interface org.testng.ITestResult
 
getInstanceName() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getInstances(boolean) - Method in interface org.testng.IClass
 
getInstances() - Method in interface org.testng.IMethodInstance
Deprecated. Use getInstance()
getInstances(boolean) - Method in interface org.testng.ITestClass
Returns all the instances the methods will be invoked upon.
getInstances() - Method in interface org.testng.ITestNGMethod
Deprecated. Use getInstance().
getInstances() - Method in class org.testng.junit.JUnit4TestMethod
 
getInstances(boolean) - Method in class org.testng.junit.JUnitTestClass
 
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
 
getInvocationCount() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
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
The time under which all invocationCount methods need to complete by.
getInvokedAfterClassMethods() - Method in class org.testng.ClassMethodMap
 
getInvokedBeforeClassMethods() - Method in class org.testng.ClassMethodMap
 
getInvokedMethods() - Method in interface org.testng.ISuite
Deprecated. Use getAllInvokedMthods().
getInvokedMethods() - Method in class org.testng.SuiteRunner
 
getInvokedMethods() - Method in class org.testng.TestRunner
 
getInvoker() - Method in class org.testng.TestRunner
 
getJavaCommand() - Method in class org.testng.TestNGAntTask
Creates or returns the already created CommandlineJava.
getKeys() - Method in class org.testng.collections.ListMultiMap
 
getKeys() - Method in class org.testng.collections.SetMultiMap
 
getLanguage() - Method in class org.testng.xml.XmlMethodSelector
 
getListeners() - Method in class org.testng.xml.XmlSuite
 
getLogger(Class) - Static method in class org.testng.log4testng.Logger
Retrieve a logger named according to the value of the pClass.getName() parameter.
getMessage() - Method in exception org.testng.TimeBombSkipException
 
getMessageAsString() - Method in class org.testng.remote.strprotocol.GenericMessage
 
getMessageAsString() - Method in interface org.testng.remote.strprotocol.IStringMessage
 
getMessageAsString() - Method in class org.testng.remote.strprotocol.SuiteMessage
 
getMessageAsString() - Method in class org.testng.remote.strprotocol.TestMessage
 
getMessageAsString() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getMessageSender() - Method in class org.testng.remote.strprotocol.MessageHub
 
getMessageType(String) - Static method in class org.testng.remote.strprotocol.MessageHelper
 
getMetaGroups() - Method in class org.testng.xml.XmlTest
 
getMethod() - Method in interface org.testng.IMethodInstance
 
getMethod() - Method in interface org.testng.ITestNGMethod
Deprecated. This method is deprecated and can now return null. Use getConstructorOrMethod() instead.
getMethod() - Method in interface org.testng.ITestResult
 
getMethod() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getMethodDependingOn(String, ITestNGMethod) - Method in class org.testng.DependencyMap
 
getMethodName() - Method in interface org.testng.ITestNGMethod
Returns the method name.
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.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
 
getMissingGroup() - Method in interface org.testng.ITestNGMethod
If a group was not found.
getModel() - Method in class org.testng.reporters.jq.BasePanel
 
getName() - Method in interface org.testng.annotations.IDataProviderAnnotation
The name of this DataProvider.
getName() - Method in interface org.testng.IClass
 
getName() - Method in interface org.testng.ISuite
 
getName() - Method in interface org.testng.ITestContext
The name of this test.
getName() - Method in interface org.testng.ITestResult
 
getName() - Method in class org.testng.junit.JUnitTestClass
 
getName() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getName() - Method in class org.testng.ReporterConfig.Property
 
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.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
 
getObjectFactory() - Method in interface org.testng.ISuite
 
getObjectFactory() - Method in class org.testng.SuiteRunner
 
getObjectFactory() - Method in class org.testng.xml.XmlSuite
 
getObjectFactory2() - Method in interface org.testng.ISuite
 
getObjectFactory2() - Method in class org.testng.SuiteRunner
 
getOis() - Method in class org.testng.remote.ConnectionInfo
 
getOos() - Method in class org.testng.remote.ConnectionInfo
 
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.XMLReporter
 
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
 
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
 
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
 
getParameterOutput() - Method in interface org.testng.IExtraOutput
 
getParameters() - Method in interface org.testng.annotations.IParameterizable
Deprecated. Use @Parameters
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.remote.strprotocol.TestResultMessage
 
getParameters() - Method in class org.testng.xml.XmlInclude
 
getParameters() - Method in class org.testng.xml.XmlSuite
Gets the parameters that apply to tests in this suite.
Set of parameters for a suite is appended with parameters from parent suite.
getParameters() - Method in class org.testng.xml.XmlTest
Returns a merge of the the test parameters and its parent suite parameters.
getParameterTypes() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getParentSuite() - Method in class org.testng.xml.XmlSuite
 
getPassedConfigurations() - Method in interface org.testng.ITestContext
Retrieves information about the successful configuration method invocations.
getPassedConfigurations() - Method in class org.testng.TestRunner
 
getPassedResultsByClass(ISuite) - Method in class org.testng.reporters.jq.Model
 
getPassedTestCount() - Method in class org.testng.remote.strprotocol.TestMessage
 
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 class org.testng.xml.XmlMethodSelector
 
getProperties() - Method in class org.testng.ReporterConfig
 
getPropertyFileName() - Method in interface org.testng.ISuiteResult
 
getRealClass() - Method in interface org.testng.IClass
 
getRealClass() - Method in interface org.testng.ITestNGMethod
 
getRealClass() - Method in class org.testng.junit.JUnitTestClass
 
getReporters() - Method in class org.testng.SuiteRunner
 
getReporters() - Method in class org.testng.TestNG
 
getResult() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getResults(ITestNGMethod) - Method in interface org.testng.IResultMap
 
getResults() - Method in interface org.testng.ISuite
 
getResults(Class<?>) - Method in class org.testng.reporters.jq.ResultsByClass
 
getResults() - Method in class org.testng.SuiteRunner
 
getRetryAnalyzer() - Method in interface org.testng.annotations.ITestAnnotation
 
getRetryAnalyzer() - Method in interface org.testng.ITestNGMethod
 
getSequential() - Method in interface org.testng.annotations.ITestAnnotation
 
getServiceLoaderListeners() - Method in class org.testng.TestNG
 
getSingleThreaded() - Method in interface org.testng.annotations.ITestAnnotation
 
getSize() - Method in class org.testng.collections.ListMultiMap
 
getSize() - Method in class org.testng.collections.SetMultiMap
 
getSkippedConfigurations() - Method in interface org.testng.ITestContext
Retrieves information about the skipped configuration method invocations.
getSkippedConfigurations() - Method in class org.testng.TestRunner
 
getSkippedResultsByClass(ISuite) - Method in class org.testng.reporters.jq.Model
 
getSkippedTestCount() - Method in class org.testng.remote.strprotocol.TestMessage
 
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
 
getSlavePool() - Method in class org.testng.remote.RemoteWorker
 
getSocket() - Method in class org.testng.remote.ConnectionInfo
 
getStackTrace() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getStackTraceOutputMethod() - Method in class org.testng.reporters.XMLReporter
 
getStackTraceOutputMethod() - Method in class org.testng.reporters.XMLReporterConfig
 
getStart() - Method in class org.testng.TestNG
 
getStartDate() - Method in interface org.testng.ITestContext
When this test started running.
getStartDate() - Method in class org.testng.TestRunner
 
getStartMillis() - Method in interface org.testng.ITestResult
 
getStartMillis() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getStatus() - Method in interface org.testng.ITestResult
 
getStatus(String) - Static method in class org.testng.reporters.XMLReporterConfig
 
getStatus() - Method in class org.testng.TestNG
 
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
 
getSuccessPercentageFailedTestCount() - Method in class org.testng.remote.strprotocol.TestMessage
 
getSuite() - Method in interface org.testng.ITestContext
 
getSuite(long) - Method in class org.testng.remote.adapter.DefaultWorkerAdapter
 
getSuite(long) - Method in interface org.testng.remote.adapter.IWorkerAdapter
A blocking call to get the next Suite to test.
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
 
getSuiteCount() - Method in class org.testng.remote.strprotocol.GenericMessage
 
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.remote.strprotocol.AbstractRemoteTestRunnerClient
 
getSuiteListeners() - Method in class org.testng.TestNG
 
getSuiteName() - Method in interface org.testng.annotations.ITestAnnotation
 
getSuiteName() - Method in class org.testng.remote.strprotocol.SuiteMessage
 
getSuiteName() - Method in class org.testng.remote.strprotocol.TestMessage
 
getSuiteName() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getSuites() - Method in class org.testng.reporters.jq.BasePanel
 
getSuites() - Method in class org.testng.reporters.jq.Model
 
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
 
getTest(Class, String...) - Method in class org.testng.junit.JUnitTestRunner
Returns the Test corresponding to the given suite.
getTest() - Method in class org.testng.TestRunner
 
getTest() - Method in class org.testng.xml.XmlSuite
Returns the test.
getTestClass() - Method in interface org.testng.ITestNGMethod
 
getTestClass() - Method in interface org.testng.ITestResult
 
getTestClass() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
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
 
getTestCount() - Method in class org.testng.remote.strprotocol.GenericMessage
 
getTestDescription() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getTestListeners() - Method in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient
 
getTestListeners() - Method in class org.testng.TestNG
 
getTestListeners() - Method in class org.testng.TestRunner
 
getTestMethod() - Method in interface org.testng.IInvokedMethod
 
getTestMethodCount() - Method in class org.testng.remote.strprotocol.SuiteMessage
 
getTestMethodCount() - Method in class org.testng.remote.strprotocol.TestMessage
 
getTestMethods() - Method in interface org.testng.ITestClass
Returns all the applicable test methods.
getTestMethods(Class, XmlTest) - Method in interface org.testng.ITestMethodFinder
 
getTestMethods() - Method in interface org.testng.junit.IJUnitTestRunner
 
getTestMethods() - Method in class org.testng.junit.JUnit4TestRunner
Needed from TestRunner in order to figure out what JUnit test methods were run.
getTestMethods(Class, XmlTest) - Method in class org.testng.junit.JUnitMethodFinder
 
getTestMethods() - Method in class org.testng.junit.JUnitTestClass
 
getTestMethods() - Method in class org.testng.junit.JUnitTestRunner
Needed from TestRunner in order to figure out what JUnit test methods were run.
getTestName() - Method in interface org.testng.annotations.ITestAnnotation
 
getTestName() - Method in interface org.testng.IClass
If this class implements ITest, returns its test name, otherwise returns null.
getTestName() - Method in interface org.testng.ITest
The name of test instance(s).
getTestName() - Method in interface org.testng.ITestResult
If this result's related instance implements ITest, returns its test name, otherwise returns null.
getTestName() - Method in class org.testng.junit.JUnitTestClass
 
getTestName() - Method in class org.testng.remote.strprotocol.TestMessage
 
getTestName(ITestResult) - Method in class org.testng.reporters.JUnitReportReporter
 
getTestNGInstrastructure(StackTraceElement[], ITestNGMethod) - Static method in class org.testng.reporters.util.StackTraceTools
Finds topmost position of the test method in the stack, or top of stack if method is not in it.
getTestParameters() - Method in class org.testng.xml.XmlTest
 
getTestResult() - Method in interface org.testng.IInvokedMethod
 
getTestResultName(ITestResult) - Static method in class org.testng.reporters.jq.Model
 
getTestResults(ISuite) - Method in class org.testng.reporters.jq.Model
 
getTestRoot(StackTraceElement[], ITestNGMethod) - Static method in class org.testng.reporters.util.StackTraceTools
Finds topmost position of the test method in the stack, or top of stack if method is not in it.
getTests() - Method in class org.testng.xml.XmlSuite
Returns the tests.
getThreadCount() - Method in class org.testng.xml.XmlSuite
Returns the threadCount.
getThreadCount() - Method in class org.testng.xml.XmlTest
 
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
 
getTimeOut() - Method in interface org.testng.annotations.ITestOrConfiguration
Returns the maximum number of milliseconds this test should take.
getTimeOut() - Method in interface org.testng.ITestNGMethod
 
getTimeOut() - Method in class org.testng.SuiteRunnerWorker
 
getTimeOut() - Method in class org.testng.xml.XmlSuite
Returns the timeout.
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() - Method in class org.testng.xml.XmlTest
 
getTimeOut(long) - Method in class org.testng.xml.XmlTest
 
getTimestampFormat() - Method in class org.testng.reporters.XMLReporter
 
getTimestampFormat() - Static method in class org.testng.reporters.XMLReporterConfig
 
getTopSubModel() - Method in class org.testng.mustache.Model
 
getUserData() - Method in interface org.testng.IMethodSelectorContext
 
getValue() - Method in interface org.testng.annotations.IExpectedExceptionsAnnotation
The list of exceptions expected to be thrown by this method.
getValue() - Method in interface org.testng.annotations.IParametersAnnotation
The list of variables used to fill the parameters of this method.
getValue() - Method in class org.testng.ReporterConfig.Property
 
getValues() - Method in class org.testng.collections.ListMultiMap
 
getValues() - Method in class org.testng.collections.SetMultiMap
 
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
 
getXmlClass() - Method in interface org.testng.IClass
 
getXmlClass() - Method in class org.testng.junit.JUnitTestClass
 
getXmlClasses() - Method in class org.testng.xml.XmlPackage
 
getXmlClasses() - Method in class org.testng.xml.XmlTest
 
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
 
GroupPanel - Class in org.testng.reporters.jq
 
GroupPanel(Model) - Constructor for class org.testng.reporters.jq.GroupPanel
 
GROUPS - Static variable in class org.testng.CommandLineArgs
 
groups - Variable in class org.testng.CommandLineArgs
 
GROUPS - Static variable in class org.testng.reporters.SuiteHTMLReporter
 
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
 
handleThrowable(Throwable) - Method in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient.ServerConnection
 
handleThrowable(Throwable) - Method in class org.testng.remote.strprotocol.StringMessageSender
 
HAS_FAILURE - Static variable in class org.testng.TestNG
 
HAS_FSP - Static variable in class org.testng.TestNG
 
HAS_NO_TEST - Static variable in class org.testng.TestNG
 
HAS_SKIPPED - Static variable in class org.testng.TestNG
 
hasFailure() - Method in class org.testng.TestNG
 
hasFailureWithinSuccessPercentage() - Method in class org.testng.TestNG
 
hashCode() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
hashCode() - Method in class org.testng.xml.XmlClass
 
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
 
hasSkip() - Method in class org.testng.TestNG
 
HOST - Static variable in class org.testng.CommandLineArgs
 
host - Variable in class org.testng.CommandLineArgs
 
HOSTS - Static variable in class org.testng.remote.adapter.DefaultMastertAdapter
 
HtmlHelper - Class in org.testng.reporters
 
HtmlHelper() - Constructor for class org.testng.reporters.HtmlHelper
 

I

IAnnotation - Interface in org.testng.annotations
The parent interface for all the annotations.
IAnnotationTransformer - Interface in org.testng
 
IAnnotationTransformer2 - Interface in org.testng
Use this interface instead of IAnnotationTransformer if you want to modify any TestNG annotation besides @Test.
IAttributes - Interface in org.testng
A trait that is used by all interfaces that lets the user add or remove their own attributes.
IClass - Interface in org.testng
IClass represents a test class and a collection of its instances.
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 Created on Dec 20, 2005
IConfigurationListener - Interface in org.testng
Listener interface for events related to configuration methods.
IConfigurationListener2 - Interface in org.testng
 
IConfigureCallBack - Interface in org.testng
A parameter of this type will be passed to the run() method of a IConfigurable.
IDataProviderAnnotation - Interface in org.testng.annotations
Encapsulate the @DataProvider / @testng.data-provider annotation Created on Dec 20, 2005
IExecutionListener - Interface in org.testng
A listener used to monitor when a TestNG run starts and ends.
IExpectedExceptionsAnnotation - Interface in org.testng.annotations
Encapsulate the @ExpectedExceptions / @testng.expected-exceptions annotation Created on Dec 20, 2005
IExtraOutput - Interface in org.testng
This class is used by Reporter to store the extra output to be later included in the HTML report: - User-generated report - Parameter info Created on Feb 16, 2006
IFactoryAnnotation - Interface in org.testng.annotations
Encapsulate the @Factory / @testng.factory annotation Created on Dec 20, 2005
IFileParser<T> - Interface in org.testng.xml
 
IgnoredMethodsPanel - Class in org.testng.reporters.jq
 
IgnoredMethodsPanel(Model) - Constructor for class org.testng.reporters.jq.IgnoredMethodsPanel
 
ignoreMissingDependencies() - Method in interface org.testng.annotations.ITestAnnotation
 
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.
IInstanceInfo - 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.
IInvokedMethodListener2 - Interface in org.testng
Implement this interface if you need a handle to ITestContext.
IJUnitTestRunner - Interface in org.testng.junit
An abstraction interface over JUnit test runners.
IMasterAdapter - Interface in org.testng.remote.adapter
This interface should be implemented by the Master-Slave transport adapter.
IMessage - Interface in org.testng.remote.strprotocol
Marker interface for messages exchanged between RemoteTestNG and a client.
IMessageSender - Interface in org.testng.remote.strprotocol
 
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.
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.
includeMethod(IMethodSelectorContext, ITestNGMethod, boolean) - Method in interface org.testng.IMethodSelector
 
incrementCurrentInvocationCount() - Method in interface org.testng.ITestNGMethod
 
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.
init(Properties) - Method in class org.testng.remote.adapter.DefaultMastertAdapter
 
init(Properties) - Method in class org.testng.remote.adapter.DefaultWorkerAdapter
 
init(Properties) - Method in interface org.testng.remote.adapter.IMasterAdapter
Initializes the Master adapter.
init(Properties) - Method in interface org.testng.remote.adapter.IWorkerAdapter
Initializes the worker adapter.
initializeSuitesAndJarFile() - Method in class org.testng.TestNG
 
initReceiver() - Method in class org.testng.remote.strprotocol.BaseMessageSender
 
initReceiver() - Method in interface org.testng.remote.strprotocol.IMessageSender
Initialize the receiver.
initReceiver() - Method in class org.testng.remote.strprotocol.MessageHub
 
intercept(List<IMethodInstance>, ITestContext) - Method in interface org.testng.IMethodInterceptor
 
invocationTimeOut() - Method in interface org.testng.annotations.ITestAnnotation
 
IObjectFactory - Interface in org.testng
Factory used to create all test instances.
IObjectFactory2 - Interface in org.testng
Factory used to create all test instances.
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 Created on Dec 20, 2005
IPostProcessor - Interface in org.testng.xml
Used by Parser to perform changes on an XML suite after it's been parsed.
IRemoteSuiteListener - Interface in org.testng.remote.strprotocol
Interface replicating the ISuiteListener used for remote listeners.
IRemoteTestListener - Interface in org.testng.remote.strprotocol
Interface replicating ITestListener for remote listeners.
IReporter - Interface in org.testng
This interface can be implemented by clients to generate a report.
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.
isAfterClassConfiguration() - Method in interface org.testng.ITestNGMethod
 
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
 
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
 
isConfigurationMethod() - Method in interface org.testng.IInvokedMethod
 
isDebug() - Static method in class org.testng.remote.RemoteTestNG
 
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.ListMultiMap
 
isEmpty() - Method in class org.testng.collections.SetMultiMap
 
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.XMLReporter
 
isGenerateDependsOnGroups() - Method in class org.testng.reporters.XMLReporterConfig
 
isGenerateDependsOnMethods() - Method in class org.testng.reporters.XMLReporter
 
isGenerateDependsOnMethods() - Method in class org.testng.reporters.XMLReporterConfig
 
isGenerateGroupsAttribute() - Method in class org.testng.reporters.XMLReporter
 
isGenerateGroupsAttribute() - Method in class org.testng.reporters.XMLReporterConfig
 
isGenerateTestResultAttributes() - Method in class org.testng.reporters.XMLReporter
 
isGenerateTestResultAttributes() - Method in class org.testng.reporters.XMLReporterConfig
 
isInfoEnabled() - Method in class org.testng.log4testng.Logger
Check whether this logger is enabled for the INFO Level.
isJdk14() - Static method in class org.testng.TestNG
Deprecated. 
isJUnit() - Method in class org.testng.xml.XmlSuite
Returns the JUnit compatibility flag.
isJUnit() - Method in class org.testng.xml.XmlTest
 
isJUnitTest(Class) - Static method in class org.testng.junit.JUnitTestFinder
 
isMessageOnStart() - Method in class org.testng.remote.strprotocol.SuiteMessage
 
isMessageOnStart() - Method in class org.testng.remote.strprotocol.TestMessage
 
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.
isRunning() - Method in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient
 
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.XMLReporter
 
isSplitClassAndPackageNames() - Method in class org.testng.reporters.XMLReporterConfig
 
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(Class) - Method in class org.testng.junit.JUnit3TestRecognizer
 
isTest(Class) - Method in class org.testng.junit.JUnit4TestRecognizer
 
isTest() - Method in class org.testng.junit.JUnitTestMethod
 
isTestMethod() - Method in interface org.testng.IInvokedMethod
 
isTestStart() - Method in class org.testng.remote.strprotocol.TestMessage
 
isTraceEnabled() - Method in class org.testng.log4testng.Logger
Check whether this logger is enabled for the TRACE Level.
IStringMessage - Interface in org.testng.remote.strprotocol
String based protocol main interface to be used with remote listeners.
ISuite - Interface in org.testng
Interface defining a Test Suite.
ISuiteListener - Interface in org.testng
Listener for test suites.
ISuiteResult - Interface in org.testng
This class represents the result of a suite run.
isVerbose() - Static method in class org.testng.remote.RemoteTestNG
 
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.
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 Created on Dec 20, 2005
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.
IWorkerAdapter - Interface in org.testng.remote.adapter
This interface should be implemented by the Master-Slave transport adapter.

J

JqReporter - Class in org.testng.reporters
 
JqReporter() - Constructor for class org.testng.reporters.JqReporter
 
JUNIT - Static variable in class org.testng.CommandLineArgs
 
junit - Variable in class org.testng.CommandLineArgs
 
JUnit3TestClass - Class in org.testng.junit
 
JUnit3TestClass(Test) - Constructor for class org.testng.junit.JUnit3TestClass
 
JUnit3TestMethod - Class in org.testng.junit
 
JUnit3TestMethod(JUnitTestClass, Test) - Constructor for class org.testng.junit.JUnit3TestMethod
 
JUnit3TestRecognizer - Class in org.testng.junit
 
JUnit3TestRecognizer() - Constructor for class org.testng.junit.JUnit3TestRecognizer
 
JUnit4TestClass - Class in org.testng.junit
 
JUnit4TestClass(Description) - Constructor for class org.testng.junit.JUnit4TestClass
 
JUnit4TestMethod - Class in org.testng.junit
 
JUnit4TestMethod(JUnitTestClass, Description) - Constructor for class org.testng.junit.JUnit4TestMethod
 
JUnit4TestRecognizer - Class in org.testng.junit
 
JUnit4TestRecognizer() - Constructor for class org.testng.junit.JUnit4TestRecognizer
 
JUnit4TestRunner - Class in org.testng.junit
A JUnit TestRunner that records/triggers all information/events necessary to TestNG.
JUnit4TestRunner() - Constructor for class org.testng.junit.JUnit4TestRunner
 
JUnit4TestRunner(ITestResultNotifier) - Constructor for class org.testng.junit.JUnit4TestRunner
 
JUnitMethodFinder - Class in org.testng.junit
This class locates all test and configuration methods according to JUnit.
JUnitMethodFinder(String, IAnnotationFinder) - Constructor for class org.testng.junit.JUnitMethodFinder
 
JUnitReportReporter - Class in org.testng.reporters
 
JUnitReportReporter() - Constructor for class org.testng.reporters.JUnitReportReporter
 
JUnitTestClass - Class in org.testng.junit
 
JUnitTestClass(Class) - Constructor for class org.testng.junit.JUnitTestClass
 
JUnitTestFinder - Class in org.testng.junit
 
JUnitTestFinder() - Constructor for class org.testng.junit.JUnitTestFinder
 
JUnitTestMethod - Class in org.testng.junit
 
JUnitTestMethod(JUnitTestClass, Method, Object) - Constructor for class org.testng.junit.JUnitTestMethod
 
JUnitTestRunner - Class in org.testng.junit
A JUnit TestRunner that records/triggers all information/events necessary to TestNG.
JUnitTestRunner() - Constructor for class org.testng.junit.JUnitTestRunner
 
JUnitTestRunner(ITestResultNotifier) - Constructor for class org.testng.junit.JUnitTestRunner
 
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
 

L

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.
LaunchSuite.ExistingSuite(File) - Constructor for class org.testng.xml.LaunchSuite.ExistingSuite
Constructs a ExistingSuite based on an existing file
LISTENER - Static variable in class org.testng.CommandLineArgs
 
listener - 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.
ListMultiMap<K,V> - Class in org.testng.collections
A container to hold lists indexed by a key.
ListMultiMap() - Constructor for class org.testng.collections.ListMultiMap
 
Lists - Class in org.testng.collections
 
Lists() - Constructor for class org.testng.collections.Lists
 
listToString(List<Integer>) - Static method in class org.testng.xml.XmlClass
 
loadClasses() - Method in class org.testng.xml.XmlClass
 
LOG - Static variable in class org.testng.CommandLineArgs
 
log(String) - Static method in class org.testng.Reporter
Log the passed string to the HTML reports
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 or greater than the one passed in parameter.
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 or greater than the one passed in parameter
Logger - Class in org.testng.log4testng
TestNG support logging via a custom logging framework similar to Log4j.

M

m_ackLock - Variable in class org.testng.remote.strprotocol.BaseMessageSender
 
m_assertEnabled - Variable in class org.testng.TestNGAntTask
 
m_classFilesets - Variable in class org.testng.TestNGAntTask
 
m_clientSocket - Variable in class org.testng.remote.strprotocol.BaseMessageSender
 
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_endMillis - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_environment - Variable in class org.testng.TestNGAntTask
 
m_excludedGroups - Variable in class org.testng.TestNGAntTask
 
m_failedTestCount - Variable in class org.testng.remote.strprotocol.TestMessage
 
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_inReader - Variable in class org.testng.remote.strprotocol.BaseMessageSender
Used to receive ACK and STOP
m_inStream - Variable in class org.testng.remote.strprotocol.BaseMessageSender
Incoming message stream.
m_javaCommand - Variable in class org.testng.TestNGAntTask
 
m_listener - Variable in class org.testng.remote.RemoteWorker
 
m_mainClass - Variable in class org.testng.TestNGAntTask
The suite runner name (defaults to TestNG.class.getName().
m_messageType - Variable in class org.testng.remote.strprotocol.GenericMessage
 
m_messageType - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_model - Variable in class org.testng.mustache.BaseChunk
 
m_onHaltTarget - Variable in class org.testng.TestNGAntTask
 
m_outputDir - Variable in class org.testng.TestNGAntTask
 
m_outStream - Variable in class org.testng.remote.strprotocol.BaseMessageSender
Outgoing message stream.
m_parallelMode - Variable in class org.testng.TestNGAntTask
 
m_parameters - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_paramTypes - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_passedTestCount - Variable in class org.testng.remote.strprotocol.TestMessage
 
m_randomizeSuites - Variable in class org.testng.TestNGAntTask
 
m_saxParser - Static variable in class org.testng.xml.XMLParser
 
m_skippedPropertyName - Variable in class org.testng.TestNGAntTask
 
m_skippedTestCount - Variable in class org.testng.remote.strprotocol.TestMessage
 
m_stackTrace - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_start - Variable in class org.testng.TestNG
 
m_startMillis - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_startSuite - Variable in class org.testng.remote.strprotocol.SuiteMessage
 
m_successPercentageFailedTestCount - Variable in class org.testng.remote.strprotocol.TestMessage
 
m_suiteListeners - Variable in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient
An array of listeners that are informed about test events.
m_suiteName - Variable in class org.testng.remote.strprotocol.SuiteMessage
 
m_suiteName - Variable in class org.testng.remote.strprotocol.TestMessage
 
m_suiteName - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_suites - Variable in class org.testng.TestNG
 
m_temporary - Variable in class org.testng.xml.LaunchSuite
 
m_testClassName - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_testjar - Variable in class org.testng.TestNGAntTask
 
m_testListeners - Variable in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient
 
m_testMethodCount - Variable in class org.testng.remote.strprotocol.SuiteMessage
 
m_testMethodCount - Variable in class org.testng.remote.strprotocol.TestMessage
 
m_testMethodName - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_testName - Variable in class org.testng.remote.strprotocol.TestMessage
 
m_testName - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_testRunnerFactory - Variable in class org.testng.TestNGAntTask
 
m_testStart - Variable in class org.testng.remote.strprotocol.TestMessage
 
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.log4testng.Logger
Run all tests.
main(String[]) - Static method in class org.testng.mustache.Mustache
 
main(String[]) - Static method in class org.testng.remote.RemoteTestNG
 
Main - Class in org.testng.reporters.jq
 
Main() - Constructor for class org.testng.reporters.jq.Main
 
main(String[]) - Static method in class org.testng.reporters.XMLStringBuffer
 
main(String[]) - Static method in class org.testng.TestNG
The TestNG entry point for command line execution.
main(String[]) - Static method in class org.testng.xml.ResultXMLParser
 
Maps - Class in org.testng.collections
 
Maps() - Constructor for class org.testng.collections.Maps
 
MASTER - Static variable in class org.testng.CommandLineArgs
 
master - Variable in class org.testng.CommandLineArgs
 
MASTER_ADPATER - Static variable in class org.testng.remote.SuiteDispatcher
 
MASTER_STRATEGY - Static variable in class org.testng.remote.SuiteDispatcher
Properties allowed in remote.properties
MessageHelper - Class in org.testng.remote.strprotocol
Marshal/unmarshal tool for IStringMessages.
MessageHelper() - Constructor for class org.testng.remote.strprotocol.MessageHelper
 
MessageHub - Class in org.testng.remote.strprotocol
Central class to connect to the host and send message.
MessageHub(IMessageSender) - Constructor for class org.testng.remote.strprotocol.MessageHub
 
METHOD_NAME_COMPARATOR - Static variable in class org.testng.reporters.jq.ResultsByClass
 
METHOD_SELECTORS - Static variable in class org.testng.CommandLineArgs
 
METHODS - Static variable in class org.testng.CommandLineArgs
 
METHODS_ALPHABETICAL - Static variable in class org.testng.reporters.SuiteHTMLReporter
 
METHODS_CHRONOLOGICAL - Static variable in class org.testng.reporters.SuiteHTMLReporter
 
METHODS_NOT_RUN - Static variable in class org.testng.reporters.SuiteHTMLReporter
 
methodSelectors - Variable in class org.testng.CommandLineArgs
 
MIXED - Static variable in class org.testng.CommandLineArgs
 
mixed - Variable in class org.testng.CommandLineArgs
 
Model - Class in org.testng.mustache
 
Model(Map<String, Object>) - Constructor for class org.testng.mustache.Model
 
Model - Class in org.testng.reporters.jq
 
Model(List<ISuite>) - Constructor for class org.testng.reporters.jq.Model
 
Mustache - Class in org.testng.mustache
 
Mustache() - Constructor for class org.testng.mustache.Mustache
 

N

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(Collection<K>) - Static method in class org.testng.collections.Lists
 
newArrayList(int) - Static method in class org.testng.collections.Lists
 
newHashMap() - Static method in class org.testng.collections.Maps
 
newHashSet() - Static method in class org.testng.collections.Sets
 
newHashtable() - Static method in class org.testng.collections.Maps
 
newInstance(Constructor, Object...) - Method in interface org.testng.IObjectFactory
 
newInstance(Class<?>) - Method in interface org.testng.IObjectFactory2
 
newLinkedHashMap() - Static method in class org.testng.collections.Maps
 
newListMultiMap() - Static method in class org.testng.collections.Maps
 
newReporterInstance() - Method in class org.testng.ReporterConfig
Creates a reporter based on the current configuration
newSetMultiMap() - Static method in class org.testng.collections.Maps
 
newTestRunner(ISuite, XmlTest, List<IInvokedMethodListener>) - Method in interface org.testng.ITestRunnerFactory
 
NoInjection - Annotation Type in org.testng.annotations
Turn off TestNG injection for a parameter.
nonnullList(List<T>) - Method in class org.testng.reporters.jq.Model
 
nonnullSet(Set<T>) - Method in class org.testng.reporters.jq.Model
 
notifyResultEvents(TestResultMessage) - Method in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient
 
notifyStart(GenericMessage) - Method in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient
 
notifySuiteEvents(SuiteMessage) - Method in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient
 
notifyTestEvents(TestMessage) - Method in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient
 

O

OBJECT_FACTORY - Static 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.
objectFactory - Variable in class org.testng.CommandLineArgs
 
onConfigurationFailure(ITestResult) - Method in interface org.testng.IConfigurationListener
Invoked whenever a configuration method failed.
onConfigurationFailure(ITestResult) - Method in class org.testng.remote.strprotocol.RemoteTestListener
 
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) - Method in class org.testng.TestNG.ExitCodeListener
 
onConfigurationSkip(ITestResult) - Method in interface org.testng.IConfigurationListener
Invoked whenever a configuration method was skipped.
onConfigurationSkip(ITestResult) - Method in class org.testng.remote.strprotocol.RemoteTestListener
 
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) - Method in class org.testng.TestNG.ExitCodeListener
 
onConfigurationSuccess(ITestResult) - Method in interface org.testng.IConfigurationListener
Invoked whenever a configuration method succeeded.
onConfigurationSuccess(ITestResult) - Method in class org.testng.remote.strprotocol.RemoteTestListener
 
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) - Method in class org.testng.TestNG.ExitCodeListener
 
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 test suites.
onFinish(ITestContext) - Method in interface org.testng.ITestListener
Invoked after all the tests have run and all their Configuration methods have been called.
onFinish(SuiteMessage) - Method in interface org.testng.remote.strprotocol.IRemoteSuiteListener
 
onFinish(TestMessage) - Method in interface org.testng.remote.strprotocol.IRemoteTestListener
 
onFinish(ITestContext) - Method in class org.testng.remote.strprotocol.RemoteTestListener
 
onFinish(ITestContext) - Method in class org.testng.reporters.FailedReporter
Deprecated. this class is used now as IReporter
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
 
onFinish(ITestContext) - Method in class org.testng.TestNG.ExitCodeListener
 
onInitialization(GenericMessage) - Method in interface org.testng.remote.strprotocol.IRemoteSuiteListener
General information about the number of suites to be run.
onResult(ISuite) - Method in class org.testng.remote.adapter.RemoteResultListener
Should called by the IWorkerAdapter implementation when a remote suite result is ready.
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 after the test class is instantiated and before any configuration method is called.
onStart(SuiteMessage) - Method in interface org.testng.remote.strprotocol.IRemoteSuiteListener
 
onStart(TestMessage) - Method in interface org.testng.remote.strprotocol.IRemoteTestListener
 
onStart(ITestContext) - Method in class org.testng.remote.strprotocol.RemoteTestListener
 
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
 
onStart(ITestContext) - Method in class org.testng.TestNG.ExitCodeListener
 
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(TestResultMessage) - Method in interface org.testng.remote.strprotocol.IRemoteTestListener
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.testng.remote.strprotocol.RemoteTestListener
 
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
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.testng.TestNG.ExitCodeListener
 
onTestFailure(ITestResult) - Method in interface org.testng.ITestListener
Invoked each time a test fails.
onTestFailure(TestResultMessage) - Method in interface org.testng.remote.strprotocol.IRemoteTestListener
 
onTestFailure(ITestResult) - Method in class org.testng.remote.strprotocol.RemoteTestListener
 
onTestFailure(ITestResult) - Method in class org.testng.reporters.DotTestListener
 
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
 
onTestFailure(ITestResult) - Method in class org.testng.TestNG.ExitCodeListener
 
onTestSkipped(ITestResult) - Method in interface org.testng.ITestListener
Invoked each time a test is skipped.
onTestSkipped(TestResultMessage) - Method in interface org.testng.remote.strprotocol.IRemoteTestListener
 
onTestSkipped(ITestResult) - Method in class org.testng.remote.strprotocol.RemoteTestListener
 
onTestSkipped(ITestResult) - Method in class org.testng.reporters.DotTestListener
 
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
 
onTestSkipped(ITestResult) - Method in class org.testng.TestNG.ExitCodeListener
 
onTestStart(ITestResult) - Method in interface org.testng.ITestListener
Invoked each time before a test will be invoked.
onTestStart(TestResultMessage) - Method in interface org.testng.remote.strprotocol.IRemoteTestListener
 
onTestStart(ITestResult) - Method in class org.testng.remote.strprotocol.RemoteTestListener
 
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
 
onTestStart(ITestResult) - Method in class org.testng.TestNG.ExitCodeListener
 
onTestSuccess(ITestResult) - Method in interface org.testng.ITestListener
Invoked each time a test succeeds.
onTestSuccess(TestResultMessage) - Method in interface org.testng.remote.strprotocol.IRemoteTestListener
 
onTestSuccess(ITestResult) - Method in class org.testng.remote.strprotocol.RemoteTestListener
 
onTestSuccess(ITestResult) - Method in class org.testng.reporters.DotTestListener
 
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
 
onTestSuccess(ITestResult) - Method in class org.testng.TestNG.ExitCodeListener
 
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.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.mustache - package org.testng.mustache
 
org.testng.remote - package org.testng.remote
 
org.testng.remote.adapter - package org.testng.remote.adapter
 
org.testng.remote.strprotocol - package org.testng.remote.strprotocol
 
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.util - package org.testng.util
 
org.testng.xml - package org.testng.xml
 
OUTPUT_DIRECTORY - Static variable in class org.testng.CommandLineArgs
 
outputDirectory - Variable in class org.testng.CommandLineArgs
 

P

p(String) - Method in class org.testng.mustache.BaseChunk
 
PARALLEL - Static variable in class org.testng.CommandLineArgs
 
PARALLEL_CLASSES - Static variable in class org.testng.xml.XmlSuite
 
PARALLEL_INSTANCES - Static variable in class org.testng.xml.XmlSuite
 
PARALLEL_METHODS - Static variable in class org.testng.xml.XmlSuite
 
PARALLEL_MODES - Static variable in class org.testng.xml.XmlSuite
 
PARALLEL_NONE - Static variable in class org.testng.xml.XmlSuite
 
PARALLEL_TESTS - Static variable in class org.testng.xml.XmlSuite
Parallel modes
parallelMode - Variable in class org.testng.CommandLineArgs
 
PARAM_DELIMITER - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
Parameters - Annotation Type in org.testng.annotations
Describes how to pass parameters to a @Test method.
parse(String, InputStream, boolean) - Method in interface org.testng.xml.IFileParser
 
parse() - Method in class org.testng.xml.Parser
Parses the TestNG test suite and returns the corresponding XmlSuite, and possibly, other XmlSuite that are pointed to by tags.
parse() - Method in class org.testng.xml.ResultXMLParser
 
parse(String, InputStream, boolean) - Method in class org.testng.xml.ResultXMLParser
 
parse(String, InputStream, boolean) - Method in class org.testng.xml.SuiteXmlParser
 
Parser - Class in org.testng.xml
Parser is a parser for a TestNG XML test suite file.
Parser(String) - Constructor for class org.testng.xml.Parser
Constructs a Parser to use the inputStream as the source of the xml test suite to parse.
Parser() - Constructor for class org.testng.xml.Parser
Creates a parser that will try to find the DEFAULT_FILENAME from the jar.
Parser(InputStream) - Constructor for class org.testng.xml.Parser
 
parseToList() - Method in class org.testng.xml.Parser
 
PASSED_TEST - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
pluralize(int, String) - Static method in class org.testng.reporters.jq.BasePanel
 
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.
popSubModel() - Method in class org.testng.mustache.Model
 
PORT - Static variable in class org.testng.CommandLineArgs
 
port - Variable in class org.testng.CommandLineArgs
 
PORT - Static variable in class org.testng.remote.RemoteArgs
 
ppp(String) - Method in class org.testng.reporters.TextReporter
 
ppp(String) - Static method in class org.testng.SuiteRunner
 
printStackTrace(PrintStream) - Method in exception org.testng.TimeBombSkipException
 
printStackTrace(PrintWriter) - Method in exception org.testng.TimeBombSkipException
 
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
 
PROPERTIES - Static variable in interface org.testng.reporters.XMLConstants
the properties element
PROPERTY - Static variable in interface org.testng.reporters.XMLConstants
the property element
PROPERTY_DEBUG - Static variable in class org.testng.remote.RemoteTestNG
 
PROPERTY_VERBOSE - Static variable in class org.testng.remote.RemoteTestNG
 
push(String, Object) - Method in class org.testng.mustache.Model
 
push(String, String, Properties) - 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, Properties) - Method in class org.testng.reporters.XMLStringBuffer
Push a new tag.
push(String, String...) - Method in class org.testng.reporters.XMLStringBuffer
 
push(String) - Method in class org.testng.reporters.XMLStringBuffer
Push a new tag.
put(K, V) - Method in class org.testng.collections.ListMultiMap
 
put(K, V) - Method in class org.testng.collections.SetMultiMap
 
putAll(K, Collection<V>) - Method in class org.testng.collections.ListMultiMap
 
putAll(K, Collection<V>) - Method in class org.testng.collections.SetMultiMap
 

R

RANDOMIZE_SUITES - Static variable in class org.testng.CommandLineArgs
 
randomizeSuites - Variable in class org.testng.CommandLineArgs
 
readFile(File) - Static method in class org.testng.reporters.Files
 
readFile(InputStream) - Static method in class org.testng.reporters.Files
 
receiveMessage() - Method in interface org.testng.remote.strprotocol.IMessageSender
Will return null or throw EOFException when the connection has been severed.
receiveMessage() - Method in class org.testng.remote.strprotocol.MessageHub
 
receiveMessage() - Method in class org.testng.remote.strprotocol.SerializedMessageSender
 
receiveMessage() - Method in class org.testng.remote.strprotocol.StringMessageSender
 
reduceStackTrace() - Method in exception org.testng.SkipException
Subclasses may use this method to reduce the printed stack trace.
RemoteArgs - Class in org.testng.remote
 
RemoteArgs() - Constructor for class org.testng.remote.RemoteArgs
 
RemoteResultListener - Class in org.testng.remote.adapter
This listener is called by the IWorkerAdapter implementation when a remote test result is ready.
RemoteResultListener(SuiteRunner) - Constructor for class org.testng.remote.adapter.RemoteResultListener
Creates a listener for an XmlSuite result.
RemoteSuiteWorker - Class in org.testng.remote
A worker that will be put into an Executor and that sends a suite This class
RemoteSuiteWorker(XmlSuite, SlavePool, RemoteResultListener) - Constructor for class org.testng.remote.RemoteSuiteWorker
 
RemoteTestListener - Class in org.testng.remote.strprotocol
A special listener that remote the event with string protocol.
RemoteTestListener(ISuite, XmlTest, MessageHub) - Constructor for class org.testng.remote.strprotocol.RemoteTestListener
 
RemoteTestNG - Class in org.testng.remote
Extension of TestNG registering a remote TestListener.
RemoteTestNG() - Constructor for class org.testng.remote.RemoteTestNG
 
RemoteWorker - Class in org.testng.remote
 
RemoteWorker(RemoteResultListener, SlavePool) - Constructor for class org.testng.remote.RemoteWorker
 
remove(K) - Method in class org.testng.collections.ListMultiMap
 
remove(K) - Method in class org.testng.collections.SetMultiMap
 
removeAndCheckIfLast(ITestNGMethod, Object) - Method in class org.testng.ClassMethodMap
Remove the method from this map and returns true if it is the last of its class.
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
 
replaceAsciiCharactersWithUnicode(String) - Static method in class org.testng.remote.strprotocol.MessageHelper
 
replaceNewLine(String) - Static method in class org.testng.remote.strprotocol.MessageHelper
 
replaceNewLineReplacer(String) - Static method in class org.testng.remote.strprotocol.MessageHelper
 
replaceUnicodeCharactersWithAscii(String) - Static method in class org.testng.remote.strprotocol.MessageHelper
 
REPORTER - Static variable in class org.testng.CommandLineArgs
 
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_OUTPUT - Static variable in class org.testng.reporters.SuiteHTMLReporter
 
ReporterConfig - Class in org.testng
Stores the information regarding the configuration of a pluggable report listener.
ReporterConfig() - Constructor for class org.testng.ReporterConfig
 
ReporterConfig.Property - Class in org.testng
 
ReporterConfig.Property() - Constructor for class org.testng.ReporterConfig.Property
 
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
 
resolveValue(String) - Method in class org.testng.mustache.Model
 
resolveValueToString(String) - Method in class org.testng.mustache.Model
 
restoreStackTrace() - Method in exception org.testng.SkipException
Restores the original exception stack trace after a previous call to SkipException.reduceStackTrace().
ResultContentHandler - Class in org.testng.xml
Parses testng-result.xml, create TestResultMessages and send them back to the listener as we encounter them.
ResultContentHandler(IRemoteSuiteListener, IRemoteTestListener, boolean) - Constructor for class org.testng.xml.ResultContentHandler
 
ResultsByClass - Class in org.testng.reporters.jq
 
ResultsByClass() - Constructor for class org.testng.reporters.jq.ResultsByClass
 
ResultXMLParser - Class in org.testng.xml
Parses testng-result.xml.
ResultXMLParser(IRemoteSuiteListener, IRemoteTestListener) - Constructor for class org.testng.xml.ResultXMLParser
 
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.
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.
returnResult(ISuite) - Method in class org.testng.remote.adapter.DefaultWorkerAdapter
 
returnResult(ISuite) - Method in interface org.testng.remote.adapter.IWorkerAdapter
Return a suite result.
run(IConfigureCallBack, ITestResult) - Method in interface org.testng.IConfigurable
 
run(IHookCallBack, ITestResult) - Method in interface org.testng.IHookable
 
run() - Method in interface org.testng.ISuite
Triggers the start of running tests included in the suite.
run(Class, String...) - Method in interface org.testng.junit.IJUnitTestRunner
 
run(Class, String...) - Method in class org.testng.junit.JUnit4TestRunner
A start implementation that ignores the TestResult
run(Class, String...) - Method in class org.testng.junit.JUnitTestRunner
A start implementation that ignores the TestResult
run(String, Map<String, Object>) - Method in class org.testng.mustache.Mustache
 
run() - Method in class org.testng.remote.RemoteSuiteWorker
 
run() - Method in class org.testng.remote.RemoteTestNG
 
run() - Method in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient.ServerConnection
 
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.
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
 
runSuitesLocally() - Method in class org.testng.TestNG
This needs to be public for maven2, for now..At least until an alternative mechanism is found.
runSuitesRemotely(XmlSuite, RemoteResultListener) - Method in class org.testng.remote.adapter.DefaultMastertAdapter
 
runSuitesRemotely(XmlSuite, RemoteResultListener) - Method in interface org.testng.remote.adapter.IMasterAdapter
Run a suite remotely.
runTestMethod(ITestResult) - Method in interface org.testng.IHookCallBack
Invoke the test method currently being hijacked.

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.
sendAck() - Method in class org.testng.remote.strprotocol.BaseMessageSender
 
sendAck() - Method in interface org.testng.remote.strprotocol.IMessageSender
 
sendMessage(IMessage) - Method in interface org.testng.remote.strprotocol.IMessageSender
 
sendMessage(IMessage) - Method in class org.testng.remote.strprotocol.MessageHub
 
sendMessage(IMessage) - Method in class org.testng.remote.strprotocol.SerializedMessageSender
 
sendMessage(IMessage) - Method in class org.testng.remote.strprotocol.StringMessageSender
 
sendStop() - Method in class org.testng.remote.strprotocol.BaseMessageSender
 
sendStop() - Method in interface org.testng.remote.strprotocol.IMessageSender
 
sendSuite(ConnectionInfo, XmlSuite) - Method in class org.testng.remote.RemoteWorker
 
serialize() - Method in class org.testng.ReporterConfig
 
SerializedMessageSender - Class in org.testng.remote.strprotocol
 
SerializedMessageSender(String, int) - Constructor for class org.testng.remote.strprotocol.SerializedMessageSender
 
SerializedMessageSender(String, int, boolean) - Constructor for class org.testng.remote.strprotocol.SerializedMessageSender
 
serPort - Variable in class org.testng.remote.RemoteArgs
 
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
 
setAnnotationTransformer(IAnnotationTransformer) - Method in class org.testng.TestNG
 
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
 
setBeanShellExpression(String) - Method in class org.testng.xml.XmlTest
 
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.ReporterConfig
 
setClassName(String) - Method in class org.testng.xml.XmlMethodSelector
 
setClassNames(List<XmlClass>) - Method in class org.testng.xml.XmlTest
Deprecated. use setXmlClasses
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.TestNG
Sets the policy for whether or not to ever invoke a configuration method again after it has failed once.
setConfigFailurePolicy(String) - Method in class org.testng.TestNGAntTask
 
setConfigFailurePolicy(String) - Method in class org.testng.xml.XmlSuite
Sets the configuration failure policy.
setCount(int) - Method in class org.testng.util.RetryAnalyzerCount
Set the max number of time the method needs to be retried.
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
 
setDataProviderThreadCount(int) - Method in class org.testng.TestNG
 
setDataProviderThreadCount(String) - Method in class org.testng.TestNGAntTask
 
setDataProviderThreadCount(int) - Method in class org.testng.xml.XmlSuite
 
setDate(long) - Method in interface org.testng.ITestNGMethod
 
setDebug(boolean) - Method in class org.testng.remote.strprotocol.MessageHub
 
setDefaultSuiteName(String) - Method in class org.testng.TestNG
 
setDefaultTestName(String) - Method in class org.testng.TestNG
 
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 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
Sets the flag to log the command line.
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.
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
 
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.remote.strprotocol.SuiteMessage
 
setExcludedMethods(List<String>) - Method in class org.testng.xml.XmlClass
 
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.XmlMethodSelector
 
setExpression(String) - Method in class org.testng.xml.XmlTest
 
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.XMLReporter
 
setFileFragmentationLevel(int) - Method in class org.testng.reporters.XMLReporterConfig
 
setFileName(String) - Method in class org.testng.xml.XmlSuite
 
setFSPProperty(String) - Method in class org.testng.TestNGAntTask
 
setGenerateDependsOnGroups(boolean) - Method in class org.testng.reporters.XMLReporter
 
setGenerateDependsOnGroups(boolean) - Method in class org.testng.reporters.XMLReporterConfig
 
setGenerateDependsOnMethods(boolean) - Method in class org.testng.reporters.XMLReporter
 
setGenerateDependsOnMethods(boolean) - Method in class org.testng.reporters.XMLReporterConfig
 
setGenerateGroupsAttribute(boolean) - Method in class org.testng.reporters.XMLReporter
 
setGenerateGroupsAttribute(boolean) - Method in class org.testng.reporters.XMLReporterConfig
 
setGenerateTestResultAttributes(boolean) - Method in class org.testng.reporters.XMLReporter
 
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 interface org.testng.annotations.ITestOrConfiguration
 
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
 
setHaltonfailure(boolean) - Method in class org.testng.TestNGAntTask
 
setHaltonFSP(boolean) - Method in class org.testng.TestNGAntTask
 
setHaltonskipped(boolean) - Method in class org.testng.TestNGAntTask
 
setHasFailure(boolean) - Method in class org.testng.TestNG
Deprecated. since 5.1
setHasFailureWithinSuccessPercentage(boolean) - Method in class org.testng.TestNG
Deprecated. since 5.1
setHasSkip(boolean) - Method in class org.testng.TestNG
Deprecated. since 5.1
setHost(String) - Method in class org.testng.remote.RemoteTestNG
 
setHost(String) - Method in class org.testng.SuiteRunner
 
setId(String) - Method in interface org.testng.ITestNGMethod
 
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
 
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(List<IInvokedMethodListener>) - Method in interface org.testng.junit.IJUnitTestRunner
 
setInvokedMethodListeners(List<IInvokedMethodListener>) - Method in class org.testng.junit.JUnit4TestRunner
 
setInvokedMethodListeners(List<IInvokedMethodListener>) - Method in class org.testng.junit.JUnitTestRunner
 
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.TestNGAntTask
 
setJUnit(Boolean) - Method in class org.testng.xml.XmlSuite
Sets the JUnit compatibility flag.
setJunit(Boolean) - Method in class org.testng.xml.XmlSuite
 
setJUnit(boolean) - Method in class org.testng.xml.XmlTest
 
setJunit(boolean) - Method in class org.testng.xml.XmlTest
 
setJvm(String) - Method in class org.testng.TestNGAntTask
Sets a particular JVM to be used.
setLanguage(String) - Method in class org.testng.xml.XmlMethodSelector
 
setListener(String) - Method in class org.testng.TestNGAntTask
Deprecated. Use "listeners"
setListenerClasses(List<Class>) - 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
 
setLoadClasses(boolean) - Method in class org.testng.xml.Parser
If false, don't try to load the classes during the parsing.
setMaster(String) - Method in class org.testng.TestNG
Specify if this run should be in Master-Slave mode as Master
setMetaGroups(Map<String, List<String>>) - Method in class org.testng.xml.XmlTest
 
setMethodInterceptor(IMethodInterceptor) - Method in class org.testng.TestNG
 
setMethodInterceptor(IMethodInterceptor) - Method in class org.testng.TestRunner
 
setMethods(String) - Method in class org.testng.TestNGAntTask
 
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
 
setMissingGroup(String) - Method in interface org.testng.ITestNGMethod
 
setMixed(Boolean) - Method in class org.testng.TestNG
Specify if this run should be made in mixed mode
setMode(TestNGAntTask.Mode) - Method in class org.testng.TestNGAntTask
 
SetMultiMap<K,V> - Class in org.testng.collections
A container to hold sets indexed by a key.
SetMultiMap() - Constructor for class org.testng.collections.SetMultiMap
 
setName(String) - Method in interface org.testng.annotations.IDataProviderAnnotation
 
setName(String) - Method in class org.testng.ReporterConfig.Property
 
setName(String) - Method in class org.testng.xml.XmlClass
 
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(ITestObjectFactory) - Method in class org.testng.SuiteRunner
 
setObjectFactory(Class) - Method in class org.testng.TestNG
 
setObjectFactory(ITestObjectFactory) - Method in class org.testng.TestNG
 
setObjectFactory(String) - Method in class org.testng.TestNGAntTask
 
setObjectFactory(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.XMLReporter
 
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
Define whether this run will be run in parallel mode.
setParallel(String) - Method in class org.testng.TestNGAntTask
 
setParallel(String) - Method in class org.testng.xml.XmlSuite
Sets the parallel mode
setParallel(String) - Method in class org.testng.xml.XmlTest
 
setParameterInvocationCount(int) - Method in interface org.testng.ITestNGMethod
 
setParameters(Object[]) - Method in interface org.testng.ITestResult
 
setParameters(String[]) - Method in class org.testng.remote.strprotocol.TestResultMessage
 
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
 
setParentSuite(XmlSuite) - Method in class org.testng.xml.XmlSuite
 
setPassedTests(List<ITestResult>) - Method in class org.testng.TestListenerAdapter
 
setPostProcessor(IPostProcessor) - Method in class org.testng.xml.Parser
 
setPreserveOrder(boolean) - Method in class org.testng.TestNG
 
setPreserveOrder(String) - Method in class org.testng.xml.XmlSuite
 
setPreserveOrder(String) - 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
 
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
 
setReporter(String) - Method in class org.testng.TestNGAntTask
 
setReportResults(boolean) - Method in class org.testng.SuiteRunner
 
setRetryAnalyzer(Class<?>) - Method in interface org.testng.annotations.ITestAnnotation
 
setRetryAnalyzer(IRetryAnalyzer) - Method in interface org.testng.ITestNGMethod
 
Sets - Class in org.testng.collections
 
Sets() - Constructor for class org.testng.collections.Sets
 
setSequential(boolean) - Method in interface org.testng.annotations.ITestAnnotation
 
setServiceLoaderClassLoader(URLClassLoader) - Method in class org.testng.TestNG
 
setSingleThreaded(boolean) - Method in interface org.testng.annotations.ITestAnnotation
 
setSkipFailedInvocationCounts(Boolean) - Method in class org.testng.SuiteRunner
 
setSkipFailedInvocationCounts(Boolean) - Method in class org.testng.TestNG
 
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
 
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
 
setSlave(String) - Method in class org.testng.TestNG
Specify if this run should be in Master-Slave mode as slave
setSocket(Socket) - Method in class org.testng.remote.ConnectionInfo
 
setSourcePath(String) - Method in class org.testng.TestNG
This method is invoked by Maven's Surefire, only remove it once Surefire has been modified to no longer call it.
setSplitClassAndPackageNames(boolean) - Method in class org.testng.reporters.XMLReporter
 
setSplitClassAndPackageNames(boolean) - Method in class org.testng.reporters.XMLReporterConfig
 
setStackTraceOutputMethod(int) - Method in class org.testng.reporters.XMLReporter
 
setStackTraceOutputMethod(int) - Method in class org.testng.reporters.XMLReporterConfig
 
setStatus(int) - Method in interface org.testng.ITestResult
 
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
 
setSuiteCount(int) - Method in class org.testng.remote.strprotocol.GenericMessage
 
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.
setTestCount(int) - Method in class org.testng.remote.strprotocol.GenericMessage
 
setTestJar(String) - Method in class org.testng.TestNG
Sets a jar containing a testng.xml file.
setTestJar(File) - Method in class org.testng.TestNGAntTask
Sets the test jar
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 class org.testng.TestNGAntTask
Sets the test name
setTestName(String) - Method in class org.testng.TestRunner
 
setTestNames(List<String>) - Method in class org.testng.TestNG
Only run the specified tests from the suite.
setTestNames(String) - Method in class org.testng.TestNGAntTask
 
setTestNGVersion() - Static method in class org.testng.TestNG
Deprecated. The TestNG version is now established at load time. This method is not required anymore and is now a no-op.
setTestResultNotifier(ITestResultNotifier) - Method in interface org.testng.junit.IJUnitTestRunner
 
setTestResultNotifier(ITestResultNotifier) - Method in class org.testng.junit.JUnit4TestRunner
 
setTestResultNotifier(ITestResultNotifier) - Method in class org.testng.junit.JUnitTestRunner
 
setTestRunnerFactory(ITestRunnerFactory) - Method in class org.testng.TestNG
 
setTestRunnerFactory(String) - Method in class org.testng.TestNGAntTask
 
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
Define the number of threads in the thread pool.
setThreadCount(String) - Method in class org.testng.TestNGAntTask
 
setThreadCount(int) - Method in class org.testng.xml.XmlSuite
Set the thread count.
setThreadCount(int) - Method in class org.testng.xml.XmlTest
 
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(long) - Method in interface org.testng.annotations.ITestOrConfiguration
 
setTimeOut(long) - Method in interface org.testng.ITestNGMethod
 
setTimeout(Integer) - Method in class org.testng.TestNGAntTask
Set the timeout value (in milliseconds).
setTimeOut(String) - Method in class org.testng.xml.XmlSuite
Sets the timeout.
setTimeOut(long) - Method in class org.testng.xml.XmlTest
 
setTimestampFormat(String) - Method in class org.testng.reporters.XMLReporter
 
setTimestampFormat(String) - Method in class org.testng.reporters.XMLReporterConfig
 
setUseDefaultListeners(boolean) - Method in class org.testng.TestNG
If this method is passed true before run(), the default listeners will not be used.
setUseDefaultListeners(String) - Method in class org.testng.TestNGAntTask
 
setValue(String) - Method in class org.testng.ReporterConfig.Property
 
setVerbose(int) - Method in class org.testng.TestNG
Sets the level of verbosity.
setVerbose(Integer) - Method in class org.testng.TestNGAntTask
 
setVerbose(int) - Method in class org.testng.TestRunner
 
setVerbose(Integer) - Method in class org.testng.xml.XmlSuite
Set the verbose.
setVerbose(int) - Method in class org.testng.xml.XmlTest
 
setWorkingDir(File) - Method in class org.testng.TestNGAntTask
The directory to invoke the VM in.
setXmlClasses(List<XmlClass>) - Method in class org.testng.xml.XmlTest
Sets the XML Classes.
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
 
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
Sets the path to the XML file in the test jar file.
setXmlPathInJar(String) - Method in class org.testng.TestNGAntTask
 
setXmlSuites(List<XmlSuite>) - Method in class org.testng.TestNG
Specifies the XmlSuite objects to run.
SHOW_TESTNG_STACK_FRAMES - Static variable in class org.testng.TestNG
System properties
shutDown() - Method in class org.testng.remote.strprotocol.BaseMessageSender
 
shutDown() - Method in interface org.testng.remote.strprotocol.IMessageSender
 
shutDown() - Method in class org.testng.remote.strprotocol.MessageHub
Shutsdown the connection to the remote test listener.
size() - Method in interface org.testng.IResultMap
 
SKIP - Static variable in interface org.testng.ITestResult
 
SKIP - Static variable in class org.testng.xml.XmlSuite
Configuration failure policy options
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 interface org.testng.ITestNGMethod
 
SKIPPED_TEST - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
SLAVE - Static variable in class org.testng.CommandLineArgs
 
slave - Variable in class org.testng.CommandLineArgs
 
SLAVE_ADPATER - Static variable in class org.testng.remote.SuiteSlave
 
SLAVE_PORT - Static variable in class org.testng.remote.adapter.DefaultWorkerAdapter
 
STACKTRACE_BOTH - Static variable in class org.testng.reporters.XMLReporterConfig
Write both types of stacktrace
STACKTRACE_FULL - Static variable in class org.testng.reporters.XMLReporterConfig
Write only the full version of the stacktrace
STACKTRACE_NONE - Static variable in class org.testng.reporters.XMLReporterConfig
No stacktrace will be written in the output file
STACKTRACE_SHORT - Static variable in class org.testng.reporters.XMLReporterConfig
Write only a short version of the stacktrace
StackTraceTools - Class in org.testng.reporters.util
Functionality to allow tools to analyse and subdivide stack traces.
StackTraceTools() - Constructor for class org.testng.reporters.util.StackTraceTools
 
start(Class, String...) - Method in class org.testng.junit.JUnit4TestRunner
Starts a test run.
start(Class, String...) - Method in class org.testng.junit.JUnitTestRunner
Starts a test run.
STARTED - Static variable in interface org.testng.ITestResult
 
startElement(String, String, String, Attributes) - Method in class org.testng.xml.ResultContentHandler
 
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
Starts HTML stream
startListening(IRemoteSuiteListener[], IRemoteTestListener[], AbstractRemoteTestRunnerClient.ServerConnection) - Method in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient
Start listening to a test run.
startTest(Test) - Method in class org.testng.junit.JUnitTestRunner
 
STOP_MSG - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
stopTest() - Method in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient
Requests to stop the remote test run.
STRATEGY_SUITE - Static variable in class org.testng.remote.SuiteDispatcher
 
STRATEGY_TEST - Static variable in class org.testng.remote.SuiteDispatcher
Values allowed for STRATEGY
streamToString(InputStream) - Static method in class org.testng.reporters.Files
 
StringChunk - Class in org.testng.mustache
 
StringChunk(Model, String) - Constructor for class org.testng.mustache.StringChunk
 
StringMessageSender - Class in org.testng.remote.strprotocol
 
StringMessageSender(String, int) - Constructor for class org.testng.remote.strprotocol.StringMessageSender
 
StringMessageSender(String, int, boolean) - Constructor for class org.testng.remote.strprotocol.StringMessageSender
 
Strings - Class in org.testng.util
 
Strings() - Constructor for class org.testng.util.Strings
 
SUCCESS - Static variable in interface org.testng.ITestResult
 
SUCCESS_PERCENTAGE_FAILURE - Static variable in interface org.testng.ITestResult
 
SUITE - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
SUITE_FINISH - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
SUITE_METHODNAME - Static variable in class org.testng.junit.JUnitTestRunner
 
SUITE_NAME - Static variable in class org.testng.CommandLineArgs
 
SUITE_START - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
SUITE_THREAD_POOL_SIZE - Static variable in class org.testng.CommandLineArgs
 
SUITE_THREAD_POOL_SIZE_DEFAULT - Static variable in class org.testng.CommandLineArgs
 
SuiteDispatcher - Class in org.testng.remote
Dispatches test suits according to the strategy defined.
SuiteDispatcher(String) - Constructor for class org.testng.remote.SuiteDispatcher
Creates a new suite dispatcher.
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
This class implements an HTML reporter for suites.
SuiteHTMLReporter() - Constructor for class org.testng.reporters.SuiteHTMLReporter
 
SuiteMessage - Class in org.testng.remote.strprotocol
A IStringMessage implementation for suite running events.
SuiteMessage(String, boolean, int) - Constructor for class org.testng.remote.strprotocol.SuiteMessage
 
SuiteMessage(ISuite, boolean) - Constructor for class org.testng.remote.strprotocol.SuiteMessage
 
suiteName - Variable in class org.testng.CommandLineArgs
 
SuitePanel - Class in org.testng.reporters.jq
 
SuitePanel(Model) - Constructor for class org.testng.reporters.jq.SuitePanel
 
SuiteRunner - Class in org.testng
SuiteRunner is responsible for running all the tests included in one suite.
SuiteRunner(IConfiguration, XmlSuite, String) - Constructor for class org.testng.SuiteRunner
 
SuiteRunner(IConfiguration, XmlSuite, String, ITestRunnerFactory) - Constructor for class org.testng.SuiteRunner
 
SuiteRunner(IConfiguration, XmlSuite, String, ITestRunnerFactory, boolean) - Constructor for class org.testng.SuiteRunner
 
SuiteRunner(IConfiguration, XmlSuite, String, ITestRunnerFactory, boolean, IMethodInterceptor, List<IInvokedMethodListener>, List<ITestListener>) - 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
 
SuiteSlave - Class in org.testng.remote
Run test suits sent by the dispatcher.
SuiteSlave(String, TestNG) - Constructor for class org.testng.remote.SuiteSlave
Creates a new suite dispatcher.
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
 
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_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 - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
TEST_CLASS - Static variable in class org.testng.CommandLineArgs
 
TEST_CLASSPATH - Static variable in class org.testng.TestNG
 
TEST_FAILED - Static variable in class org.testng.reporters.XMLReporterConfig
 
TEST_FINISH - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
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_RESULT - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
TEST_RUNNER_FACTORY - Static variable in class org.testng.CommandLineArgs
 
TEST_SKIPPED - Static variable in class org.testng.reporters.XMLReporterConfig
 
TEST_START - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
TEST_STARTED - Static variable in class org.testng.remote.strprotocol.MessageHelper
 
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(Throwable) - Constructor for exception org.testng.TestException
 
TestException(String, 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
 
TestMessage - Class in org.testng.remote.strprotocol
An IStringMessage implementation for test events.
TestMessage(boolean, String, String, int, int, int, int, int) - Constructor for class org.testng.remote.strprotocol.TestMessage
 
TestMessage(ITestContext, boolean) - Constructor for class org.testng.remote.strprotocol.TestMessage
 
testName - Variable in class org.testng.CommandLineArgs
 
testNames - Variable in class org.testng.CommandLineArgs
 
TestNG - Class in com.beust.testng
Deprecated. Use org.testng.TestNG
TestNG() - Constructor for class com.beust.testng.TestNG
Deprecated.  
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.ExitCodeListener - Class in org.testng
 
TestNG.ExitCodeListener() - Constructor for class org.testng.TestNG.ExitCodeListener
 
TestNG.ExitCodeListener(TestNG) - Constructor for class org.testng.TestNG.ExitCodeListener
 
TESTNG_DTD - Static variable in class org.testng.xml.Parser
The name of the TestNG DTD.
TESTNG_DTD_URL - Static variable in class org.testng.xml.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
 
TestNGAntTask - Class in com.beust.testng
Deprecated. Use org.testng.TestNGAntTask
TestNGAntTask() - Constructor for class com.beust.testng.TestNGAntTask
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
 
TestNGAntTask.TestNGLogSH(Task, int, int, boolean) - Constructor for class org.testng.TestNGAntTask.TestNGLogSH
 
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(Throwable) - Constructor for exception org.testng.TestNGException
 
TestNGException(String) - Constructor for exception org.testng.TestNGException
 
TestNGException(String, Throwable) - Constructor for exception org.testng.TestNGException
 
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
 
TestPanel - Class in org.testng.reporters.jq
Display the list of tags.
TestPanel(Model) - Constructor for class org.testng.reporters.jq.TestPanel
 
TestResultMessage - Class in org.testng.remote.strprotocol
An IStringMessage implementation for test results events.
TestResultMessage(int, String, String, String, String, String, String, String[], long, long, String, int, int) - Constructor for class org.testng.remote.strprotocol.TestResultMessage
This constructor is used by the Eclipse client to initialize a result message based on what was received over the network.
TestResultMessage(String, String, ITestResult) - Constructor for class org.testng.remote.strprotocol.TestResultMessage
This constructor is used by RemoteTestNG to initialize a result message from an ITestResult.
TestResultMessage(ITestContext, ITestResult) - Constructor for class org.testng.remote.strprotocol.TestResultMessage
 
TestRunner - Class in org.testng
This class takes care of running one Test.
TestRunner(IConfiguration, ISuite, XmlTest, String, IAnnotationFinder, boolean, List<IInvokedMethodListener>) - Constructor for class org.testng.TestRunner
 
TestRunner(IConfiguration, ISuite, XmlTest, boolean, List<IInvokedMethodListener>) - Constructor for class org.testng.TestRunner
 
testRunnerFactory - Variable in class org.testng.CommandLineArgs
 
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
 
threadCount - Variable in class org.testng.CommandLineArgs
 
TimeBombSkipException - Exception in org.testng
A SkipException extension that transforms a skipped method into a failed method based on a time trigger.
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, 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, Date, Throwable) - 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, String, Throwable) - Constructor for exception org.testng.TimeBombSkipException
Creates a TimeBombedSkipException using the date in the format yyyy/MM/dd.
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, String, String, Throwable) - Constructor for exception org.testng.TimeBombSkipException
Creates a TimeBombedSkipException using the date in the specified format inFormat.
TimesPanel - Class in org.testng.reporters.jq
 
TimesPanel(Model) - Constructor for class org.testng.reporters.jq.TimesPanel
 
toDisplayString() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
toString() - Method in class org.testng.collections.ListMultiMap
 
toString() - Method in class org.testng.collections.SetMultiMap
 
toString() - Method in class org.testng.mustache.Model
 
toString() - Method in class org.testng.mustache.StringChunk
 
toString() - Method in class org.testng.mustache.VariableChunk
 
toString() - Method in class org.testng.remote.strprotocol.GenericMessage
 
toString() - Method in class org.testng.remote.strprotocol.SuiteMessage
 
toString() - Method in class org.testng.remote.strprotocol.TestMessage
 
toString() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
toString() - Method in class org.testng.ReporterConfig
 
toString() - Method in class org.testng.reporters.VerboseReporter
 
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 class org.testng.xml.XmlSuite
toString() - Method in class org.testng.xml.XmlTest
 
toXML() - Method in class org.testng.reporters.XMLStringBuffer
 
toXml(String) - Method in class org.testng.xml.XmlClass
 
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.XmlPackage
 
toXml() - Method in class org.testng.xml.XmlSuite
Returns a String representation of this XML suite.
toXml(String) - Method in class org.testng.xml.XmlTest
 
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(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.
transform(IConfigurationAnnotation, Class, Constructor, Method) - Method in interface org.testng.IAnnotationTransformer2
Transform an IConfiguration annotation.
transform(IDataProviderAnnotation, Method) - Method in interface org.testng.IAnnotationTransformer2
Transform an IDataProvider annotation.
transform(IFactoryAnnotation, Method) - Method in interface org.testng.IAnnotationTransformer2
Transform an IFactory annotation.

U

unmarshallGenericMessage(String) - Static method in class org.testng.remote.strprotocol.MessageHelper
 
unmarshallTestResultMessage(String) - Static method in class org.testng.remote.strprotocol.MessageHelper
 
USE_DEFAULT_LISTENERS - Static variable in class org.testng.CommandLineArgs
 
useDefaultListeners - Variable in class org.testng.CommandLineArgs
 

V

validateCommandLineParameters(CommandLineArgs) - Static method in class org.testng.TestNG
Double check that the command line parameters are valid.
validateOptions() - Method in class org.testng.TestNGAntTask
 
Value - Class in org.testng.mustache
 
Value(Object) - Constructor for class org.testng.mustache.Value
 
valueOf(String) - Static method in enum org.testng.TestNGAntTask.Mode
Returns the enum constant of this type with the specified name.
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.
VariableChunk - Class in org.testng.mustache
 
VariableChunk(Model, String) - Constructor for class org.testng.mustache.VariableChunk
 
VERBOSE - Static variable in class org.testng.CommandLineArgs
 
verbose - Variable in class org.testng.CommandLineArgs
 
VERBOSE - Static variable in class org.testng.remote.SuiteDispatcher
 
VERBOSE - Static variable in class org.testng.remote.SuiteSlave
Properties allowed in remote.properties
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() - Constructor for class org.testng.reporters.VerboseReporter
Default constructor
VerboseReporter(String) - Constructor for class org.testng.reporters.VerboseReporter
Create VerboseReporter with custom prefix

W

waitForAck() - Method in class org.testng.remote.strprotocol.BaseMessageSender
 
waitForSuites() - Method in class org.testng.remote.SuiteSlave
Invoked in client mode.
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.
wrapDataProvider(Class, Collection<Object[]>) - Static method in class org.testng.ConversionUtils
Turns the output of a JUnit 4 @Parameters style data provider into one that is suitable for TestNG's @DataProvider.
writeFile(String, File) - Static method in class org.testng.reporters.Files
 
writeStyle(String[], String[]) - Method in class org.testng.reporters.EmailableReporter
 
writeSuiteResult(XMLStringBuffer, ISuiteResult) - Method in class org.testng.reporters.XMLSuiteResultWriter
Writes the specified ISuiteResult in the given XMLStringBuffer.

X

xml(String, String, String, Properties) - Static method in class org.testng.reporters.XMLUtils
 
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 in testng.xml.
XmlClass() - 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(Class) - Constructor for class org.testng.xml.XmlClass
 
XmlClass(Class, 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, Attributes) - Method in class org.testng.xml.TestNGContentHandler
Parse
xmlClose(StringBuffer, 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
XmlInclude - Class in org.testng.xml
 
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
Parse
xmlListeners(boolean, Attributes) - Method in class org.testng.xml.TestNGContentHandler
Parse
xmlMethodSelector(boolean, Attributes) - Method in class org.testng.xml.TestNGContentHandler
Parse
XmlMethodSelector - Class in org.testng.xml
This class describes the tag in testng.xml.
XmlMethodSelector() - Constructor for class org.testng.xml.XmlMethodSelector
 
xmlMethodSelectors(boolean, Attributes) - Method in class org.testng.xml.TestNGContentHandler
Parse
xmlOpen(StringBuffer, String, String, Properties) - Static method in class org.testng.reporters.XMLUtils
 
xmlOpen(StringBuffer, String, String, Properties, boolean) - Static method in class org.testng.reporters.XMLUtils
 
xmlOptional(StringBuffer, String, String, Boolean, Properties) - Static method in class org.testng.reporters.XMLUtils
 
xmlOptional(StringBuffer, String, String, String, Properties) - Static method in class org.testng.reporters.XMLUtils
 
XmlPackage - Class in org.testng.xml
This class describes the tag in testng.xml.
XmlPackage() - Constructor for class org.testng.xml.XmlPackage
 
XmlPackage(String) - Constructor for class org.testng.xml.XmlPackage
 
xmlPackages(boolean, Attributes) - Method in class org.testng.xml.TestNGContentHandler
Parse
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
 
xmlRequired(StringBuffer, String, String, String, Properties) - Static method in class org.testng.reporters.XMLUtils
 
xmlRun(boolean, Attributes) - Method in class org.testng.xml.TestNGContentHandler
Parse
xmlSelectorClass(boolean, Attributes) - Method in class org.testng.xml.TestNGContentHandler
Parse
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(StringBuffer, 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
 
XMLSuiteResultWriter - Class in org.testng.reporters
Utility writing an ISuiteResult to an XMLStringBuffer.
XMLSuiteResultWriter(XMLReporterConfig) - Constructor for class org.testng.reporters.XMLSuiteResultWriter
 
XmlTest - Class in org.testng.xml
This class describes the tag <test> in testng.xml.
XmlTest(XmlSuite, int) - Constructor for class org.testng.xml.XmlTest
Constructs a XmlTest and adds it to suite's list of tests.
XmlTest(XmlSuite) - Constructor for class org.testng.xml.XmlTest
 
XmlTest() - Constructor for class org.testng.xml.XmlTest
 
XMLUtils - Class in org.testng.reporters
Static helpers for XML.
XmlUtils - Class in org.testng.xml
 
XmlUtils() - Constructor for class org.testng.xml.XmlUtils
 

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

Copyright © 2012. All Rights Reserved.