Package com.clarkparsia.pellint.test.lintpattern.ontology

Examples of com.clarkparsia.pellint.test.lintpattern.ontology.MockOntologyLintPattern


    LintPatternLoader loader = new LintPatternLoader(prop);
   
    assertEquals(1, loader.getOntologyLintPatterns().size());
    assertEquals(0, loader.getAxiomLintPatterns().size());
   
    MockOntologyLintPattern pattern = (MockOntologyLintPattern) loader.getOntologyLintPatterns().get(0);
    assertEquals(EXPECTED_INT_PARAM, pattern.getIntParam());
    assertEquals(EXPECTED_STRING_PARAM, pattern.getStringParam());
  }
View Full Code Here


   
    MockAxiomLintPattern axiomPattern = (MockAxiomLintPattern) loader.getAxiomLintPatterns().get(0);
    assertEquals(0, axiomPattern.getIntParam());
    assertNull(axiomPattern.getStringParam());
   
    MockOntologyLintPattern ontologyPattern = (MockOntologyLintPattern) loader.getOntologyLintPatterns().get(0);
    assertEquals(0, ontologyPattern.getIntParam());
    assertNull(ontologyPattern.getStringParam());
  }
View Full Code Here

TOP

Related Classes of com.clarkparsia.pellint.test.lintpattern.ontology.MockOntologyLintPattern

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.