Package org.testng
Interface IAlterTestName
-
- All Known Implementing Classes:
TestResult
public interface IAlterTestName
This interface lets you alter the test name of anITestResult
object. Sample :
if (testResult instanceOf IAlterTestName) { ((ITestResult) testResult).setTestName(newName); }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setTestName(java.lang.String name)
-