|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Deprecated Annotation Types | |
---|---|
org.testng.annotations.Configuration
Use @BeforeSuite, @AfterSuite, @BeforeTest, @AfterTest, \@BeforeGroups, @AfterGroups, @BeforeClass, @AfterClass, @BeforeMethod, \@AfterMethod |
|
org.testng.annotations.ExpectedExceptions
Use @Test(expectedExceptions = "...") |
Deprecated Methods | |
---|---|
org.testng.TestNG.configure(Map)
use new configure(CommandLineArgs) method |
|
org.testng.TestNG.getDefault()
since 5.1 |
|
org.testng.IMethodInstance.getInstances()
Use getInstance() |
|
org.testng.ITestNGMethod.getInstances()
Use getInstance(). |
|
org.testng.ISuite.getInvokedMethods()
Use getAllInvokedMthods(). |
|
org.testng.ITestNGMethod.getMethod()
This method is deprecated and can now return null. Use getConstructorOrMethod() instead. |
|
org.testng.annotations.IParameterizable.getParameters()
Use @Parameters |
|
org.testng.TestNG.isJdk14()
|
|
org.testng.xml.XmlTest.setClassNames(List use setXmlClasses |
|
org.testng.TestNG.setHasFailure(boolean)
since 5.1 |
|
org.testng.TestNG.setHasFailureWithinSuccessPercentage(boolean)
since 5.1 |
|
org.testng.TestNG.setHasSkip(boolean)
since 5.1 |
|
org.testng.TestNGAntTask.setListener(String)
Use "listeners" |
|
org.testng.TestNG.setTestNGVersion()
The TestNG version is now established at load time. This method is not required anymore and is now a no-op. |
Deprecated Annotation Type Elements | |
---|---|
org.testng.annotations.Configuration.parameters
Use @Parameters |
|
org.testng.annotations.Factory.parameters
Use @Parameters |
|
org.testng.annotations.Test.parameters
Use @Parameters |
|
org.testng.annotations.Test.sequential
Use singleThreaded |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |