Class JUnitTestMethod

    • Field Summary

      • Fields inherited from class org.testng.internal.BaseTestMethod

        m_afterGroups, m_annotationFinder, m_beforeGroups, m_currentInvocationCount, m_date, m_groups, m_groupsDependedUpon, m_id, m_method, m_methodClass, m_methodsDependedUpon, m_testClass
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected JUnitTestMethod​(JUnitTestClass owner, java.lang.String methodName, org.testng.internal.ConstructorOrMethod method, java.lang.Object instance)  
      protected JUnitTestMethod​(JUnitTestClass owner, org.testng.internal.ConstructorOrMethod method, java.lang.Object instance)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ITestNGMethod clone()  
      boolean isTest()  
      • Methods inherited from class org.testng.internal.BaseTestMethod

        addFailedInvocationNumber, addMethodDependedUpon, canRunFromClass, equals, findMethodParameters, getAfterGroups, getAnnotationFinder, getBeforeGroups, getConstructorOrMethod, getCurrentInvocationCount, getDate, getDescription, getEnabled, getFactoryMethodParamsInfo, getFailedInvocationNumbers, getGroups, getGroupsDependedUpon, getIClass, getId, getInstance, getInstanceHashCodes, getInterceptedPriority, getInvocationCount, getInvocationNumbers, getInvocationTimeOut, getMethodName, getMethodsDependedUpon, getMissingGroup, getParameterInvocationCount, getPriority, getQualifiedName, getRealClass, getRetryAnalyzer, getRetryAnalyzer, getRetryAnalyzerClass, getSignature, getSimpleName, getStringArray, getSuccessPercentage, getTestClass, getThreadPoolSize, getTimeOut, getXmlTest, hashCode, hasMoreInvocation, ignoreMissingDependencies, incrementCurrentInvocationCount, initBeforeAfterGroups, initGroups, isAfterClassConfiguration, isAfterGroupsConfiguration, isAfterMethodConfiguration, isAfterSuiteConfiguration, isAfterTestConfiguration, isAlwaysRun, isBeforeClassConfiguration, isBeforeGroupsConfiguration, isBeforeMethodConfiguration, isBeforeSuiteConfiguration, isBeforeTestConfiguration, setAlwaysRun, setDate, setDescription, setEnabled, setGroups, setGroupsDependedUpon, setId, setIgnoreMissingDependencies, setInterceptedPriority, setInvocationCount, setInvocationNumbers, setInvocationTimeOut, setMethodsDependedUpon, setMissingGroup, setMoreInvocationChecker, setParameterInvocationCount, setPriority, setRetryAnalyzer, setRetryAnalyzerClass, setSkipFailedInvocations, setTestClass, setThreadPoolSize, setTimeOut, setXmlTest, skipFailedInvocations, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JUnitTestMethod

        protected JUnitTestMethod​(JUnitTestClass owner,
                                  org.testng.internal.ConstructorOrMethod method,
                                  java.lang.Object instance)
      • JUnitTestMethod

        protected JUnitTestMethod​(JUnitTestClass owner,
                                  java.lang.String methodName,
                                  org.testng.internal.ConstructorOrMethod method,
                                  java.lang.Object instance)
    • Method Detail

      • isTest

        public boolean isTest()
        Specified by:
        isTest in interface ITestNGMethod
        Overrides:
        isTest in class org.testng.internal.BaseTestMethod
        Returns:
        true if this method was annotated with @Test