git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11562 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-08-17 20:22:54 +00:00
1 parent e1e740cc27
commit 5c641b933d
1 file changed
+1 -1
@@ -143,7 +143,7 @@ public abstract class HudsonTestCase extends TestCase {
// look for recipe meta-annotation
Method runMethod= getClass().getMethod(getName());
for( final Annotation a : runMethod.getAnnotations() ) {
Recipe r = a.getClass().getAnnotation(Recipe.class);
Recipe r = a.annotationType().getAnnotation(Recipe.class);
if(r==null) continue;
final Runner runner = r.value().newInstance();
tearDowns.add(new LenientRunnable() {