Package org.testng.internal
Class RunInfo
- java.lang.Object
-
- org.testng.internal.RunInfo
-
public class RunInfo extends java.lang.ObjectThis class contains all the information needed to determine what methods should be run. It gets invoked by the TestRunner and then goes through its list of method selectors to decide what methods need to be run.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMethodSelector(IMethodSelector selector, int priority)XmlTestgetXmlTest()booleanincludeMethod(ITestNGMethod tm, boolean isTestMethod)voidsetTestMethods(java.util.List<ITestNGMethod> testMethods)
-
-
-
Constructor Detail
-
RunInfo
public RunInfo(java.util.function.Supplier<XmlTest> xmlTest)
-
-
Method Detail
-
getXmlTest
public XmlTest getXmlTest()
-
addMethodSelector
public void addMethodSelector(IMethodSelector selector, int priority)
-
includeMethod
public boolean includeMethod(ITestNGMethod tm, boolean isTestMethod)
- Returns:
- true as soon as we fond a Method Selector that returns true for the method "tm".
-
setTestMethods
public void setTestMethods(java.util.List<ITestNGMethod> testMethods)
-
-