Skip to content

Commit

Permalink
modified test
Browse files Browse the repository at this point in the history
  • Loading branch information
litvinovg committed Jan 17, 2025
1 parent 53ca1d8 commit f22a58c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package edu.cornell.mannlib.vitro.webapp.tboxreasoner.impl.jfact;

import static org.junit.Assert.assertTrue;

import java.io.StringReader;

import org.apache.jena.ontology.OntModel;
Expand Down Expand Up @@ -34,7 +36,8 @@ public class JFactTBoxReasonerTest {
" \r\n" +
" rdfs:subClassOf [ rdf:type owl:Class ;\r\n" +
" owl:intersectionOf ( <http://vivo.mydomain.edu/individual/class_a>\r\n" +
" <http://vivo.mydomain.edu/individual/class_b>\r\n" +
" <http://vivo.mydomain.edu/individual/class_b>\r\n" +
" <http://vivo.mydomain.edu/individual/class_c>\r\n" +
" )\r\n" +
" ] .\r\n" +
"\r\n" +
Expand Down Expand Up @@ -92,6 +95,7 @@ public void testRemoveAxiomsWithBlankNodes() {
JenaModelUtils.removeWithBlankNodesAsVariables(subtractions, tboxAssertions.getBaseModel());
tboxAssertions.getBaseModel().notifyEvent(new EditEvent(null, false));
waitForTBoxReasoning(driver);
assertTrue(tboxAssertions.getBaseModel().isEmpty());
// Confirm that no statements related to classes a, b or c remain in the
// TBox union model. (The inference model may not be completely empty, because
// the reasoner may supply unrelated triples related to OWL and RDFS vocabulary.)
Expand Down

0 comments on commit f22a58c

Please sign in to comment.