Skip to content
GitLab
Explore
Sign in
Register
Commits on Source
2
Ignoring two test cases that attempt to use network (Closes: #946306)
· db5fc5c6
Andrius Merkys
authored
Dec 09, 2019
db5fc5c6
Preparing for release.
· 06c29cf6
Andrius Merkys
authored
Dec 09, 2019
06c29cf6
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
06c29cf6
jsonld-java (0.13.0-2) unstable; urgency=medium
* Ignoring two test cases that attempt to use network (Closes: #946306)
-- Andrius Merkys <merkys@debian.org> Mon, 09 Dec 2019 02:18:28 -0500
jsonld-java (0.13.0-1) unstable; urgency=medium
* New upstream version 0.13.0
...
...
debian/patches/skip-network-tests.patch
View file @
06c29cf6
...
...
@@ -84,3 +84,27 @@ Author: Andrius Merkys <merkys@debian.org>
@Test
public void testApacheHttpClient() throws Exception {
final URL url = new URL("http://schema.org/");
--- a/core/src/test/java/com/github/jsonldjava/core/LocalBaseTest.java
+++ b/core/src/test/java/com/github/jsonldjava/core/LocalBaseTest.java
@@ -8,11 +8,13 @@
import java.io.Reader;
import java.nio.charset.Charset;
+import org.junit.Ignore;
import org.junit.Test;
import com.github.jsonldjava.utils.JsonUtils;
public class LocalBaseTest {
+ @Ignore("Requires network access")
@Test
public void testMixedLocalRemoteBaseRemoteContextFirst() throws Exception {
@@ -34,6 +36,7 @@
assertEquals(expanded, output);
}
+ @Ignore("Requires network access")
@Test
public void testMixedLocalRemoteBaseLocalContextFirst() throws Exception {