org.testng
Class ClassMethodMap
java.lang.Object
org.testng.ClassMethodMap
public class ClassMethodMap
- extends java.lang.Object
This class maintains a map of >
.
It is used by TestWorkers to determine if the method they just ran
is the last of its class, in which case it's time to invoke all the
afterClass methods.
- Author:
- Alex Popescu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassMethodMap
public ClassMethodMap(ITestNGMethod[] methods)
removeAndCheckIfLast
public boolean removeAndCheckIfLast(ITestNGMethod m)
- Remove the method from this map and returns true if it is the last
of its class.
getInvokedBeforeClassMethods
public java.util.Map<ITestClass,java.util.Set<java.lang.Object>> getInvokedBeforeClassMethods()
getInvokedAfterClassMethods
public java.util.Map<ITestClass,java.util.Set<java.lang.Object>> getInvokedAfterClassMethods()
clear
public void clear()