Browse Source

bazel: fix running http tests

Other than Maven bazel seems unable to cope with abstract
AllFactoriesHttpTestCase having no test methods, hence tag this class
with @Ignore.

Change-Id: I9dfe43f882ad073b284648e24844b51877d87776
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-5.5
Matthias Sohn 5 years ago
parent
commit
83a07246c1
  1. 2
      org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/AllFactoriesHttpTestCase.java

2
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/AllFactoriesHttpTestCase.java

@ -52,6 +52,7 @@ import org.eclipse.jgit.transport.http.JDKHttpConnectionFactory;
import org.eclipse.jgit.transport.http.apache.HttpClientConnectionFactory; import org.eclipse.jgit.transport.http.apache.HttpClientConnectionFactory;
import org.junit.AfterClass; import org.junit.AfterClass;
import org.junit.BeforeClass; import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.junit.runners.Parameterized; import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters; import org.junit.runners.Parameterized.Parameters;
@ -61,6 +62,7 @@ import org.junit.runners.Parameterized.Parameters;
* factories provided in JGit: the JDK {@link JDKHttpConnectionFactory} and the * factories provided in JGit: the JDK {@link JDKHttpConnectionFactory} and the
* Apache HTTP {@link HttpClientConnectionFactory}. * Apache HTTP {@link HttpClientConnectionFactory}.
*/ */
@Ignore
@RunWith(Parameterized.class) @RunWith(Parameterized.class)
public abstract class AllFactoriesHttpTestCase extends HttpTestCase { public abstract class AllFactoriesHttpTestCase extends HttpTestCase {

Loading…
Cancel
Save