Package org.testng.internal
Class MethodInheritance
java.lang.Object
org.testng.internal.MethodInheritance
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
fixMethodInheritance
(ITestNGMethod[] methods, boolean before) Fix the methodsDependedUpon to make sure that @Configuration methods respect inheritance (before methods are invoked in the order Base first and after methods are invoked in the order Child first)
-
Constructor Details
-
MethodInheritance
public MethodInheritance()
-
-
Method Details
-
fixMethodInheritance
Fix the methodsDependedUpon to make sure that @Configuration methods respect inheritance (before methods are invoked in the order Base first and after methods are invoked in the order Child first)- Parameters:
methods
- the list of methodsbefore
- true if we are handling a before method (meaning, the methods need to be sorted base class first and subclass last). false otherwise (subclass methods first, base classes last).
-