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

A

actOnResult(int, boolean) - Method in class org.testng.TestNGAntTask
 
addClassfileset(FileSet) - Method in class org.testng.TestNGAntTask
 
addConfigurationListener(IConfigurationListener) - Method in class org.testng.TestRunner
 
addConfiguredReporter(ReporterConfig) - Method in class org.testng.TestNGAntTask
 
addEnv(Environment.Variable) - Method in class org.testng.TestNGAntTask
Adds an environment variable; used when forking.
addFailedButWithinSuccessPercentageTest(ITestNGMethod, ITestResult) - Method in class org.testng.TestRunner
 
addFailedTest(ITestNGMethod, ITestResult) - Method in class org.testng.TestRunner
 
addInstance(Object) - Method in interface org.testng.IClass
 
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(ISuiteListener) - Method in class org.testng.SuiteRunner
Registers ISuiteListeners interested in reporting the result of the current suite.
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
 
addMethodSelector(String, int) - Method in class org.testng.TestNG
 
addParameter(String, String) - Method in class org.testng.xml.XmlTest
 
addPassedTest(ITestNGMethod, ITestResult) - Method in class org.testng.TestRunner
 
addProperty(ReporterConfig.Property) - Method in class org.testng.ReporterConfig
 
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
 
addXmlfileset(FileSet) - Method in class org.testng.TestNGAntTask
 
AfterClass - Annotation Type in org.testng.annotations
 
AfterGroups - Annotation Type in org.testng.annotations
 
afterInvocation(IInvokedMethod, ITestResult) - Method in interface org.testng.IInvokedMethodListener
 
AfterMethod - Annotation Type in org.testng.annotations
 
AfterSuite - Annotation Type in org.testng.annotations
 
AfterTest - Annotation Type in org.testng.annotations
 
AnnotationConverter - Class in org.testng
Converts between javadoc annotations and java 5 annotations.
AnnotationConverter() - Constructor for class org.testng.AnnotationConverter
 
ANNOTATIONS_COMMAND_OPT - Static variable in class org.testng.TestNGCommandLineArgs
The default annotations option (useful in TestNG 15 only).
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(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
 

B

BeforeClass - Annotation Type in org.testng.annotations
 
BeforeGroups - Annotation Type in org.testng.annotations
 
beforeInvocation(IInvokedMethod, ITestResult) - Method in interface org.testng.IInvokedMethodListener
 
BeforeMethod - Annotation Type in org.testng.annotations
 
BeforeSuite - Annotation Type in org.testng.annotations
 
BeforeTest - Annotation Type in org.testng.annotations
 
buildRunnerFactory(List) - Method in class org.testng.SuiteRunner
 

C

canRunFromClass(IClass) - Method in interface org.testng.ITestNGMethod
Returns if this ITestNGMethod can be invoked from within IClass.
checkConditions(Map) - Static method in class org.testng.TestNG
Checks TestNG preconditions.
ClassMethodMap - Class in org.testng
This class maintains a map of >.
ClassMethodMap(ITestNGMethod[]) - Constructor for class org.testng.ClassMethodMap
 
clear() - Method in class org.testng.ClassMethodMap
 
clone() - Method in interface org.testng.ITestNGMethod
 
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.
COMPARATOR - Static variable in class org.testng.SuiteResult
 
compareTo(Object) - Method in class org.testng.SuiteResult
 
Configuration - Annotation Type in org.testng.annotations
Deprecated. Use @BeforeSuite, @AfterSuite, @BeforeTest, @AfterTest,
configure(Map) - Method in class org.testng.TestNG
Configure the TestNG instance by reading the settings provided in the map.
createAndRunSuiteRunners(XmlSuite) - Method in class org.testng.TestNG
 
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.
createJvmarg() - Method in class org.testng.TestNGAntTask
 
createSourceDir() - Method in class org.testng.TestNGAntTask
Creates a nested src Path like.
createWatchdog() - Method in class org.testng.TestNGAntTask
 

D

DataProvider - Annotation Type in org.testng.annotations
Mark a method as supplying data for a test method.
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_OUTPUTDIR - Static variable in class org.testng.TestNG
The default name of the result's output directory.
deserialize(String) - Static method in class org.testng.ReporterConfig
 
dump() - Method in class org.testng.TestClass
 

E

EXCLUDED_GROUPS_COMMAND_OPT - Static variable in class org.testng.TestNGCommandLineArgs
 
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.
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
 
FAILURE - Static variable in interface org.testng.ITestResult
 
FileAssert - Class in org.testng
Assertion tool for File centric assertions.
findTestClasses() - Method in interface org.testng.ITestClassFinder
 

G

generateReport(List<XmlSuite>, List<ISuite>, String) - Method in interface org.testng.IReporter
Generate a report for the given suites into the specified output directory.
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
 
getAfterGroups() - Method in interface org.testng.ITestNGMethod
 
getAfterGroupsConfigurationMethods(Class) - Method in interface org.testng.ITestMethodFinder
 
getAfterGroupsMethods() - Method in interface org.testng.ITestClass
Returns all @Configuration methods that should be invoked after certain groups.
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() - Method in class org.testng.TestRunner
 
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() - Method in class org.testng.TestRunner
 
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
 
getAllMethods() - Method in interface org.testng.IResultMap
 
getAllParameters() - Method in class org.testng.xml.XmlSuite
Returns the parameters defined in this suite and all its XmlTests.
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
 
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.ITestContext
Return a context attribute
getAttribute(String) - 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
 
getBeforeGroups() - Method in interface org.testng.ITestNGMethod
Before and After groups
getBeforeGroupsConfigurationMethods(Class) - Method in interface org.testng.ITestMethodFinder
 
getBeforeGroupsMethods() - Method in interface org.testng.ITestClass
Returns all @Configuration methods that should be invoked before certain groups.
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() - Method in class org.testng.TestRunner
 
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() - Method in class org.testng.TestRunner
 
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
 
getClassName() - Method in class org.testng.ReporterConfig
 
getClassName() - Method in class org.testng.xml.XmlMethodSelector
 
getConfigurationFailures() - Method in class org.testng.TestListenerAdapter
 
getConfigurationListeners() - Method in class org.testng.TestRunner
 
getConfigurationSkips() - Method in class org.testng.TestListenerAdapter
 
getCurrentInvocationCount() - Method in interface org.testng.ITestNGMethod
 
getDate() - Method in interface org.testng.IInvokedMethod
 
getDate() - Method in interface org.testng.ITestNGMethod
 
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
 
getDescription() - Method in interface org.testng.ITestNGMethod
 
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
 
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
 
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
 
getFailedTests() - Method in interface org.testng.ITestContext
 
getFailedTests() - Method in class org.testng.TestListenerAdapter
 
getFailedTests() - Method in class org.testng.TestRunner
 
getFileName() - Method in class org.testng.xml.XmlSuite
 
getGroups() - Method in interface org.testng.ITestNGMethod
 
getGroupsDependedUpon() - Method in interface org.testng.ITestNGMethod
 
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
getIClass() - Method in class org.testng.TestRunner
 
getId() - Method in interface org.testng.ITestNGMethod
 
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
 
getInstance() - Method in interface org.testng.IInstanceInfo
 
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.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.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.TestClass
 
getInvocationCount() - Method in interface org.testng.ITestNGMethod
 
getInvocationTimeOut() - Method in interface org.testng.ITestNGMethod
The time under which all invocationCount methods need to complete by.
getInvokedAfterClassMethods() - Method in class org.testng.ClassMethodMap
 
getInvokedBeforeClassMethods() - Method in class org.testng.ClassMethodMap
 
getInvokedMethods() - Method in interface org.testng.ISuite
Retrieves the list of all the methods that were invoked during this run.
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
 
getLogLevel() - Static method in class org.testng.AnnotationConverter
 
getLogLevel() - Static method in class org.testng.JUnitConverter
 
getMessage() - Method in exception org.testng.TimeBombSkipException
 
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
 
getMethodName() - Method in interface org.testng.ITestNGMethod
Returns the method name.
getMethodsByGroups() - Method in interface org.testng.ISuite
Retrieves the map of groups and their associated test methods.
getMethodsByGroups() - Method in class org.testng.SuiteRunner
 
getMethodsDependedUpon() - Method in interface org.testng.ITestNGMethod
 
getMethodSelectors() - Method in class org.testng.xml.XmlSuite
Returns the method selectors.
getMethodSelectors() - Method in class org.testng.xml.XmlTest
 
getMissingGroup() - Method in interface org.testng.ITestNGMethod
If a group was not found.
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.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.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
 
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.SuiteRunner
 
getOutputDirectory() - Method in class org.testng.TestNG
 
getOutputDirectory() - Method in class org.testng.TestRunner
 
getParallel() - Method in interface org.testng.ISuite
 
getParallel() - Method in class org.testng.SuiteRunner
 
getParallel() - Method in class org.testng.xml.XmlSuite
Returns the parallel mode.
getParallel() - Method in class org.testng.xml.XmlTest
 
getParameter(String) - Method in interface org.testng.ISuite
 
getParameter(String) - Method in class org.testng.SuiteRunner
FIXME: should be removed?
getParameter(String) - Method in class org.testng.xml.XmlSuite
Returns the parameter defined in this suite only.
getParameter(String) - Method in class org.testng.xml.XmlTest
 
getParameterInvocationCount() - Method in interface org.testng.ITestNGMethod
 
getParameterOutput() - Method in interface org.testng.IExtraOutput
 
getParameters() - Method in interface org.testng.ITestResult
 
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.
getPassedConfigurations() - Method in interface org.testng.ITestContext
Retrieves information about the successful configuration method invocations.
getPassedConfigurations() - Method in class org.testng.TestRunner
 
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
 
getPriority() - Method in class org.testng.xml.XmlMethodSelector
 
getProperties() - Method in class org.testng.ReporterConfig
 
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
 
getReporters() - Method in class org.testng.TestNG
 
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.ITestNGMethod
 
getSkipFailedInvocationCounts() - Method in class org.testng.TestNG
 
getSkippedConfigurations() - Method in interface org.testng.ITestContext
Retrieves information about the skipped configuration method invocations.
getSkippedConfigurations() - Method in class org.testng.TestRunner
 
getSkippedTests() - Method in interface org.testng.ITestContext
 
getSkippedTests() - Method in class org.testng.TestListenerAdapter
 
getSkippedTests() - Method in class org.testng.TestRunner
 
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
 
getStatus() - Method in interface org.testng.ITestResult
 
getStatus() - Method in class org.testng.TestNG
 
getSuccessPercentage() - Method in interface org.testng.ITestNGMethod
 
getSuite() - Method in interface org.testng.ITestContext
 
getSuite() - Method in class org.testng.SuiteResult
 
getSuite() - Method in class org.testng.TestRunner
 
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.TestNG
 
getSuiteState() - Method in interface org.testng.ISuite
Retrieves the shared state for a suite.
getSuiteState() - Method in class org.testng.SuiteRunner
 
getSupportClass() - Method in class org.testng.xml.XmlClass
 
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
 
getTestContext() - Method in interface org.testng.ISuiteResult
 
getTestContext() - Method in class org.testng.SuiteResult
 
getTestContexts() - Method in class org.testng.TestListenerAdapter
 
getTestListeners() - Method in class org.testng.TestNG
 
getTestListeners() - Method in class org.testng.TestRunner
 
getTestMethod() - Method in interface org.testng.IInvokedMethod
 
getTestMethodFinder() - Method in class org.testng.TestClass
 
getTestMethods() - Method in interface org.testng.ITestClass
Returns all the applicable test methods.
getTestMethods(Class) - Method in interface org.testng.ITestMethodFinder
 
getTestName() - Method in interface org.testng.ITest
 
getTestName() - Method in class org.testng.TestClass
 
getTestPlan() - Method in class org.testng.TestRunner
 
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.ITestNGMethod
 
getThrowable() - Method in interface org.testng.ITestResult
 
getTimeOut() - Method in interface org.testng.ITestNGMethod
 
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
 
getUserData() - Method in interface org.testng.IMethodSelectorContext
 
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
 
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
 
GROUPS_COMMAND_OPT - Static variable in class org.testng.TestNGCommandLineArgs
 

H

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
 
hasSkip() - Method in class org.testng.TestNG
 
HOST_COMMAND_OPT - Static variable in class org.testng.TestNGCommandLineArgs
 

I

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.
IClass - Interface in org.testng
IClass represents a test class and a collection of its instances.
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
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.
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
 
init() - Method in class org.testng.JUnitConverterTask
 
intercept(List<IMethodInstance>, ITestContext) - Method in interface org.testng.IMethodInterceptor
 
IObjectFactory - Interface in org.testng
Factory used to create all test instances.
IReporter - Interface in org.testng
This interface can be implemented by clients to generate a report.
IResultMap - Interface in org.testng
 
IRetryAnalyzer - Interface in org.testng
Interface to implement to be able to have a chance to retry a failed test.
isAfterClassConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAfterGroupsConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAfterMethodConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAfterSuiteConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAfterTestConfiguration() - Method in interface org.testng.ITestNGMethod
 
isAlwaysRun() - Method in interface org.testng.ITestNGMethod
 
isBeforeClassConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeGroupsConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeMethodConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeSuiteConfiguration() - Method in interface org.testng.ITestNGMethod
 
isBeforeTestConfiguration() - Method in interface org.testng.ITestNGMethod
 
isConfigurationMethod() - Method in interface org.testng.IInvokedMethod
 
isFailed() - Method in class org.testng.SuiteRunState
 
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
 
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
 
isStopped() - Method in interface org.testng.IMethodSelectorContext
 
isSuccess() - Method in interface org.testng.ITestResult
 
isTest() - Method in interface org.testng.ITestNGMethod
 
isTestMethod() - Method in interface org.testng.IInvokedMethod
 
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.
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.
ITestNGMethod - Interface in org.testng
Describes a TestNG annotated method and the instance on which it will be invoked.
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.

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_DEF_OPT - Static variable in class org.testng.TestNGCommandLineArgs
 
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
 

L

LISTENER_COMMAND_OPT - Static variable in class org.testng.TestNGCommandLineArgs
 
log(String) - Static method in class org.testng.AnnotationConverter
 
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.