Originally created by: devel.da...@vcruz.net
Originally owned by: devel.da...@vcruz.net
The test pt.arquivo.spellchecker.tests.TestSpellChecker has hardcoded references to data files that aren't available in the project resources.
{{{
<code language="java">
private String termsFileDataset1Train="/home/nutchwax/workspace/ArquivoWebSpellchecker/data/erros_pt.txt.JOAO.train";
private String termsFileDataset1Test="/home/nutchwax/workspace/ArquivoWebSpellchecker/data/erros_pt.txt.JOAO.test";
...
}}}
The resources hardcoded should be added the a standard resource folder: {spellchecker.project.home}/src/test/resources/
And the test rewrote to load the resource in a location-independent fashion as such:
{{{
<code language="java">
InputStream in = getClass().getResourceAsStream("/example-data-file.txt");
}}}
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: devel.da...@vcruz.net
(No comment was entered for this change.)
Blocking: 26