diff options
-rw-r--r-- | org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/AllFactoriesHttpTestCase.java | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/AllFactoriesHttpTestCase.java b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/AllFactoriesHttpTestCase.java index 266194f654..cb30b3f7b7 100644 --- a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/AllFactoriesHttpTestCase.java +++ b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/AllFactoriesHttpTestCase.java @@ -64,12 +64,20 @@ import org.junit.runners.Parameterized.Parameters; @RunWith(Parameterized.class) public abstract class AllFactoriesHttpTestCase extends HttpTestCase { - @Parameters + @Parameters(name = "{0}") public static Collection<Object[]> data() { // run all tests with both connection factories we have - return Arrays - .asList(new Object[][] { { new JDKHttpConnectionFactory() }, - { new HttpClientConnectionFactory() } }); + return Arrays.asList(new Object[][] { { new JDKHttpConnectionFactory() { + @Override + public String toString() { + return this.getClass().getSuperclass().getName(); + } + } }, { new HttpClientConnectionFactory() { + @Override + public String toString() { + return this.getClass().getSuperclass().getName(); + } + } } }); } protected AllFactoriesHttpTestCase(HttpConnectionFactory cf) { |