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()
40 assertNotNull(sub.fromMethod); in testSuperclassInjection()46 Foo fromMethod; field in SuperclassTest.Super48 fromMethod = foo; in setC()
46 assertEquals(5, o.fromMethod); in testInstancesAreInjected()50 int fromMethod; field in BoundInstanceInjectionTest.O53 this.fromMethod = i; in setInt()72 assertEquals(5, injector.getInstance(O.class).fromMethod); in testProvidersAreInjected()
260 assertEquals(5, p.fromMethod);265 int fromMethod;274 this.fromMethod = i;288 assertEquals(5, p.fromMethod);293 int fromMethod;302 this.fromMethod = i;