Class RunInfo


  • public class RunInfo
    extends java.lang.Object
    This 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.
    • Field Detail

      • xmlTest

        private final java.util.function.Supplier<XmlTest> xmlTest
    • 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)