Home
last modified time | relevance | path

Searched refs:IMethodInstance (Results 1 – 19 of 19) sorted by relevance

/external/testng/src/test/java/test/tmp/verify/
DVerifyInterceptor.java3 import org.testng.IMethodInstance;
29 public List<IMethodInstance> intercept(List<IMethodInstance> methods, in intercept()
32 List<IMethodInstance> result = new ArrayList<>(); in intercept()
33 Map<Class<?>, List<IMethodInstance>> verifyMethods = Maps.newHashMap(); in intercept()
34 for (IMethodInstance mi : methods) { in intercept()
36 List<IMethodInstance> verify = verifyMethods.get(tm.getRealClass()); in intercept()
50 private List<IMethodInstance> findVerifyMethods(Class realClass, final ITestNGMethod tm) { in findVerifyMethods()
51 List<IMethodInstance> result = new ArrayList<>(); in findVerifyMethods()
56 result.add(new IMethodInstance() { in findVerifyMethods()
68 public int compareTo(IMethodInstance o) { in findVerifyMethods()
/external/testng/src/test/java/test/methodinterceptors/
DRemoveAMethodInterceptor.java3 import org.testng.IMethodInstance;
16 public List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context) { in intercept()
17 List<IMethodInstance> result = new ArrayList<>(); in intercept()
19 for (IMethodInstance method : methods) { in intercept()
31 public static void log(IMethodInterceptor listener, List<IMethodInstance> input, in log()
32 List<IMethodInstance> output) { in log()
40 public static List<String> getMethodNames(List<IMethodInstance> methods) { in getMethodNames()
42 for (IMethodInstance m : methods) { in getMethodNames()
DFastTestsFirstInterceptor.java3 import org.testng.IMethodInstance;
15 public List<IMethodInstance> intercept(List<IMethodInstance> methods, in intercept()
18 List<IMethodInstance> result = new ArrayList<>(); in intercept()
19 for (IMethodInstance m : methods) { in intercept()
DIssue392Test.java3 import org.testng.IMethodInstance;
24 public List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context) { in AfterClass_method_should_be_fired_when_IMethodInterceptor_removes_test_methods()
25 List<IMethodInstance> instances = new ArrayList<>(); in AfterClass_method_should_be_fired_when_IMethodInterceptor_removes_test_methods()
26 for (IMethodInstance instance : methods) { in AfterClass_method_should_be_fired_when_IMethodInterceptor_removes_test_methods()
DIssue521Test.java3 import org.testng.IMethodInstance;
24 public List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context) { in BeforeClass_method_should_be_fired_when_IMethodInterceptor_removes_test_methods()
25 List<IMethodInstance> instances = new ArrayList<>(); in BeforeClass_method_should_be_fired_when_IMethodInterceptor_removes_test_methods()
26 for (IMethodInstance instance : methods) { in BeforeClass_method_should_be_fired_when_IMethodInterceptor_removes_test_methods()
DNullMethodInterceptor.java3 import org.testng.IMethodInstance;
12 public List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context) { in intercept()
/external/testng/src/main/java/org/testng/
DInstanceOrderingMethodInterceptor.java17 public List<IMethodInstance> intercept(List<IMethodInstance> methods, in intercept()
25 private List<IMethodInstance> groupMethodsByInstance(List<IMethodInstance> methods) { in groupMethodsByInstance()
27 Map<Object, List<IMethodInstance>> map = Maps.newHashMap(); in groupMethodsByInstance()
28 for (IMethodInstance mi : methods) { in groupMethodsByInstance()
34 List<IMethodInstance> l = map.get(instance); in groupMethodsByInstance()
43 List<IMethodInstance> result = Lists.newArrayList(); in groupMethodsByInstance()
DPreserveOrderMethodInterceptor.java17 private void p(List<IMethodInstance> methods, String s) { in p()
19 for (IMethodInstance mi : methods) { in p()
26 public List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context) { in intercept()
DIClassListener.java5 void onBeforeClass(ITestClass testClass, IMethodInstance mi); in onBeforeClass()
6 void onAfterClass(ITestClass testClass, IMethodInstance mi); in onAfterClass()
DIMethodInterceptor.java32 List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context); in intercept()
DTestRunner.java798 List<IMethodInstance> methodInstances = methodsToMethodInstances(Arrays.asList(methods)); in intercept()
807 for (IMethodInstance imi : methodInstances) { in intercept()
858 List<IMethodInstance> methodInstances = Lists.newArrayList(); in createClassBasedParallelWorkers()
867 for (IMethodInstance im : methodInstances) { in createClassBasedParallelWorkers()
873 List<List<IMethodInstance>> instances = createInstances(methodInstances); in createClassBasedParallelWorkers()
874 for (List<IMethodInstance> inst : instances) { in createClassBasedParallelWorkers()
910 List<IMethodInstance> methodInstances = Lists.newArrayList(); in createInstanceBasedParallelWorkers()
915 methodInstances.toArray(new IMethodInstance[methodInstances.size()]), in createInstanceBasedParallelWorkers()
928 private List<List<IMethodInstance>> createInstances(List<IMethodInstance> methodInstances) { in createInstances()
929 Map<Object, List<IMethodInstance>> map = Maps.newHashMap(); in createInstances()
[all …]
DIMethodInstance.java8 public interface IMethodInstance { interface
/external/testng/src/test/java/test/verify/
DVerifyMethodInterceptor.java3 import org.testng.IMethodInstance;
12 public List<IMethodInstance> intercept(List<IMethodInstance> methods, in intercept()
14 List<IMethodInstance> result = Lists.newArrayList(); in intercept()
15 IMethodInstance verifier = null; in intercept()
20 for (IMethodInstance m : methods) { in intercept()
29 for (IMethodInstance m : methods) { in intercept()
/external/testng/src/test/java/test/methodinterceptors/multipleinterceptors/
DMethodNameFilterInterceptor.java3 import org.testng.IMethodInstance;
20 public List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context) { in intercept()
21 List<IMethodInstance> result = new ArrayList<>(); in intercept()
22 for (IMethodInstance methodInstance : methods) { in intercept()
/external/testng/src/main/java/org/testng/internal/
DMethodInstance.java3 import org.testng.IMethodInstance;
13 public class MethodInstance implements IMethodInstance {
44 public static final Comparator<IMethodInstance> SORT_BY_INDEX
45 = new Comparator<IMethodInstance>() {
47 public int compare(IMethodInstance o1, IMethodInstance o2) {
DTestMethodWorker.java5 import org.testng.IMethodInstance;
36 private IMethodInstance[] m_methodInstances;
47 IMethodInstance[] testMethods, in TestMethodWorker()
74 for (IMethodInstance mi : m_methodInstances) { in getTimeOut()
89 for (IMethodInstance m : m_methodInstances) { in toString()
104 for (IMethodInstance testMthdInst : m_methodInstances) { in run()
146 protected void invokeBeforeClassMethods(ITestClass testClass, IMethodInstance mi) { in invokeBeforeClassMethods()
194 protected void invokeAfterClassMethods(ITestClass testClass, IMethodInstance mi) { in invokeAfterClassMethods()
263 for (IMethodInstance m : m_methodInstances) { in getTasks()
/external/testng/src/test/java/test/listeners/
DMyMethodInterceptor.java3 import org.testng.IMethodInstance;
14 public List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context) { in intercept()
DMyClassListener.java4 import org.testng.IMethodInstance;
16 public void onBeforeClass(ITestClass testClass, IMethodInstance mi) { in onBeforeClass()
21 public void onAfterClass(ITestClass testClass, IMethodInstance mi) { in onAfterClass()
DSuiteListener2.java50 public List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context) { in intercept()