public class ClassMethodMap
extends java.lang.Object
<Class, List<ITestNGMethod>>. 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(java.util.List<ITestNGMethod> methods,
org.testng.internal.XmlMethodSelector xmlMethodSelector) |
| 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,
java.lang.Object instance)
Remove the method from this map.
|
public ClassMethodMap(java.util.List<ITestNGMethod> methods, org.testng.internal.XmlMethodSelector xmlMethodSelector)
public boolean removeAndCheckIfLast(ITestNGMethod m, java.lang.Object instance)
m - The test methodinstance - The test instancepublic 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()