Lines Matching defs:method
21 import java.lang.reflect.Method;
38 private static final Method setUp;
39 private static final Method tearDown;
40 private static final Method runTest;
61 Method suiteMethod = testClass.getMethod("suite");
68 for (Method m : testClass.getMethods()) {
93 * @param args if non-empty, this is the list of test method names.
120 for (Method m : testClass.getMethods()) {
147 Method suiteMethod = testClass.getMethod("suite");
211 protected final Method method;
213 protected VogarJUnitTest(Class<? extends TestCase> testClass, Method method) {
215 this.method = method;
223 method.invoke(testCase);
257 private TestMethod(Class<? extends TestCase> testClass, Method method,
259 super(testClass, method);
264 public static VogarTest create(Class<? extends TestCase> testClass, Method method) {
266 return new TestMethod(testClass, method, testClass.getConstructor(), new Object[0]);
270 return new TestMethod(testClass, method, testClass.getConstructor(String.class),
271 new Object[] { method.getName() });
274 return new ConfigurationError(testClass.getName() + "#" + method.getName(),
283 return testClass.getName() + "#" + method.getName();
293 private TestCaseInstance(TestCase testCase, Method method) {
294 super(testCase.getClass(), method);