Home
last modified time | relevance | path

Searched refs:fromMethod (Results 1 – 4 of 4) sorted by relevance

/external/testng/src/main/java/org/testng/
DDependencyMap.java31 public List<ITestNGMethod> getMethodsThatBelongTo(String group, ITestNGMethod fromMethod) { in getMethodsThatBelongTo() argument
44 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() argument
54 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()
/external/guice/core/test/com/google/inject/
DSuperclassTest.java41 assertNotNull(sub.fromMethod); in testSuperclassInjection()
47 Foo fromMethod; field in SuperclassTest.Super
51 fromMethod = foo; in setC()
DBoundInstanceInjectionTest.java45 assertEquals(5, o.fromMethod); in testInstancesAreInjected()
49 int fromMethod; field in BoundInstanceInjectionTest.O
53 this.fromMethod = i; in setInt()
79 assertEquals(5, injector.getInstance(O.class).fromMethod); in testProvidersAreInjected()
DInjectorTest.java277 assertEquals(5, p.fromMethod);
282 int fromMethod;
291 this.fromMethod = i;
308 assertEquals(5, p.fromMethod);
313 int fromMethod;
322 this.fromMethod = i;