Emmanuel Bourg pushed to branch master at Debian Java Maintainers / jsonld-java
Commits: 98aafb48 by Emmanuel Bourg at 2020-11-27T13:23:07+01:00 Disabled more tests that require network access - - - - - 2 changed files: - debian/changelog - debian/patches/skip-network-tests.patch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +jsonld-java (0.13.2-2) unstable; urgency=medium + + * Team upload. + * Disabled more tests that require network access + + -- Emmanuel Bourg <[email protected]> Fri, 27 Nov 2020 13:19:56 +0100 + jsonld-java (0.13.2-1) unstable; urgency=medium * New upstream version 0.13.2 ===================================== debian/patches/skip-network-tests.patch ===================================== @@ -124,3 +124,51 @@ Author: Andrius Merkys <[email protected]> @Test public void testMixedLocalRemoteBaseLocalContextFirst() throws Exception { +--- a/core/src/test/java/com/github/jsonldjava/core/ContextFlatteningTest.java ++++ b/core/src/test/java/com/github/jsonldjava/core/ContextFlatteningTest.java +@@ -9,11 +9,13 @@ + import java.util.Map; + + import com.github.jsonldjava.utils.JsonUtils; ++import org.junit.Ignore; + import org.junit.Test; + + public class ContextFlatteningTest { + + @Test ++ @Ignore("Requires network access") + public void testFlatenning() throws Exception { + + final Map<String, Object> contextAbbrevs = new HashMap<>(); +@@ -46,6 +48,7 @@ + } + + @Test ++ @Ignore("Requires network access") + public void testFlatteningRemoteContext() throws Exception { + final String jsonString = + "{\"@context\": {\"@vocab\": \"http://schema.org/\"}, \"knows\": [{\"name\": \"a\"}, {\"name\": \"b\"}] }"; +--- a/core/src/test/java/com/github/jsonldjava/core/ContextFramingTest.java ++++ b/core/src/test/java/com/github/jsonldjava/core/ContextFramingTest.java +@@ -9,11 +9,13 @@ + import java.util.Map; + + import com.github.jsonldjava.utils.JsonUtils; ++import org.junit.Ignore; + import org.junit.Test; + + public class ContextFramingTest { + + @Test ++ @Ignore("Requires network access") + public void testFraming() throws Exception { + + final Map<String, Object> contextAbbrevs = new HashMap<>(); +@@ -46,6 +48,7 @@ + } + + @Test ++ @Ignore("Requires network access") + public void testFramingRemoteContext() throws Exception { + final String jsonString = "{\"@id\": \"http://schema.org/myid\", \"@type\": [\"http://schema.org/Person\"]}"; + final String frameStr = "{\"@id\": \"http://schema.org/myid\", \"@context\": \"http://schema.org/\"}"; View it on GitLab: https://salsa.debian.org/java-team/jsonld-java/-/commit/98aafb485caed1b79e78f38d9c1b1f97b6c6a754 -- View it on GitLab: https://salsa.debian.org/java-team/jsonld-java/-/commit/98aafb485caed1b79e78f38d9c1b1f97b6c6a754 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

