mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
- Enables tests. - Builds with eant because of very complex test management. - Skips some tests which would otherwise neeed network access. - Disables jacoco coverage which would otherwise need network access. Bug: https://bugs.gentoo.org/916262 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/353 Merges: https://codeberg.org/gentoo/gentoo/pulls/353 Signed-off-by: Sam James <sam@gentoo.org>
48 lines
2.6 KiB
Diff
48 lines
2.6 KiB
Diff
<testcase classname="org.apache.ivy.plugins.resolver.BintrayResolverTest" name="testBintray" time="0.007">
|
|
<failure type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError
|
|
at org.apache.ivy.plugins.resolver.BintrayResolverTest.testBintray(BintrayResolverTest.java:145)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="org.apache.ivy.plugins.resolver.BintrayResolverTest" name="testBintrayArtifacts" time="0.004">
|
|
<failure type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError
|
|
at org.apache.ivy.plugins.resolver.BintrayResolverTest.testBintrayArtifacts(BintrayResolverTest.java:214)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
</failure>
|
|
</testcase>
|
|
|
|
diff --git a/test/java/org/apache/ivy/plugins/resolver/BintrayResolverTest.java b/test/java/org/apache/ivy/plugins/resolver/BintrayResolverTest.java
|
|
index 5a64a3f..892fd65 100644
|
|
--- a/test/java/org/apache/ivy/plugins/resolver/BintrayResolverTest.java
|
|
+++ b/test/java/org/apache/ivy/plugins/resolver/BintrayResolverTest.java
|
|
@@ -40,6 +40,7 @@ import org.apache.ivy.util.MockMessageLogger;
|
|
import org.junit.After;
|
|
import org.junit.Before;
|
|
import org.junit.Test;
|
|
+import org.junit.Ignore;
|
|
|
|
import static org.junit.Assert.assertEquals;
|
|
import static org.junit.Assert.assertNotNull;
|
|
@@ -134,7 +135,7 @@ public class BintrayResolverTest extends AbstractDependencyResolverTest {
|
|
assertEquals("TestName", resolver.getName());
|
|
}
|
|
|
|
- @Test
|
|
+ @Test @Ignore
|
|
public void testBintray() throws Exception {
|
|
BintrayResolver resolver = new BintrayResolver();
|
|
resolver.setSettings(settings);
|
|
@@ -196,7 +197,7 @@ public class BintrayResolverTest extends AbstractDependencyResolverTest {
|
|
.assertLogContains("tried https://dl.bintray.com/unknown/unknown/org/apache/commons-fileupload/1.0/commons-fileupload-1.0.jar");
|
|
}
|
|
|
|
- @Test
|
|
+ @Test @Ignore
|
|
public void testBintrayArtifacts() throws Exception {
|
|
BintrayResolver resolver = new BintrayResolver();
|
|
resolver.setName("test");
|