Mentions légales du service

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

- added extensions and pretty to basic samples

parent ee734029
No related branches found
No related tags found
No related merge requests found
......@@ -437,6 +437,8 @@
<delete>
<fileset dir="classes" includes="**/*.class"/>
<fileset dir="examples" includes="**/*.class"/>
<fileset dir="examples/rdf" includes="*.rdf" excludes="newsample.rdf"/>
<fileset dir="examples/rdf" includes="*.tex"/>
<fileset dir="examples/omwg" includes="wine?.xml"/>
<fileset dir="examples" includes="**/*.jar"/>
<fileset dir="html/tutorial" includes="**/*.class"/>
......
......@@ -3,13 +3,16 @@
xml:base='http://knowledgeweb.semanticweb.org/heterogeneity/alignment#'
xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
xmlns:xsd='http://www.w3.org/2001/XMLSchema#'
xmlns:kha='http://www.example.com/newTagnamespace#'
>
<Alignment>
<xml>yes</xml>
<level>0</level>
<type>**</type>
<time>7</time>
<pretty>SDNAlignment between onto1 and onto2</pretty>
<method>fr.inrialpes.exmo.align.impl.method.StringDistAlignment</method>
<kha:myTag>Testing extension tags in alignments</kha:myTag>
<onto1>
<Ontology rdf:about="http://www.example.org/ontology1">
<location>file:examples/rdf/onto1.owl</location>
......@@ -31,7 +34,9 @@
<entity1 rdf:resource='http://www.example.org/ontology1#reviewedarticle'/>
<entity2 rdf:resource='http://www.example.org/ontology2#journalarticle'/>
<relation>=</relation>
<kha:myCorrespondenceTag>Testing tags in correspondences</kha:myCorrespondenceTag>
<measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>0.4666666666666667</measure>
<!--invalidTag>This tag would be ignored</invalidTag-->
</Cell>
</map>
<map>
......
......@@ -120,7 +120,7 @@ $ java -cp lib/procalign.jar fr.inrialpes.exmo.align.util.ParserPrinter examples
result.render( renderer );
writer.flush();
writer.close();
assertTrue( ( 1729 <= stream.toString().length() ) && ( stream.toString().length() <= 1731 ), "Rendered differently: expected "+1730+" but was "+stream.toString().length() );
assertTrue( ( 2009 <= stream.toString().length() ) && ( stream.toString().length() <= 2011 ), "Rendered differently: expected "+2010+" but was "+stream.toString().length() );
}
@Test(groups = { "full", "impl", "raw" }, dependsOnMethods = {"routineTest3"})
......
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