org.testng
Interface IMethodSelectorContext
public interface IMethodSelectorContext
An implementation of this interface is passed to all the Method Selectors
when their includeMethod() is invoked. Method selectors can invoke
any method of this context at that time.
Created on Jan 3, 2007
- Author:
- Cedric Beust
isStopped
boolean isStopped()
- Returns:
- true if no more Method Selectors should be invoked after
the current one.
setStopped
void setStopped(boolean stopped)
- Indicate that no other Method Selectors should be invoked after the
current one if stopped is false.
- Parameters:
stopped
-
getUserData
Map<Object,Object> getUserData()
- Returns:
- a Map that can be freely manipulated by the Method Selector.
This can be used to share information among several Method Selectors.
Copyright © 2011. All Rights Reserved.