Mentions légales du service

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

Updated test of GlossOverlap for compatibility with OntoSim/WordNet/...

parent 711f9089
No related branches found
No related tags found
No related merge requests found
......@@ -435,7 +435,7 @@
<!--copy file="${FTPDir}/align-${version}.zip" tofile="${WebDir}/align.zip" /-->
<echo message="Please upload the released file to Gforge" />
<echo message="mv ${tempdir}/align-${version}.zip ${FTPDir}/" />
<echo message="svn copy svn+ssh://euzenat@scm.gforge.inria.fr/svn/alignapi/trunk svn+ssh://euzenat@scm.gforge.inria.fr/svn/alignapi/tags/version-${version} -m 'release ${version}'"/>
<echo message="svn copy svn+ssh://scm.gforge.inria.fr/svn/alignapi/trunk svn+ssh://scm.gforge.inria.fr/svn/alignapi/tags/version-${version} -m 'release ${version}'"/>
<delete file="LICENSE.TXT"/>
</target>
......
/*
* $Id$
*
* Copyright (C) INRIA, 2008-2010, 2013-2014, 2017
* Copyright (C) INRIA, 2008-2010, 2013-2014, 2017, 2020
*
* 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
......@@ -167,7 +167,7 @@ $ java -jar lib/procalign.jar -Dwndict=$WNDIR file://$CWD/examples/rdf/edu.umbc.
assertEquals( alignment.nbCells(), 0 );
alignment.init( new URI("file:examples/rdf/edu.umbc.ebiquity.publication.owl"), new URI("file:examples/rdf/edu.mit.visus.bibtex.owl"));
alignment.align( (Alignment)null, params );
assertEquals( alignment.nbCells(), 32 );
assertEquals( alignment.nbCells(), 43 );
ByteArrayOutputStream stream = new ByteArrayOutputStream();
PrintWriter writer = new PrintWriter (
new BufferedWriter(
......@@ -176,7 +176,7 @@ $ java -jar lib/procalign.jar -Dwndict=$WNDIR file://$CWD/examples/rdf/edu.umbc.
alignment.render( renderer );
writer.flush();
writer.close();
assertEquals( stream.toString().length(), 11981, "Rendered differently" );
assertEquals( stream.toString().length(), 15709, "Rendered differently" );
alignment.cut( "hard", 0.4 );
assertEquals( alignment.nbCells(), 10 );
}
......
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