Package org.testng

Interface IInvokedMethod


public interface IInvokedMethod
An interface representing a method that has been invoked by TestNG.

This interface is internal.

  • Method Details

    • isTestMethod

      boolean isTestMethod()
      Returns:
      true if this method is a test method
    • isConfigurationMethod

      boolean isConfigurationMethod()
      Returns:
      true if this method is a configuration method (@BeforeXXX or @AfterXXX)
    • getTestMethod

      ITestNGMethod getTestMethod()
      Returns:
      the test method
    • getTestResult

      ITestResult getTestResult()
    • getDate

      long getDate()
      Returns:
      the date when this method was run