From: <jen...@us...> - 2011-12-07 15:08:10
|
Revision: 3481 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3481&view=rev Author: jenslehmann Date: 2011-12-07 15:07:59 +0000 (Wed, 07 Dec 2011) Log Message: ----------- commented out one unit test and moved some examples to test directory Modified Paths: -------------- trunk/components-core/src/test/java/org/dllearner/test/junit/ConfigOptionTest.java Added Paths: ----------- trunk/test/nlp2rdf/reuters_gold_vs_copper/ trunk/test/nlp2rdf/sample/ Removed Paths: ------------- trunk/examples/nlp2rdf/reuters_gold_vs_copper/ trunk/examples/nlp2rdf/sample/ Modified: trunk/components-core/src/test/java/org/dllearner/test/junit/ConfigOptionTest.java =================================================================== --- trunk/components-core/src/test/java/org/dllearner/test/junit/ConfigOptionTest.java 2011-12-06 17:08:59 UTC (rev 3480) +++ trunk/components-core/src/test/java/org/dllearner/test/junit/ConfigOptionTest.java 2011-12-07 15:07:59 UTC (rev 3481) @@ -38,21 +38,23 @@ @Test public void testConfigOption() { - List<ConfigOption> configOptions = ConfigHelper.getConfigOptions(CELOE.class); - assertFalse(configOptions.isEmpty()); + // now outdated, because property editors do not need to be specified for each option - CELOE celoe = new CELOE(); - celoe.setMaxExecutionTimeInSeconds(10); - Map<ConfigOption,Object> optionValues = ConfigHelper.getConfigOptionValues(celoe); - boolean found = false; - for(Entry<ConfigOption,Object> entry : optionValues.entrySet()) { - System.out.println(entry.getKey() + " " + entry.getValue()); - if(entry.getKey().name().equals("maxExecutionTimeInSeconds")) { - found = true; - assertTrue(Integer.valueOf(entry.getValue().toString())==10); - } - } - assertTrue(found); +// List<ConfigOption> configOptions = ConfigHelper.getConfigOptions(CELOE.class); +// assertFalse(configOptions.isEmpty()); +// +// CELOE celoe = new CELOE(); +// celoe.setMaxExecutionTimeInSeconds(10); +// Map<ConfigOption,Object> optionValues = ConfigHelper.getConfigOptionValues(celoe); +// boolean found = false; +// for(Entry<ConfigOption,Object> entry : optionValues.entrySet()) { +// System.out.println(entry.getKey() + " " + entry.getValue()); +// if(entry.getKey().name().equals("maxExecutionTimeInSeconds")) { +// found = true; +// assertTrue(Integer.valueOf(entry.getValue().toString())==10); +// } +// } +// assertTrue(found); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |