You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commonsrdf.apache.org by st...@apache.org on 2016/10/30 19:24:09 UTC
incubator-commonsrdf git commit: Removed SimpleNoRelativeIRIRDTest
Repository: incubator-commonsrdf
Updated Branches:
refs/heads/master c26e346be -> a83c371d3
Removed SimpleNoRelativeIRIRDTest
.. as AbstractRDFTest#testCreateIRIRelative() has
been removed
Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/a83c371d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/a83c371d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/a83c371d
Branch: refs/heads/master
Commit: a83c371d3a10e92652df31379058b93ebfe59710
Parents: c26e346
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Sun Oct 30 19:23:35 2016 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Sun Oct 30 19:23:35 2016 +0000
----------------------------------------------------------------------
.../rdf/simple/SimpleNoRelativeIRIRDTest.java | 45 --------------------
1 file changed, 45 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/a83c371d/simple/src/test/java/org/apache/commons/rdf/simple/SimpleNoRelativeIRIRDTest.java
----------------------------------------------------------------------
diff --git a/simple/src/test/java/org/apache/commons/rdf/simple/SimpleNoRelativeIRIRDTest.java b/simple/src/test/java/org/apache/commons/rdf/simple/SimpleNoRelativeIRIRDTest.java
deleted file mode 100644
index a1a59ed..0000000
--- a/simple/src/test/java/org/apache/commons/rdf/simple/SimpleNoRelativeIRIRDTest.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.commons.rdf.simple;
-
-import org.apache.commons.rdf.api.AbstractRDFTest;
-import org.apache.commons.rdf.api.IRI;
-import org.apache.commons.rdf.api.RDF;
-
-import java.net.URI;
-
-/**
- * Test simple IRI without relative IRI support.
- * <p>
- * Ensures that {@link AbstractRDFTest#testCreateIRIRelative()} is correctly
- * skipped (without causing an error).
- */
-public class SimpleNoRelativeIRIRDTest extends AbstractRDFTest {
- @Override
- public RDF createFactory() {
- return new SimpleRDF() {
- @Override
- public IRI createIRI(String iri) {
- if (!URI.create(iri).isAbsolute()) {
- throw new IllegalArgumentException("IRIs must be absolute");
- }
- return super.createIRI(iri);
- }
- };
- }
-}