Description: Ignoring tests that require network access.
Author: Andrius Merkys <merkys@debian.org>
--- a/core/src/test/java/com/github/jsonldjava/core/ContextCompactionTest.java
+++ b/core/src/test/java/com/github/jsonldjava/core/ContextCompactionTest.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 ContextCompactionTest {
 
+    @Ignore("Requires network access")
     @Test
     public void testCompaction() {
 
@@ -44,6 +46,7 @@
                 compacted.get("@context") instanceof List);
     }
 
+    @Ignore("Requires network access")
     @Test
     public void testCompactionSingleRemoteContext() throws Exception {
         final String jsonString = "[{\"@type\": [\"http://schema.org/Person\"] } ]";
--- a/core/src/test/java/com/github/jsonldjava/core/DocumentLoaderTest.java
+++ b/core/src/test/java/com/github/jsonldjava/core/DocumentLoaderTest.java
@@ -105,6 +105,7 @@
     }
 
     // @Ignore("Integration test")
+    @Ignore("Requires network access")
     @Test
     public void fromURLredirectHTTPSToHTTP() throws Exception {
         final URL url = new URL("https://w3id.org/bundle/context");
@@ -117,6 +118,7 @@
     }
 
     // @Ignore("Integration test")
+    @Ignore("Requires network access")
     @Test
     public void fromURLredirect() throws Exception {
         final URL url = new URL("http://purl.org/wf4ever/ro-bundle/context.json");
@@ -126,6 +128,7 @@
     }
 
     // @Ignore("Integration test")
+    @Ignore("Requires network access")
     @Test
     public void loadDocumentWf4ever() throws Exception {
         final RemoteDocument document = documentLoader
@@ -152,6 +155,7 @@
         assertFalse(((Map<?, ?>) context).isEmpty());
     }
 
+    @Ignore("Requires network access")
     @Test
     public void loadDocumentSchemaOrg() throws Exception {
         final RemoteDocument document = documentLoader.loadDocument("http://schema.org/");
@@ -160,6 +164,7 @@
         assertFalse(((Map<?, ?>) context).isEmpty());
     }
 
+    @Ignore("Requires network access")
     @Test
     public void loadDocumentSchemaOrgDirect() throws Exception {
         final RemoteDocument document = documentLoader
@@ -353,6 +358,7 @@
         }
     }
 
+    @Ignore("Requires network access")
     @Test
     public void testDisallowRemoteContexts() throws Exception {
         final String testUrl = "http://json-ld.org/contexts/person.jsonld";
@@ -418,6 +424,7 @@
         assertEquals(5, v);
     }
 
+    @Ignore("Requires network access")
     @Test
     public void testRemoteContextCaching() throws Exception {
         final String[] urls = { "http://schema.org/", "http://schema.org/docs/jsonldcontext.json" };
--- a/core/src/test/java/com/github/jsonldjava/core/MinimalSchemaOrgRegressionTest.java
+++ b/core/src/test/java/com/github/jsonldjava/core/MinimalSchemaOrgRegressionTest.java
@@ -15,6 +15,7 @@
 import org.apache.http.impl.client.cache.BasicHttpCacheStorage;
 import org.apache.http.impl.client.cache.CacheConfig;
 import org.apache.http.impl.client.cache.CachingHttpClientBuilder;
+import org.junit.Ignore;
 import org.junit.Test;
 
 public class MinimalSchemaOrgRegressionTest {
@@ -23,6 +24,7 @@
      * Tests getting JSON from schema.org with the HTTP Accept header set to
      * {@value com.github.jsonldjava.utils.JsonUtils#ACCEPT_HEADER}? .
      */
+    @Ignore("Requires network access")
     @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
@@ -10,11 +10,13 @@
 import java.nio.charset.Charset;
 import java.util.List;
 
+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 {
 
@@ -36,6 +38,7 @@
         assertEquals(expanded, output);
     }
 
+    @Ignore("Requires network access")
     @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/\"}";
