You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by co...@apache.org on 2011/02/17 16:13:11 UTC

svn commit: r1071638 - /incubator/stanbol/trunk/kres/eu.iksproject.kres.semion.refactorer/src/test/java/eu/iksproject/kres/semion/refactorer/SemionRefactoringTest.java

Author: concelvio
Date: Thu Feb 17 15:13:11 2011
New Revision: 1071638

URL: http://svn.apache.org/viewvc?rev=1071638&view=rev
Log:
STANBOL-99
1) Corrected a mistake in calling test ontology.
Issue #STANBOL-99 - KReS Semion Refactorer Test Fails

Modified:
    incubator/stanbol/trunk/kres/eu.iksproject.kres.semion.refactorer/src/test/java/eu/iksproject/kres/semion/refactorer/SemionRefactoringTest.java

Modified: incubator/stanbol/trunk/kres/eu.iksproject.kres.semion.refactorer/src/test/java/eu/iksproject/kres/semion/refactorer/SemionRefactoringTest.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/kres/eu.iksproject.kres.semion.refactorer/src/test/java/eu/iksproject/kres/semion/refactorer/SemionRefactoringTest.java?rev=1071638&r1=1071637&r2=1071638&view=diff
==============================================================================
--- incubator/stanbol/trunk/kres/eu.iksproject.kres.semion.refactorer/src/test/java/eu/iksproject/kres/semion/refactorer/SemionRefactoringTest.java (original)
+++ incubator/stanbol/trunk/kres/eu.iksproject.kres.semion.refactorer/src/test/java/eu/iksproject/kres/semion/refactorer/SemionRefactoringTest.java Thu Feb 17 15:13:11 2011
@@ -131,7 +131,7 @@ public class SemionRefactoringTest {
 											+ "hasRule"));
 							Set<OWLIndividual> rules = recipeIndividual
 									.getObjectPropertyValues(objectProperty,
-											ontology);
+											recipeModel);
 							
 							String kReSRulesInKReSSyntax = "";
 							
@@ -146,7 +146,7 @@ public class SemionRefactoringTest {
 								 
 								Set<OWLLiteral> kReSRuleLiterals = rule
 										.getDataPropertyValues(hasBodyAndHead,
-												ontology);
+												recipeModel);
 								
 								for(OWLLiteral kReSRuleLiteral : kReSRuleLiterals){
 									String ruleTmp = kReSRuleLiteral