Searched refs:fromMethod (Results 1 – 4 of 4) sorted by relevance
31 public List<ITestNGMethod> getMethodsThatBelongTo(String group, ITestNGMethod fromMethod) { in getMethodsThatBelongTo() argument44 if (result.isEmpty() && !fromMethod.ignoreMissingDependencies()) { in getMethodsThatBelongTo()45 throw new TestNGException("DependencyMap::Method \"" + fromMethod in getMethodsThatBelongTo()52 public ITestNGMethod getMethodDependingOn(String methodName, ITestNGMethod fromMethod) { in getMethodDependingOn() argument54 if (l == null && fromMethod.ignoreMissingDependencies()){ in getMethodDependingOn()55 return fromMethod; in getMethodDependingOn()62 if (fromMethod.getRealClass().isAssignableFrom(m.getRealClass())) { in getMethodDependingOn()63 if (m.getInstance() == fromMethod.getInstance()) return m; in getMethodDependingOn()69 throw new TestNGException("Method \"" + fromMethod in getMethodDependingOn()
41 assertNotNull(sub.fromMethod); in testSuperclassInjection()47 Foo fromMethod; field in SuperclassTest.Super51 fromMethod = foo; in setC()
45 assertEquals(5, o.fromMethod); in testInstancesAreInjected()49 int fromMethod; field in BoundInstanceInjectionTest.O53 this.fromMethod = i; in setInt()79 assertEquals(5, injector.getInstance(O.class).fromMethod); in testProvidersAreInjected()
277 assertEquals(5, p.fromMethod);282 int fromMethod;291 this.fromMethod = i;308 assertEquals(5, p.fromMethod);313 int fromMethod;322 this.fromMethod = i;