From e86ac0805a9b7fb73bf9dec1db094e9b7fcb29a5 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Fri, 15 Aug 2008 23:07:51 +0000 Subject: [PATCH] I've been using JUnit for so long, but didn't realize until now that TestSuite sets the test name via the direct invocation of the setName(). git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11517 71c3de6d-444a-0410-be80-ed276b4c234a --- test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java b/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java index 581bbbbd7e..a6cd6b7c24 100644 --- a/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java +++ b/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java @@ -54,6 +54,9 @@ public abstract class HudsonTestCase extends TestCase { super(name); } + protected HudsonTestCase() { + } + protected void setUp() throws Exception { env.pin(); recipe();