Debian Codegraph @

FaCT++.Java/src/test/java/bugs/VerifyComplianceHostTestCase.java

raw symbols SCIP
1 package bugs;
2
3 import org.junit.Test;
4 import org.semanticweb.owlapi.model.OWLClass;
5
6 @SuppressWarnings("javadoc")
7 public class VerifyComplianceHostTestCase extends VerifyComplianceBase {
8
9 @Override
10 protected String input() {
11 return "/host.owl";
12 }
13
14 @Test
15 public void shouldPassgetSubClassesDbXreftrue() {
16 OWLClass Nothing = C("http://www.w3.org/2002/07/owl#Nothing");
17 OWLClass DbXref = C("http://www.geneontology.org/formats/oboInOwl#DbXref");
18 // expected Nothing
19 // actual__ DbXref, true
20 equal(reasoner.getSubClasses(DbXref, true), Nothing);
21 }
22
23 @Test
24 public void shouldPassgetSubClassesSynonymtrue() {
25 OWLClass Nothing = C("http://www.w3.org/2002/07/owl#Nothing");
26 OWLClass Synonym = C("http://www.geneontology.org/formats/oboInOwl#Synonym");
27 // expected Nothing
28 // actual__ Synonym, true
29 equal(reasoner.getSubClasses(Synonym, true), Nothing);
30 }
31
32 @Test
33 public void shouldPassgetSubClassesDefinitiontrue() {
34 OWLClass Nothing = C("http://www.w3.org/2002/07/owl#Nothing");
35 OWLClass Definition = C("http://www.geneontology.org/formats/oboInOwl#Definition");
36 // expected Nothing
37 // actual__ Definition, true
38 equal(reasoner.getSubClasses(Definition, true), Nothing);
39 }
40 }