org.testng.internal
Class RunInfo

java.lang.Object
  extended by org.testng.internal.RunInfo
All Implemented Interfaces:
java.io.Serializable

public class RunInfo
extends java.lang.Object
implements java.io.Serializable

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.

Author:
Cedric Beust
See Also:
Serialized Form

Constructor Summary
RunInfo()
           
 
Method Summary
 void addMethodSelector(IMethodSelector selector, int priority)
           
 boolean includeMethod(ITestNGMethod tm, boolean isTestMethod)
           
static void ppp(java.lang.String s)
           
 void setTestMethods(java.util.List<ITestNGMethod> testMethods)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunInfo

public RunInfo()
Method Detail

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".

ppp

public static void ppp(java.lang.String s)

setTestMethods

public void setTestMethods(java.util.List<ITestNGMethod> testMethods)


Copyright © 2010. All Rights Reserved.