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(int) - Constructor for class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient.ServerConnection
 
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.
addConfigurationListener(IConfigurationListener) - Method in class org.testng.TestRunner
 
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.
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
 
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.
addFailedInvocationNumber(int) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
addFailedTest(ITestNGMethod, ITestResult) - Method in class org.testng.TestRunner
 
addFailure(Test, AssertionFailedError) - Method in class org.testng.junit.JUnitTestRunner
 
addInstance(Object) - Method in interface org.testng.IClass
 
addInstance(Object) - Method in class org.testng.junit.JUnitUtils.JUnitTestClass
 
addInstance(Object) - Method in class org.testng.TestClass
 
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
 
addMetaGroup(String, List<String>) - Method in class org.testng.xml.XmlTest
 
addMethodDependedUpon(String) - Method in interface org.testng.ITestNGMethod
 
addMethodDependedUpon(String) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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) - 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, Object) - Method in class org.testng.remote.strprotocol.GenericMessage
 
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.
addResult(ITestResult, ITestNGMethod) - Method in interface org.testng.IResultMap
 
addSkippedTest(ITestNGMethod, ITestResult) - Method in class org.testng.TestRunner
 
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(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
 
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_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_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_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

BEFORE - Static variable in class org.testng.reporters.SuiteHTMLReporter
 
BeforeClass - Annotation Type in org.testng.annotations
 
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

canRunFromClass(IClass) - Method in interface org.testng.ITestNGMethod
Returns if this ITestNGMethod can be invoked from within IClass.
canRunFromClass(IClass) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
characters(char[], int, int) - Method in class org.testng.xml.TestNGContentHandler
 
CLASSES - Static variable in class org.testng.reporters.SuiteHTMLReporter
 
ClassMethodMap - Class in org.testng
This class maintains a map of >.
ClassMethodMap(ITestNGMethod[]) - Constructor for class org.testng.ClassMethodMap
 
ClassSuite - Class in org.testng.xml
This class represents an XML <suite> made up of one test which is made up of <class> elements only.
ClassSuite(String, Class[]) - Constructor for class org.testng.xml.ClassSuite
Constructs a XmlSuite.
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.JUnitUtils.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
 
COMPARATOR - Static variable in class org.testng.SuiteResult
 
compareTo(Object) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
compareTo(Object) - Method in class org.testng.SuiteResult
 
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.remote.RemoteTestNG
 
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
This method is invoked by Maven's Surefire to configure the runner, do not remove unless you know for sure that Surefire has been updated to use the new configure(CommandLineArgs) method.
connect() - Method in class org.testng.remote.strprotocol.StringMessageSenderHelper
Starts the connection.
ConnectionInfo - Class in org.testng.remote
 
ConnectionInfo() - Constructor for class org.testng.remote.ConnectionInfo
 
CONTINUE - Static variable in class org.testng.xml.XmlSuite
 
convert() - Method in class org.testng.junit.JUnitDirectoryConverter
 
convert() - Method in class org.testng.junit.JUnitTestConverter
 
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.
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
 
createSuiteRunner(XmlSuite) - Method in class org.testng.TestNG
Creates a suite runner and configures it's initial state
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(XmlTest, Set<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

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(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.
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_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_JUNIT - Static variable in class org.testng.xml.XmlSuite
JUnit compatibility flag.
DEFAULT_OUTPUTDIR - Static variable in class org.testng.TestNG
The default name of the result's output directory.
DEFAULT_PARALLEL - 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.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
 
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
doRun(Test) - Method in class org.testng.junit.JUnitTestRunner
 
DotTestListener - Class in org.testng.reporters
 
DotTestListener() - Constructor for class org.testng.reporters.DotTestListener
 
dump() - Method in class org.testng.TestClass
 

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.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.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.JUnitConverterTask
 
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 = "...")

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
FileAssert - Class in org.testng
Assertion tool for File centric assertions.
findTestClasses() - Method in interface org.testng.ITestClassFinder
 
format(LogRecord) - Method in class org.testng.log.TextFormatter
 

G

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
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(ITestContext) - Method in class org.testng.reporters.JUnitXMLReporter
generate the XML report given what we know from all the test results
generateReport() - Method in class org.testng.reporters.JUnitXMLReporter2
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
 
GenericMessage(int, Map) - Constructor for class org.testng.remote.strprotocol.GenericMessage
 
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.JUnitUtils.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
 
getAfterGroups() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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.JUnitUtils.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.JUnitUtils.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.JUnitUtils.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.JUnitUtils.JUnitTestClass
 
getAllInvokedMethods() - Method in interface org.testng.ISuite
 
getAllInvokedMethods() - Method in class org.testng.SuiteRunner
 
getAllMethods() - Method in interface org.testng.IResultMap
 
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
 
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(String) - Method in interface org.testng.ISuite
 
getAnnotationFinder(String) - Method in class org.testng.SuiteRunner
Returns the annotation finder for the given annotation type.
getAnnotationFinder() - Method in class org.testng.TestClass
 
getAnnotations() - Method in class org.testng.xml.XmlSuite
Returns the annotation type for the suite.
getAnnotations() - Method in class org.testng.xml.XmlTest
 
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
 
getBeanShellExpression() - Method in class org.testng.xml.XmlSuite
Returns the bean shell expression.
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.JUnitUtils.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
getBeforeGroups() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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.JUnitUtils.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.JUnitUtils.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.JUnitUtils.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.JUnitUtils.JUnitTestClass
 
getChildSuites() - Method in class org.testng.xml.XmlSuite
 
getClassName() - Method in class org.testng.ReporterConfig
 
getClassName() - Method in class org.testng.xml.XmlMethodSelector
 
getClassNames() - Method in class org.testng.junit.JUnitTestConverter
 
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.
getConfigurationFailures() - Method in class org.testng.TestListenerAdapter
 
getConfigurationListeners() - Method in class org.testng.TestRunner
 
getConfigurationSkips() - Method in class org.testng.TestListenerAdapter
 
getCssString() - Static method in class org.testng.reporters.HtmlHelper
 
getCssString(String) - Static method in class org.testng.reporters.HtmlHelper
 
getCurrentInvocationCount() - Method in interface org.testng.ITestNGMethod
 
getCurrentInvocationCount() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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.IFactoryAnnotation
 
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
 
getDate() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
getDeclaredClass() - Method in class org.testng.xml.XmlClass
 
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.junit.JUnitUtils.JUnitTestMethod
 
getEnabled() - Method in interface org.testng.annotations.ITestOrConfiguration
Whether methods on this class/method are enabled.
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
 
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.XmlTest
 
getExcludedMethods() - Method in interface org.testng.ISuite
 
getExcludedMethods() - Method in interface org.testng.ITestContext
 
getExcludedMethods() - Method in class org.testng.SuiteRunner
 
getExcludedMethods() - Method in class org.testng.TestRunner
 
getExcludedMethods() - Method in class org.testng.xml.XmlClass
 
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.XmlSuite
Deprecated. use getBeanShelltExpression()
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
 
getFailedInvocationNumbers() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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() - Method in class org.testng.xml.XmlSuite
 
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() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
getGroupsDependedUpon() - Method in interface org.testng.ITestNGMethod
 
getGroupsDependedUpon() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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
 
getId() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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.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
 
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).
getInstance() - Method in interface org.testng.IInstanceInfo
 
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.JUnitUtils.JUnitTestClass
 
getInstanceCount() - Method in class org.testng.TestClass
 
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.JUnitUtils.JUnitTestClass
 
getInstanceHashCodes() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
getInstanceHashCodes() - Method in class org.testng.TestClass
 
getInstances(boolean) - Method in interface org.testng.IClass
 
getInstances() - Method in interface org.testng.IMethodInstance
 
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
 
getInstances(boolean) - Method in class org.testng.junit.JUnitUtils.JUnitTestClass
 
getInstances() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
getInstances(boolean) - Method in class org.testng.TestClass
 
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.junit.JUnitUtils.JUnitTestMethod
 
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.junit.JUnitUtils.JUnitTestMethod
 
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.
getInvocationTimeOut() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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.
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.
getLogLevel() - Static method in class org.testng.JUnitConverter
 
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
 
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
Returns the corresponding Java test method.
getMethod() - Method in interface org.testng.ITestResult
 
getMethod() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
getMethod() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getMethodName() - Method in interface org.testng.ITestNGMethod
Returns the method name.
getMethodName() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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
 
getMethodsDependedUpon() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
getMethodSelectors() - Method in class org.testng.xml.XmlSuite
Returns the method selectors.
getMethodSelectors() - Method in class org.testng.xml.XmlTest
 
getMissingGroup() - Method in interface org.testng.ITestNGMethod
If a group was not found.
getMissingGroup() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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.JUnitUtils.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
 
getObjectFactory() - Method in interface org.testng.ISuite
 
getObjectFactory() - Method in class org.testng.SuiteRunner
 
getObjectFactory() - Method in class org.testng.xml.XmlSuite
 
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
 
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
 
getParameterInvocationCount() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
getParameterOutput() - Method in interface org.testng.IExtraOutput
 
getParameters() - Method in interface org.testng.annotations.IParameterizable
Deprecated. Use @Parameters
getParameters() - Method in interface org.testng.ITestResult
 
getParameters() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
getParameters() - Method in class org.testng.xml.XmlSuite
Returns the parameters defined in this suite only.
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
 
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
 
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.junit.JUnitUtils.JUnitTestMethod
 
getPriority() - Method in class org.testng.xml.XmlMethodSelector
 
getProperties() - Method in class org.testng.ReporterConfig
 
getProperty(String) - Method in class org.testng.remote.strprotocol.GenericMessage
 
getPropertyFileName() - Method in interface org.testng.ISuiteResult
 
getPropertyFileName() - Method in class org.testng.SuiteResult
 
getRealClass() - Method in interface org.testng.IClass
 
getRealClass() - Method in interface org.testng.ITestNGMethod
 
getRealClass() - Method in class org.testng.junit.JUnitUtils.JUnitTestClass
 
getRealClass() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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() - Method in class org.testng.SuiteRunner
 
getRetryAnalyzer() - Method in interface org.testng.annotations.ITestAnnotation
 
getRetryAnalyzer() - Method in interface org.testng.ITestNGMethod
 
getRetryAnalyzer() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
getSequential() - Method in interface org.testng.annotations.ITestAnnotation
 
getSingleThreaded() - Method in interface org.testng.annotations.ITestAnnotation
 
getSkippedConfigurations() - Method in interface org.testng.ITestContext
Retrieves information about the skipped configuration method invocations.
getSkippedConfigurations() - Method in class org.testng.TestRunner
 
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
 
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
 
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() - Method in class org.testng.TestNG
 
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
 
getSuccessPercentage() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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.IWorkerApadter
A blocking call to get the next Suite to test.
getSuite() - Method in class org.testng.SuiteResult
 
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.
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
 
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
 
getTest(Class) - 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.junit.JUnitUtils.JUnitTestMethod
 
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 class org.testng.SuiteResult
 
getTestContexts() - Method in class org.testng.TestListenerAdapter
 
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
 
getTestMethodFinder() - Method in class org.testng.TestClass
 
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(Class, XmlTest) - Method in class org.testng.junit.JUnitMethodFinder
 
getTestMethods() - Method in class org.testng.junit.JUnitTestRunner
Needed from TestRunner in order to figure out what JUnit test methods were run.
getTestMethods() - Method in class org.testng.junit.JUnitUtils.JUnitTestClass
 
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.JUnitUtils.JUnitTestClass
 
getTestName() - Method in class org.testng.remote.strprotocol.TestMessage
 
getTestName() - Method in class org.testng.TestClass
 
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.
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
 
getThreadPoolSize() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
getThrowable() - Method in interface org.testng.ITestResult
 
getTimeOut() - Method in interface org.testng.annotations.ITestAnnotation
Returns the maximum number of milliseconds this test should take.
getTimeOut() - Method in interface org.testng.ITestNGMethod
 
getTimeOut() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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() - Method in class org.testng.reporters.XMLReporterConfig
 
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
 
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
 
getVerboseOutput() - Method in class org.testng.SuiteRunnerWorker
 
getXmlClass() - Method in interface org.testng.IClass
 
getXmlClass() - Method in class org.testng.junit.JUnitUtils.JUnitTestClass
 
getXmlClass() - Method in class org.testng.TestClass
 
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 class org.testng.junit.JUnitUtils.JUnitTestClass
 
getXmlTest() - Method in class org.testng.TestClass
 
GROUPS - Static variable in class org.testng.CommandLineArgs
 
groups - Variable in class org.testng.CommandLineArgs
 
GROUPS - Static variable in class org.testng.reporters.SuiteHTMLReporter
 

H

handleThrowable(Throwable) - Method in class org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient.ServerConnection
 
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.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.
IConfigurationAnnotation - Interface in org.testng.annotations
Encapsulate the @Configuration / @testng.configuration annotation Created on Dec 20, 2005
IDataProviderAnnotation - Interface in org.testng.annotations
Encapsulate the @DataProvider / @testng.data-provider annotation Created on Dec 20, 2005
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 - Interface in org.testng.xml
 
ignoreMissingDependencies() - Method in interface org.testng.annotations.ITestAnnotation
 
ignoreMissingDependencies() - Method in interface org.testng.ITestNGMethod
 
ignoreMissingDependencies() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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 usage with remote listeners.
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.
includeMethod(IMethodSelectorContext, ITestNGMethod, boolean) - Method in interface org.testng.IMethodSelector
 
incrementCurrentInvocationCount() - Method in interface org.testng.ITestNGMethod
 
incrementCurrentInvocationCount() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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() - Method in class org.testng.JUnitConverterTask
 
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.IWorkerApadter
Initializes the worker adapter.
initializeSuitesAndJarFile() - Method in class org.testng.TestNG
 
InstanceOrderingMethodInterceptor - Class in org.testng
A method interceptor that sorts its methods per instances (i.e.
InstanceOrderingMethodInterceptor() - Constructor for class org.testng.InstanceOrderingMethodInterceptor
 
intercept(List<IMethodInstance>, ITestContext) - Method in interface org.testng.IMethodInterceptor
 
intercept(List<IMethodInstance>, ITestContext) - Method in class org.testng.InstanceOrderingMethodInterceptor
 
intercept(List<IMethodInstance>, ITestContext) - Method in class org.testng.PreserveOrderMethodInterceptor
 
invocationTimeOut() - Method in interface org.testng.annotations.ITestAnnotation
 
IObjectFactory - Interface in org.testng
Factory used to create all test instances.
IObjectFactoryAnnotation - Interface in org.testng.annotations
 
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
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
 
isAfterClassConfiguration() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
isAfterGroupsConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAfterGroupsConfiguration() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
isAfterMethodConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAfterMethodConfiguration() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
isAfterSuiteConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAfterSuiteConfiguration() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
isAfterTestConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAfterTestConfiguration() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
isAlwaysRun() - Method in interface org.testng.ITestNGMethod
 
isAlwaysRun() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
isBeforeClassConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeClassConfiguration() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
isBeforeGroupsConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeGroupsConfiguration() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
isBeforeMethodConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeMethodConfiguration() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
isBeforeSuiteConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeSuiteConfiguration() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
isBeforeTestConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeTestConfiguration() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
isConfigurationMethod() - Method in interface org.testng.IInvokedMethod
 
isDebugEnabled() - Method in class org.testng.log4testng.Logger
Check whether this logger is enabled for the DEBUG Level.
isFailed() - Method in class org.testng.SuiteRunState
 
isFakeConfiguration() - Method in interface org.testng.annotations.IConfigurationAnnotation
Internal use only.
isFirstTimeOnly() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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
 
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
Returns true if this is the JDK 1.4 JAR version of TestNG, false otherwise.
isJUnit() - Method in class org.testng.xml.XmlSuite
Returns the JUnit compatibility flag.
isJUnit() - Method in class org.testng.xml.XmlTest
 
isLastTimeOnly() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
isMessageOnStart() - Method in class org.testng.remote.strprotocol.SuiteMessage
 
isMessageOnStart() - Method in class org.testng.remote.strprotocol.TestMessage
 
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() - Method in class org.testng.junit.JUnitUtils.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.
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.
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.
IWorkerApadter - Interface in org.testng.remote.adapter
This interface should be implemented by the Master-Slave transport adapter.

J

JAVADOC - Static variable in class org.testng.xml.XmlSuite
Deprecated. use JAVADOC_ANNOTATION_TYPE.
JAVADOC_ANNOTATION_TYPE - Static variable in class org.testng.TestNG
The JavaDoc annotation type ID ("javadoc").
JAVADOC_ANNOTATION_TYPE - Static variable in class org.testng.xml.XmlSuite
The JavaDoc annotation type ID ("javadoc").
JDK5_ANNOTATION_TYPE - Static variable in class org.testng.xml.XmlSuite
The JDK50 annotation type ID ("JDK5").
JDK_ANNOTATION_TYPE - Static variable in class org.testng.TestNG
The JDK50 annotation type ID ("JDK5").
JUNIT - Static variable in class org.testng.CommandLineArgs
 
junit - Variable in class org.testng.CommandLineArgs
 
JUnitConverter - Class in org.testng
Convert JUnit files into TestNG by annotating them.
JUnitConverter() - Constructor for class org.testng.JUnitConverter
 
JUnitConverterTask - Class in org.testng
 
JUnitConverterTask() - Constructor for class org.testng.JUnitConverterTask
 
JUnitDirectoryConverter - Class in org.testng.junit
Tool class scanning and converting the JUnit sources found in a directory.
JUnitDirectoryConverter(File, File, String, boolean, String[]) - Constructor for class org.testng.junit.JUnitDirectoryConverter
Sole constructor.
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
 
JUnitTestConverter - Class in org.testng.junit
This class converts a file to TestNG if it's a JUnit test class.
JUnitTestConverter(File[], File, String, boolean, String[]) - Constructor for class org.testng.junit.JUnitTestConverter
 
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
 
JUnitUtils - Class in org.testng.junit
Help methods for JUnit
JUnitUtils() - Constructor for class org.testng.junit.JUnitUtils
 
JUnitUtils.JUnitTestClass - Class in org.testng.junit
An ITestClass implementation for test methods in JUnit.
JUnitUtils.JUnitTestClass(Test) - Constructor for class org.testng.junit.JUnitUtils.JUnitTestClass
 
JUnitUtils.JUnitTestMethod - Class in org.testng.junit
An ITestNMethod implementation for test methods in JUnit.
JUnitUtils.JUnitTestMethod(Test, JUnitUtils.JUnitTestClass) - Constructor for class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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
 
JUnitXMLReporter2 - Class in org.testng.reporters
this XML Reporter will produce XML format compatible with the XMLJUnitResultFormatter from ant this enables TestNG output to be processed by tools that already handle this format borrows heavily from ideas in org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter this is the original version which was replaced by JUnitXMLReporter
JUnitXMLReporter2() - Constructor for class org.testng.reporters.JUnitXMLReporter2
 

L

LaunchSuite - Class in org.testng.xml
Wrapper for real suites and custom configured suites.
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
 
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.
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
 
LOG - Static variable in class org.testng.CommandLineArgs
 
log(String) - Static method in class org.testng.JUnitConverter
 
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_assertEnabled - Variable in class org.testng.TestNGAntTask
 
m_classFilesets - Variable in class org.testng.TestNGAntTask
 
m_cmdlineSuites - Variable in class org.testng.TestNG
 
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_endMillis - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_environment - Variable in class org.testng.TestNGAntTask
 
m_excludedGroups - Variable in class org.testng.TestNG
 
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_hasTests - Variable in class org.testng.TestNG
 
m_host - Variable in class org.testng.remote.RemoteTestNG
 
m_includedGroups - Variable in class org.testng.TestNG
 
m_includedGroups - Variable in class org.testng.TestNGAntTask
 
m_invokedMethodListeners - Variable in class org.testng.TestNG
 
m_isJUnit - Variable in class org.testng.TestNGAntTask
 
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_mainRunner - Variable in class org.testng.TestNG.ExitCodeListener
 
m_messageType - Variable in class org.testng.remote.strprotocol.GenericMessage
 
m_messageType - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_onHaltTarget - Variable in class org.testng.TestNGAntTask
 
m_outputDir - Variable in class org.testng.TestNG
 
m_outputDir - Variable in class org.testng.TestNGAntTask
 
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_port - Variable in class org.testng.remote.RemoteTestNG
 
m_properties - Variable in class org.testng.remote.strprotocol.GenericMessage
 
m_skippedPropertyName - Variable in class org.testng.TestNGAntTask
 
m_skippedTestCount - Variable in class org.testng.remote.strprotocol.TestMessage
 
m_sourceDirs - Variable in class org.testng.TestNG
The source directories as set by setSourcePath (or testng-sourcedir-override.properties).
m_stackTrace - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_startMillis - Variable in class org.testng.remote.strprotocol.TestResultMessage
 
m_startSuite - Variable in class org.testng.remote.strprotocol.SuiteMessage
 
m_status - Variable in class org.testng.TestNG
 
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_suiteListeners - Variable in class org.testng.TestNG
 
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_testListeners - Variable in class org.testng.TestNG
 
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.TestNG
 
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
 
m_xmlTest - Variable in class org.testng.TestRunner
 
main(String[]) - Static method in class org.testng.JUnitConverter
 
main(String[]) - Static method in class org.testng.log4testng.Logger
Run all tests.
main(String[]) - Static method in class org.testng.remote.RemoteTestNG
 
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.
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
 
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
 

N

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
 
newHashtable() - Static method in class org.testng.collections.Maps
 
newInstance(Constructor, Object...) - Method in interface org.testng.IObjectFactory
 
newReporterInstance() - Method in class org.testng.ReporterConfig
Creates a reporter based on the current configuration
newTestRunner(ISuite, XmlTest, List<IInvokedMethodListener>) - Method in interface org.testng.ITestRunnerFactory
 
newTestRunner(ISuite, XmlTest, List<IInvokedMethodListener>) - Method in class org.testng.SuiteRunner.DefaultTestRunnerFactory
 
newTestRunner(ISuite, XmlTest, List<IInvokedMethodListener>) - Method in class org.testng.SuiteRunner.ProxyTestRunnerFactory
 
NoInjection - Annotation Type in org.testng.annotations
Turn off TestNG injection for a parameter.
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 class org.testng.remote.strprotocol.RemoteMessageSenderTestListener
 
onConfigurationFailure(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
 
onConfigurationFailure(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter2
 
onConfigurationFailure(ITestResult) - Method in class org.testng.TestListenerAdapter
 
onConfigurationFailure(ITestResult) - Method in class org.testng.TestNG.ExitCodeListener
 
onConfigurationSkip(ITestResult) - Method in class org.testng.remote.strprotocol.RemoteMessageSenderTestListener
 
onConfigurationSkip(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
 
onConfigurationSkip(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter2
 
onConfigurationSkip(ITestResult) - Method in class org.testng.TestListenerAdapter
 
onConfigurationSkip(ITestResult) - Method in class org.testng.TestNG.ExitCodeListener
 
onConfigurationSuccess(ITestResult) - Method in class org.testng.remote.strprotocol.RemoteMessageSenderTestListener
 
onConfigurationSuccess(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
 
onConfigurationSuccess(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter2
 
onConfigurationSuccess(ITestResult) - Method in class org.testng.TestListenerAdapter
 
onConfigurationSuccess(ITestResult) - Method in class org.testng.TestNG.ExitCodeListener
 
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.RemoteMessageSenderTestListener
 
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.JUnitXMLReporter2
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.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 IWorkerApadter 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.RemoteMessageSenderTestListener
 
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.JUnitXMLReporter2
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.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.RemoteMessageSenderTestListener
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter2
 
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.RemoteMessageSenderTestListener
 
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.JUnitXMLReporter2
Invoked each time a test fails.
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.RemoteMessageSenderTestListener
 
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.JUnitXMLReporter2
Invoked each time a test is skipped.
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.RemoteMessageSenderTestListener
 
onTestStart(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter
 
onTestStart(ITestResult) - Method in class org.testng.reporters.JUnitXMLReporter2
 
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.RemoteMessageSenderTestListener
 
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.JUnitXMLReporter2
Invoked each time a test succeeds.
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.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.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

PARALLEL - Static variable in class org.testng.CommandLineArgs
 
PARALLEL_CLASSES - Static variable in class org.testng.xml.XmlSuite
 
PARALLEL_METHODS - 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) - 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(String, InputStream) - Method in class org.testng.xml.XmlParser
 
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
 
pop() - Method in class org.testng.reporters.XMLStringBuffer
Pop the last pushed element without verifying it if matches the previously pushed tag.
pop(String) - Method in class org.testng.reporters.XMLStringBuffer
Pop the last pushed element and throws an AssertionError if it doesn't match the corresponding tag that was pushed earlier.
PORT - Static variable in class org.testng.CommandLineArgs
 
port - Variable in class org.testng.CommandLineArgs
 
ppp(String) - Static method in class org.testng.JUnitConverter
 
ppp(String) - Method in class org.testng.reporters.TextReporter
 
ppp(String) - Static method in class org.testng.SuiteRunner
 
PreserveOrderMethodInterceptor - Class in org.testng
A method interceptor that preserves the order in which test classes were found in the <test> tag.
PreserveOrderMethodInterceptor() - Constructor for class org.testng.PreserveOrderMethodInterceptor
 
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
 
privateRun(XmlTest) - Method in class org.testng.TestRunner
 
PROPERTIES - Static variable in interface org.testng.reporters.XMLConstants
the properties element
PROPERTY - Static variable in interface org.testng.reporters.XMLConstants
the property element
push(String, 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) - Method in class org.testng.reporters.XMLStringBuffer
Push a new tag.

R

reduceStackTrace() - Method in exception org.testng.SkipException
Subclasses may use this method to reduce the printed stack trace.
RemoteMessageSenderTestListener - Class in org.testng.remote.strprotocol
A special listener that remote the event with string protocol.
RemoteMessageSenderTestListener(ISuite, XmlTest, StringMessageSenderHelper) - Constructor for class org.testng.remote.strprotocol.RemoteMessageSenderTestListener
 
RemoteResultListener - Class in org.testng.remote.adapter
This listener is called by the IWorkerApadter 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
 
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
 
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
 
REPORTERS_LIST - Static variable in class org.testng.CommandLineArgs
Used as map key for the complete list of report listeners provided with the above argument
reportersList - Variable in class org.testng.CommandLineArgs
 
resolveEntity(String, String) - Method in class org.testng.xml.TestNGContentHandler
 
restoreStackTrace() - Method in exception org.testng.SkipException
Restores the original exception stack trace after a previous call to SkipException.reduceStackTrace().
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.IWorkerApadter
Return a suite result.
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) - Method in interface org.testng.junit.IJUnitTestRunner
 
run(Class) - Method in class org.testng.junit.JUnitTestRunner
A start implementation that ignores the TestResult
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.
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

save(File) - Method in class org.testng.xml.LaunchSuite.ExistingSuite
Saves the suite file in the specified directory and returns the file pathname.
save(File) - Method in class org.testng.xml.LaunchSuite
Saves the suite file in the specified directory and returns the file pathname.
sendMessage(IMessage) - Method in class org.testng.remote.strprotocol.StringMessageSenderHelper
 
sendMessage(IStringMessage) - Method in class org.testng.remote.strprotocol.StringMessageSenderHelper
 
sendSuite(ConnectionInfo, XmlSuite) - Method in class org.testng.remote.RemoteWorker
 
serialize() - Method in class org.testng.ReporterConfig
 
setAllTestMethods(List<ITestNGMethod>) - Method in class org.testng.TestListenerAdapter
 
setAlwaysRun(boolean) - Method in interface org.testng.annotations.ITestAnnotation
 
setAnnotations(boolean) - Method in class org.testng.JUnitConverterTask
 
setAnnotations(String) - Method in class org.testng.TestNG
Sets the default annotation type for suites that have not explicitly set the annotation property.
setAnnotations(String) - Method in class org.testng.xml.XmlSuite
Sets the annotation type for the suite.
setAnnotations(String) - Method in class org.testng.xml.XmlTest
 
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.XmlSuite
Sets the bean shell expression.
setBeanShellExpression(String) - Method in class org.testng.xml.XmlTest
 
setClass(Class) - Method in class org.testng.xml.XmlClass
 
setClassfilesetRef(Reference) - Method in class org.testng.TestNGAntTask
 
setClassName(String) - Method in class org.testng.ReporterConfig
 
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.
setConnectionParameters(String, int) - Method in class org.testng.remote.RemoteTestNG
 
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.IFactoryAnnotation
 
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
 
setDate(long) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
setDeclaredClass(Boolean) - Method in class org.testng.xml.XmlClass
 
setDefaultAnnotations(String) - Method in class org.testng.xml.XmlSuite
Sets the overall default annotation type (JDK5/javadoc).
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
 
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.ITestOrConfiguration
 
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.XmlTest
 
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
 
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
 
setGroups(String[]) - Method in interface org.testng.annotations.ITestOrConfiguration
 
setGroups(String) - Method in class org.testng.JUnitConverterTask
 
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.SuiteRunner
 
setId(String) - Method in interface org.testng.ITestNGMethod
 
setId(String) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
setIgnoreMissingDependencies(boolean) - Method in interface org.testng.annotations.ITestAnnotation
 
setIgnoreMissingDependencies(boolean) - Method in interface org.testng.ITestNGMethod
 
setIgnoreMissingDependencies(boolean) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
setInclude(List<String>) - Method in class org.testng.xml.XmlPackage
 
setIncludedGroups(List<String>) - Method in class org.testng.xml.XmlTest
 
setIncludedMethods(List<XmlInclude>) - Method in class org.testng.xml.XmlClass
 
setInvocationCount(int) - Method in interface org.testng.annotations.ITestAnnotation
 
setInvocationCount(int) - Method in interface org.testng.ITestNGMethod
 
setInvocationCount(int) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
setInvocationNumbers(List<Integer>) - Method in interface org.testng.ITestNGMethod
 
setInvocationNumbers(List<Integer>) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
setInvocationTimeOut(long) - Method in interface org.testng.annotations.ITestAnnotation
 
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
 
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
 
setMaster(String) - Method in class org.testng.TestNG
Specify if this run should be in Master-Slave mode as Master
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(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
 
setMissingGroup(String) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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(IObjectFactory) - Method in class org.testng.SuiteRunner
 
setObjectFactory(Class) - Method in class org.testng.TestNG
 
setObjectFactory(IObjectFactory) - Method in class org.testng.TestNG
 
setObjectFactory(String) - Method in class org.testng.TestNGAntTask
 
setObjectFactory(IObjectFactory) - Method in class org.testng.xml.XmlSuite
 
setOnHaltTarget(String) - Method in class org.testng.TestNGAntTask
 
setOutputDir(File) - Method in class org.testng.JUnitConverterTask
Setter for report's output directory
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
 
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
 
setParameterInvocationCount(int) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
setParameters(Object[]) - Method in interface org.testng.ITestResult
 
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
 
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.junit.JUnitUtils.JUnitTestMethod
 
setPriority(int) - Method in class org.testng.xml.XmlMethodSelector
 
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
 
setRetryAnalyzer(IRetryAnalyzer) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
setSequential(boolean) - Method in interface org.testng.annotations.ITestAnnotation
 
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
 
setSkipFailedInvocations(boolean) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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
 
setSourceDir(File) - Method in class org.testng.JUnitConverterTask
 
setSourcePath(String) - Method in class org.testng.TestNG
Sets the ; separated path of source directories.
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
 
setStatus(int) - Method in class org.testng.TestNG
 
setStopped(boolean) - Method in interface org.testng.IMethodSelectorContext
Indicate that no other Method Selectors should be invoked after the current one if stopped is false.
setSuccessPercentage(int) - Method in interface org.testng.annotations.ITestAnnotation
 
setSuite(XmlSuite) - Method in class org.testng.xml.XmlTest
 
setSuiteFiles(List<String>) - Method in class org.testng.xml.XmlSuite
Sets the suite files.
setSuiteName(String) - Method in interface org.testng.annotations.ITestAnnotation
 
setSuiteName(String) - Method in class org.testng.TestNGAntTask
Sets the suite name
setSuiteRunnerClass(String) - Method in class org.testng.TestNGAntTask
Sets the suite runner class to invoke
setSuiteThreadPoolSize(Integer) - Method in class org.testng.TestNG
 
setSuiteThreadPoolSize(Integer) - Method in class org.testng.TestNGAntTask
 
setTestClass(ITestClass) - Method in interface org.testng.ITestNGMethod
Sets the test class having this method.
setTestClass(ITestClass) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
setTestClasses(Class[]) - Method in class org.testng.TestNG
Set the test classes to be run by this TestNG object.
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(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.JUnitTestRunner
 
setTestRunnerFactory(ITestRunnerFactory) - Method in class org.testng.TestNG
 
setTestRunnerFactory(String) - Method in class org.testng.TestNGAntTask
 
setTestRunnerFactoryClass(Class) - Method in class org.testng.TestNG
 
setTests(List<XmlTest>) - Method in class org.testng.xml.XmlSuite
 
setTestSuites(List<String>) - Method in class org.testng.TestNG
Set the suites file names to be run by this TestNG object.
setThreadCount(int) - Method in class org.testng.TestNG
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
 
setThreadPoolSize(int) - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
setThrowable(Throwable) - Method in interface org.testng.ITestResult
 
setTimeOut(long) - Method in interface org.testng.annotations.ITestAnnotation
 
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
 
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.StringMessageSenderHelper
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
 
skipFailedInvocations() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
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
 
SRC_SEPARATOR - Static variable in class org.testng.TestNG
A separator constant (semi-colon).
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(RootDoc) - Static method in class org.testng.junit.JUnitTestConverter
This method is required for all doclets.
start(Class) - 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.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
StringMessageSenderHelper - Class in org.testng.remote.strprotocol
String based socket based communication.
StringMessageSenderHelper(String, int) - Constructor for class org.testng.remote.strprotocol.StringMessageSenderHelper
 
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(ISuite, boolean) - Constructor for class org.testng.remote.strprotocol.SuiteMessage
 
suiteName - Variable in class org.testng.CommandLineArgs
 
SuiteResult - Class in org.testng
This class logs the result of an entire Test Suite (defined by a property file).
SuiteResult(String, ITestContext) - Constructor for class org.testng.SuiteResult
 
SuiteResult(XmlSuite, ITestContext) - Constructor for class org.testng.SuiteResult
 
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
 
SuiteRunner.DefaultTestRunnerFactory - Class in org.testng
The default implementation of ITestRunnerFactory.
SuiteRunner.DefaultTestRunnerFactory(ITestListener[], boolean, boolean) - Constructor for class org.testng.SuiteRunner.DefaultTestRunnerFactory
 
SuiteRunner.ProxyTestRunnerFactory - Class in org.testng
 
SuiteRunner.ProxyTestRunnerFactory(ITestListener[], ITestRunnerFactory) - Constructor for class org.testng.SuiteRunner.ProxyTestRunnerFactory
 
SuiteRunnerWorker - Class in org.testng
 
SuiteRunnerWorker(SuiteRunner, Integer, 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
 
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_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
 
TestClass - Class in org.testng
This class represents a test class: - The test methods - The configuration methods (test and method) - The class file
TestClass(IClass, ITestMethodFinder, IAnnotationFinder, RunInfo, XmlTest, XmlClass) - Constructor for class org.testng.TestClass
 
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
 
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(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) 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
 
TestNGContentHandler - Class in org.testng.xml
Suite definition parser utility.
TestNGContentHandler(String) - 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
 
TestResultMessage - Class in org.testng.remote.strprotocol
An IStringMessage implementation for test results events.
TestResultMessage(String, String, ITestResult) - Constructor for class org.testng.remote.strprotocol.TestResultMessage
 
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(ISuite, XmlTest, String, IAnnotationFinder, boolean, List<IInvokedMethodListener>) - Constructor for class org.testng.TestRunner
 
TestRunner(ISuite, XmlTest, IAnnotationFinder, boolean) - Constructor for class org.testng.TestRunner
 
TestRunner(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 does nothing else.
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.
toDisplayString() - Method in class org.testng.remote.strprotocol.TestResultMessage
 
toString() - Method in class org.testng.junit.JUnitUtils.JUnitTestMethod
 
toString() - Method in class org.testng.ReporterConfig
 
toString() - Method in class org.testng.SuiteResult
Returns the test context name.
toString() - Method in class org.testng.TestClass
 
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
 
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

W

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.
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
 
XmlClass - Class in org.testng.xml
This class describes the tag in testng.xml.
XmlClass(String) - Constructor for class org.testng.xml.XmlClass
 
XmlClass(Class) - Constructor for class org.testng.xml.XmlClass
 
XmlClass(String, Boolean, int) - Constructor for class org.testng.xml.XmlClass
 
XmlClass(Class, Boolean) - Constructor for class org.testng.xml.XmlClass
 
xmlClasses(boolean, Attributes) - Method in class org.testng.xml.TestNGContentHandler
Parse
xmlClose(StringBuffer, 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
 
xmlPackages(boolean, Attributes) - Method in class org.testng.xml.TestNGContentHandler
Parse
XmlParser - Class in org.testng.xml
 
XmlParser() - Constructor for class org.testng.xml.XmlParser
 
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(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) - Constructor for class org.testng.xml.XmlTest
Constructs a XmlTest and adds it to suite's list of tests.
XMLUtils - Class in org.testng.reporters
Static helpers for XML.

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

Copyright © 2010. All Rights Reserved.