- 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(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
-
- 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.IAttributes
-
- getAttribute(String) - Method in class org.testng.SuiteRunner
-
- 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
-
- getCurrentTestResult() - Static method in class org.testng.Reporter
-
- getCurrentXmlTest() - Method in interface org.testng.ITestContext
-
- getCurrentXmlTest() - Method in class org.testng.TestRunner
-
- getDataProviderThreadCount() - Method in class org.testng.xml.XmlSuite
-
- 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
-
- 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
-
- 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.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, XmlTest) - Method in interface org.testng.ITestMethodFinder
-
- 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
-
- 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
-
- getXmlTest() - Method in class org.testng.TestClass
-
- GROUPS_COMMAND_OPT - Static variable in class org.testng.TestNGCommandLineArgs
-
- 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
-
- 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
- ignoreMissingDependencies() - Method in interface org.testng.ITestNGMethod
-
- IHookable - Interface in org.testng
-
If a test class implements this interface, its run() method
will be invoked instead of each @Test method found.
- IHookCallBack - Interface in org.testng
-
A parameter of this type will be passed to the run() method of a IHookable.
- IInstanceInfo - Interface in org.testng
-
This class defines a pair of instance/class.
- IInvokedMethod - Interface in org.testng
-
An interface representing a method that has been invoked by TestNG.
- IInvokedMethodListener - Interface in org.testng
-
A listener that gets invoked before and after a method is invoked by TestNG.
- 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
-
- initializeSuitesAndJarFile() - Method in class org.testng.TestNG
-
- 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.
- serialize() - Method in class org.testng.ReporterConfig
-
- setAllTestMethods(List<ITestNGMethod>) - Method in class org.testng.TestListenerAdapter
-
- 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.TestNGAntTask
-
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
-
- setCurrentTestResult(ITestResult) - Static method in class org.testng.Reporter
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- setFileName(String) - Method in class org.testng.xml.XmlSuite
-
- setFSPProperty(String) - Method in class org.testng.TestNGAntTask
-
- 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
-
- setHasFailureWithinSuccessPercentage(boolean) - Method in class org.testng.TestNG
-
- setHasSkip(boolean) - Method in class org.testng.TestNG
-
- setHost(String) - Method in class org.testng.SuiteRunner
-
- setId(String) - Method in interface org.testng.ITestNGMethod
-
- setIgnoreMissingDependencies(boolean) - Method in interface org.testng.ITestNGMethod
-
- setInclude(List<String>) - Method in class org.testng.xml.XmlPackage
-
- setIncludedGroups(List<String>) - Method in class org.testng.xml.XmlTest
-
- setIncludedMethods(List<String>) - Method in class org.testng.xml.XmlClass
-
- setInvocationCount(int) - Method in interface org.testng.ITestNGMethod
-
- 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.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
-
- 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
-
- 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(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.TestNG
-
Sets the output directory where the reports will be created.
- setOutputDirectory(String) - Method in class org.testng.TestRunner
-
- setParallel(String) - Method in class org.testng.TestNG
-
Define whether this run will be run in parallel mode.
- setParallel(String) - Method in class org.testng.TestNGAntTask
-
- setParallel(String) - Method in class org.testng.xml.XmlSuite
-
Sets the parallel mode
- setParallel(String) - Method in class org.testng.xml.XmlTest
-
- setParameterInvocationCount(int) - Method in interface org.testng.ITestNGMethod
-
- setParameters(Object[]) - Method in interface org.testng.ITestResult
-
- setParameters(Map<String, String>) - Method in class org.testng.xml.XmlSuite
-
Sets parameters.
- setParameters(Map<String, String>) - Method in class org.testng.xml.XmlTest
-
- setPassedTests(List<ITestResult>) - Method in class org.testng.TestListenerAdapter
-
- 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(IRetryAnalyzer) - Method in interface org.testng.ITestNGMethod
-
- 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.ITestNGMethod
-
- setSkippedProperty(String) - Method in class org.testng.TestNGAntTask
-
- setSkippedTests(List<ITestResult>) - Method in class org.testng.TestListenerAdapter
-
- setSlave(String) - Method in class org.testng.TestNG
-
Specify if this run should be in Master-Slave mode as slave
- setSourceDir(File) - Method in class org.testng.JUnitConverterTask
-
- setSourcedir(Path) - Method in class org.testng.TestNGAntTask
-
Sets the Path like for source directories.
- setSourceDirRef(Reference) - Method in class org.testng.TestNGAntTask
-
Sets a reference to a Path-like structure for source directories.
- setSourcePath(String) - Method in class org.testng.TestNG
-
Sets the ; separated path of source directories.
- 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.
- setSuiteFiles(List<String>) - Method in class org.testng.xml.XmlSuite
-
Sets the suite files.
- 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
- setTarget(String) - Method in class org.testng.TestNG
-
Deprecated.
use the setDefaultAnnotationType replacement method.
- setTarget(String) - Method in class org.testng.TestNGAntTask
-
Deprecated.
use setAnnotations
- setTestClass(ITestClass) - Method in interface org.testng.ITestNGMethod
-
Sets the test class having this method.
- setTestClasses(Class[]) - Method in class org.testng.TestNG
-
Set the test classes to be run by this TestNG object.
- setTestJar(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
- setTestListeners(List<ITestListener>) - Method in class org.testng.SuiteRunner
-
- 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 class org.testng.TestNGAntTask
-
Sets the test name
- setTestName(String) - Method in class org.testng.TestRunner
-
- 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.
- setTestRunnerFactory(ITestRunnerFactory) - Method in class org.testng.TestNG
-
- setTestRunnerFactory(String) - Method in class org.testng.TestNGAntTask
-
- setTestRunnerFactoryClass(Class) - Method in class org.testng.TestNG
-
- 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.ITestNGMethod
-
- setThrowable(Throwable) - Method in interface org.testng.ITestResult
-
- 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
-
- 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.
- 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.TestNGCommandLineArgs
-
- size() - Method in interface org.testng.IResultMap
-
- SKIP - Static variable in interface org.testng.ITestResult
-
- SKIP_FAILED_INVOCATION_COUNT_OPT - Static variable in class org.testng.TestNGCommandLineArgs
-
- 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() - Method in class org.testng.xml.XmlSuite
-
- skipFailedInvocationCounts() - Method in class org.testng.xml.XmlTest
-
- skipFailedInvocations() - Method in interface org.testng.ITestNGMethod
-
- SLAVE_OPT - Static variable in class org.testng.TestNGCommandLineArgs
-
- SRC_COMMAND_OPT - Static variable in class org.testng.TestNGCommandLineArgs
-
The source directory option (when using JavaDoc type annotations).
- SRC_SEPARATOR - Static variable in class org.testng.TestNG
-
A separator constant (semi-colon).
- STARTED - Static variable in interface org.testng.ITestResult
-
- SUCCESS - Static variable in interface org.testng.ITestResult
-
- SUCCESS_PERCENTAGE_FAILURE - Static variable in interface org.testng.ITestResult
-
- SUITE_DEF_OPT - Static variable in class org.testng.TestNGCommandLineArgs
-
- SUITE_NAME_OPT - Static variable in class org.testng.TestNGCommandLineArgs
-
- 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(XmlSuite, String, IAnnotationFinder[]) - Constructor for class org.testng.SuiteRunner
-
- SuiteRunner(XmlSuite, String, ITestRunnerFactory, IAnnotationFinder[]) - Constructor for class org.testng.SuiteRunner
-
- SuiteRunner(XmlSuite, String, ITestRunnerFactory, boolean, IAnnotationFinder[]) - Constructor for class org.testng.SuiteRunner
-
- SuiteRunner(XmlSuite, String, ITestRunnerFactory, boolean, IAnnotationFinder[], IObjectFactory, IMethodInterceptor, List<IInvokedMethodListener>) - Constructor for class org.testng.SuiteRunner
-
- SuiteRunner.DefaultTestRunnerFactory - Class in org.testng
-
- SuiteRunner.DefaultTestRunnerFactory(ITestListener[], boolean, boolean, List<IInvokedMethodListener>) - Constructor for class org.testng.SuiteRunner.DefaultTestRunnerFactory
-
- SuiteRunner.ProxyTestRunnerFactory - Class in org.testng
-
- SuiteRunner.ProxyTestRunnerFactory(ITestListener[], ITestRunnerFactory) - Constructor for class org.testng.SuiteRunner.ProxyTestRunnerFactory
-
- SuiteRunState - Class in org.testng
-
A state object that records the status of the suite run.
- SuiteRunState() - Constructor for class org.testng.SuiteRunState
-
- TARGET_COMMAND_OPT - Static variable in class org.testng.TestNGCommandLineArgs
-
Deprecated.
replaced by DEFAULT_ANNOTATIONS_COMMAND_OPT.
- Test - Annotation Type in org.testng.annotations
-
Mark a class or a method as part of the test.
- TEST_CLASSPATH - Static variable in class org.testng.TestNGCommandLineArgs
-
- TEST_NAME_OPT - Static variable in class org.testng.TestNGCommandLineArgs
-
- 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, String, ITestMethodFinder, IAnnotationFinder, RunInfo, XmlTest) - Constructor for class org.testng.TestClass
-
- TestClass(IClass, TestClass) - Constructor for class org.testng.TestClass
-
- TESTCLASS_COMMAND_OPT - Static variable in class org.testng.TestNGCommandLineArgs
-
The list of test classes option.
- 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
-
- 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_COMMAND_OPT - Static variable in class org.testng.TestNGCommandLineArgs
-
- TestListenerAdapter - Class in org.testng
-
A simple ITestListener adapter that stores all the tests
that were run.
- TestListenerAdapter() - Constructor for class org.testng.TestListenerAdapter
-
- 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
-
- 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)
Ant settings:
classpath (inner)
classpathref (attribute)
jvm (attribute)
workingDir (attribute)
env (inner)
sysproperty (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
-
- TestNGCommandLineArgs - Class in org.testng
-
TestNG/RemoteTestNG command line arguments parser.
- 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
-
- 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) - Constructor for class org.testng.TestRunner
-
- TESTRUNNER_FACTORY_COMMAND_OPT - Static variable in class org.testng.TestNGCommandLineArgs
-
- THREAD_COUNT - Static variable in class org.testng.TestNGCommandLineArgs
-
- 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.
- 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(String) - Method in class org.testng.xml.XmlClass
-
- 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
-
- 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.