Class BaseTestMethod

java.lang.Object
org.testng.internal.BaseTestMethod
All Implemented Interfaces:
Cloneable, IInvocationStatus, ITestNGMethod
Direct Known Subclasses:
ConfigurationMethod, FactoryMethod, JUnitTestMethod, TestNGMethod

public abstract class BaseTestMethod extends Object implements ITestNGMethod, IInvocationStatus
Superclass to represent both @Test and @Configuration methods.
  • Field Details

    • SPACE_SEPARATOR_PATTERN

      private static final Pattern SPACE_SEPARATOR_PATTERN
    • m_testClass

      protected ITestClass m_testClass
      The test class on which the test method was found. Note that this is not necessarily the declaring class.
    • m_methodClass

      protected final Class<?> m_methodClass
    • m_method

      protected final ConstructorOrMethod m_method
    • m_signature

      private String m_signature
    • m_id

      protected String m_id
    • m_date

      protected long m_date
    • m_annotationFinder

      protected final IAnnotationFinder m_annotationFinder
    • m_groups

      protected String[] m_groups
    • m_groupsDependedUpon

      protected String[] m_groupsDependedUpon
    • m_methodsDependedUpon

      protected String[] m_methodsDependedUpon
    • m_beforeGroups

      protected String[] m_beforeGroups
    • m_afterGroups

      protected String[] m_afterGroups
    • m_isAlwaysRun

      private boolean m_isAlwaysRun
    • m_enabled

      private boolean m_enabled
    • m_methodName

      private final String m_methodName
    • m_missingGroup

      private String m_missingGroup
    • m_description

      private String m_description
    • m_currentInvocationCount

      protected AtomicInteger m_currentInvocationCount
    • m_parameterInvocationCount

      private int m_parameterInvocationCount
    • m_moreInvocationChecker

      private Callable<Boolean> m_moreInvocationChecker
    • m_retryAnalyzer

      private IRetryAnalyzer m_retryAnalyzer
    • m_retryAnalyzerClass

      private Class<? extends IRetryAnalyzer> m_retryAnalyzerClass
    • m_skipFailedInvocations

      private boolean m_skipFailedInvocations
    • m_invocationTimeOut

      private long m_invocationTimeOut
    • m_invocationNumbers

      private List<Integer> m_invocationNumbers
    • m_failedInvocationNumbers

      private final Collection<Integer> m_failedInvocationNumbers
    • m_timeOut

      private long m_timeOut
    • m_ignoreMissingDependencies

      private boolean m_ignoreMissingDependencies
    • m_priority

      private int m_priority
    • m_interceptedPriority

      private int m_interceptedPriority
    • m_xmlTest

      private XmlTest m_xmlTest
    • m_instance

      private final Object m_instance
    • m_testMethodToRetryAnalyzer

      private final Map<String,IRetryAnalyzer> m_testMethodToRetryAnalyzer
    • invocationTime

      private long invocationTime
  • Constructor Details

  • Method Details