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(String name)
-
-
-
Method Detail
-
setTestName
void setTestName(String name)
- Parameters:
name
- - The new name to be used as a test name
-
-