Class BaseTestMethod

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

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

    • 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_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_currentInvocationCount

      protected AtomicInteger m_currentInvocationCount
    • m_objectFactory

      protected final ITestObjectFactory m_objectFactory
  • Constructor Details

  • Method Details