org.testng
public class ClassMethodMap extends java.lang.Object
>
.
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.Constructor and Description |
---|
ClassMethodMap(ITestNGMethod[] methods) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
java.util.Map<ITestClass,java.util.Set<java.lang.Object>> |
getInvokedAfterClassMethods() |
java.util.Map<ITestClass,java.util.Set<java.lang.Object>> |
getInvokedBeforeClassMethods() |
boolean |
removeAndCheckIfLast(ITestNGMethod m)
Remove the method from this map and returns true if it is the last
of its class.
|
public ClassMethodMap(ITestNGMethod[] methods)
public boolean removeAndCheckIfLast(ITestNGMethod m)
public java.util.Map<ITestClass,java.util.Set<java.lang.Object>> getInvokedBeforeClassMethods()
public java.util.Map<ITestClass,java.util.Set<java.lang.Object>> getInvokedAfterClassMethods()
public void clear()