Use @Ignore rather than Assume

Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/d0501ac0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/d0501ac0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/d0501ac0

Branch: refs/heads/master
Commit: d0501ac0b99a060d8dc11d5a1d9206e4dceec82e
Parents: de6842f
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Fri Oct 28 11:21:21 2016 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Fri Oct 28 11:21:21 2016 +0100

----------------------------------------------------------------------
 .../org/apache/commons/rdf/jsonldjava/JsonLdRDFTest.java     | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/d0501ac0/jsonld-java/src/test/java/org/apache/commons/rdf/jsonldjava/JsonLdRDFTest.java
----------------------------------------------------------------------
diff --git 
a/jsonld-java/src/test/java/org/apache/commons/rdf/jsonldjava/JsonLdRDFTest.java
 
b/jsonld-java/src/test/java/org/apache/commons/rdf/jsonldjava/JsonLdRDFTest.java
index 14099e8..99c0771 100644
--- 
a/jsonld-java/src/test/java/org/apache/commons/rdf/jsonldjava/JsonLdRDFTest.java
+++ 
b/jsonld-java/src/test/java/org/apache/commons/rdf/jsonldjava/JsonLdRDFTest.java
@@ -19,7 +19,6 @@ package org.apache.commons.rdf.jsonldjava;
 
 import org.apache.commons.rdf.api.AbstractRDFTest;
 import org.apache.commons.rdf.api.RDF;
-import org.junit.Assume;
 import org.junit.Ignore;
 import org.junit.Test;
 
@@ -31,22 +30,21 @@ public class JsonLdRDFTest extends AbstractRDFTest {
        }
        
        // TODO: Add support for checking for invalid lang/iri/blanknode IDs
-       
+       @Ignore("JSONLD-Java does not validate lang strings")
        @Test
        @Override
        public void testInvalidLiteralLang() throws Exception {
-               Assume.assumeFalse("JSONLD-Java does not validate lang 
strings", false);                
                super.testInvalidLiteralLang();
        }
        
+       @Ignore("JSONLD-Java does not validate IRIs")
        @Test
        @Override
        public void testInvalidIRI() throws Exception {
-               Assume.assumeFalse("JSONLD-Java does not validate IRIs", false);
                super.testInvalidIRI();
        }
        
-       @Ignore
+       @Ignore("JSONLD-Java does not validate blanknode identifiers")
        @Test
        @Override
        public void testPossiblyInvalidBlankNode() throws Exception {

Reply via email to