public interface IMethodSelector extends Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
includeMethod(IMethodSelectorContext context,
ITestNGMethod method,
boolean isTestMethod) |
void |
setTestMethods(List<ITestNGMethod> testMethods)
Invoked when all the test methods are known so that the method selector
can perform additional work, such as adding the transitive closure of
all the groups being included and depended upon.
|
boolean includeMethod(IMethodSelectorContext context, ITestNGMethod method, boolean isTestMethod)
context
- The selector context. The implementation of this method
can invoke setHalted(true) to indicate that no other Method Selector
should be invoked by TestNG after this one. Additionally, this
implementation can manipulate the Map object returned by
getUserData().method
- The test methodisTestMethod
- true if this is a @Test method, false if it's a
configuration methodvoid setTestMethods(List<ITestNGMethod> testMethods)
Copyright © 2014. All Rights Reserved.