Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7d219f57 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- implemented the disparition of OntologyCache

parent 8669ed99
No related branches found
No related tags found
No related merge requests found
/* /*
* $Id$ * $Id$
* *
* Copyright (C) INRIA Rhne-Alpes, 2008 * Copyright (C) INRIA, 2008
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by * it under the terms of the GNU Lesser General Public License as published by
...@@ -41,7 +41,6 @@ import fr.inrialpes.exmo.align.impl.rel.EquivRelation; ...@@ -41,7 +41,6 @@ import fr.inrialpes.exmo.align.impl.rel.EquivRelation;
import fr.inrialpes.exmo.align.impl.URIAlignment; import fr.inrialpes.exmo.align.impl.URIAlignment;
import fr.inrialpes.exmo.align.impl.Annotations; import fr.inrialpes.exmo.align.impl.Annotations;
import fr.inrialpes.exmo.align.impl.renderer.RDFRendererVisitor; import fr.inrialpes.exmo.align.impl.renderer.RDFRendererVisitor;
import fr.inrialpes.exmo.align.onto.OntologyCache;
import fr.inrialpes.exmo.align.onto.LoadedOntology; import fr.inrialpes.exmo.align.onto.LoadedOntology;
import fr.inrialpes.exmo.align.onto.Ontology; import fr.inrialpes.exmo.align.onto.Ontology;
import fr.inrialpes.exmo.align.parser.AlignmentParser; import fr.inrialpes.exmo.align.parser.AlignmentParser;
...@@ -74,7 +73,7 @@ public class OWLAPIAlignmentTest { ...@@ -74,7 +73,7 @@ public class OWLAPIAlignmentTest {
assertNotNull( aparser, "AlignmentParser was null" ); assertNotNull( aparser, "AlignmentParser was null" );
URIAlignment result = (URIAlignment)aparser.parse( "file:examples/rdf/newsample.rdf" ); URIAlignment result = (URIAlignment)aparser.parse( "file:examples/rdf/newsample.rdf" );
assertNotNull( result, "URIAlignment(result) was null" ); assertNotNull( result, "URIAlignment(result) was null" );
alignment = OWLAPIAlignment.toOWLAPIAlignment( result, (OntologyCache)null ); alignment = OWLAPIAlignment.toOWLAPIAlignment( result );
assertNotNull( alignment, "toOWLAPIAlignment(result) was null" ); assertNotNull( alignment, "toOWLAPIAlignment(result) was null" );
result = alignment.toURIAlignment(); result = alignment.toURIAlignment();
assertNotNull( result, "toURIAlignment() was null" ); assertNotNull( result, "toURIAlignment() was null" );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment