-
Interfaces Interface Description org.testng.IConfigurationListener2 As of release 7.0.0, replaced byIConfigurationListener
org.testng.IObjectFactory - This interface stands deprecated as of TestNG 7.5.0org.testng.IObjectFactory2 - This interface stands deprecated as of TestNG 7.5.0
-
Classes Class Description org.testng.ConversionUtils org.testng.xml.Parser - This class stands deprecated as of TestNG7.5.0
. There are no alternatives for this class.
-
Methods Method Description org.testng.IInjectorFactory.getInjector(Stage, Module...) - As of TestNG7.5.0
org.testng.IObjectFactory2.newInstance(Class<?>) - This interface stands deprecated as of TestNG 7.5.0org.testng.ISuite.getObjectFactory2() org.testng.junit.IJUnitTestRunner.setTestResultNotifier(ITestResultNotifier) org.testng.TestNG.addListener(Object) Use addListener(ITestNGListener) insteadorg.testng.TestNG.configure(Map) use new configure(CommandLineArgs) methodorg.testng.TestNG.getDefault() since 5.1org.testng.TestNG.setParallel(String) Use #setParallel(XmlSuite.ParallelMode) insteadorg.testng.TestNG.setSourcePath(String) org.testng.xml.XmlSuite.getObjectFactory() - This method stands deprecated as of TestNG7.5.0
. UseXmlSuite.getObjectFactoryClass()
instead.org.testng.xml.XmlSuite.setObjectFactory(ITestObjectFactory)