Class InvokedMethod

    • Constructor Detail

      • InvokedMethod

        public InvokedMethod​(java.lang.Object instance,
                             ITestNGMethod method,
                             long date,
                             ITestResult testResult)
    • Method Detail

      • isTestMethod

        public boolean isTestMethod()
        Specified by:
        isTestMethod in interface IInvokedMethod
        Returns:
        true if this method is a test method
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • isConfigurationMethod

        public boolean isConfigurationMethod()
        Specified by:
        isConfigurationMethod in interface IInvokedMethod
        Returns:
        true if this method is a configuration method (@BeforeXXX or @AfterXXX)
      • getDate

        public long getDate()
        Specified by:
        getDate in interface IInvokedMethod
        Returns:
        the date when this method was run