Package pellet

Examples of pellet.PelletClassify


  @Test
  public void classify() {
    runWithIgnore( new CLIMaker(){
      @Override
      protected PelletCmdApp create() {
        return new PelletClassify();
      }
    }, "test/data/misc/family.owl" );
  }
View Full Code Here


  @Test
  public void classifyWithPersist() {
    runWithIgnore( new CLIMaker(){
      @Override
      protected PelletCmdApp create() {
        return new PelletClassify();
      }
    }, "--persist", "test/data/misc/family.owl" );
   
    File file = new File("persisted-state-aga5g99yq71la6a89exp75qfu.zip");
   
    // check that persistence generated the proper file
    // the file name contains a hash code of the ontology's IRI
    assertTrue(file.exists());
   
    // run again (to test operation from a persisted state)
    runWithIgnore( new CLIMaker(){
      @Override
      protected PelletCmdApp create() {
        return new PelletClassify();
      }
    }, "--persist", "test/data/misc/family.owl" );
   
    file.delete();
  }
View Full Code Here

  @Test
  public void classify() {
    runWithIgnore( new CLIMaker(){
      @Override
      protected PelletCmdApp create() {
        return new PelletClassify();
      }
    }, "test/data/misc/family.owl" );
  }
View Full Code Here

  @Test
  public void classifyWithPersist() {
    runWithIgnore( new CLIMaker(){
      @Override
      protected PelletCmdApp create() {
        return new PelletClassify();
      }
    }, "--persist", "test/data/misc/family.owl" );
   
    File file = new File("persisted-state-aga5g99yq71la6a89exp75qfu.zip");
   
    // check that persistence generated the proper file
    // the file name contains a hash code of the ontology's IRI
    assertTrue(file.exists());
   
    // run again (to test operation from a persisted state)
    runWithIgnore( new CLIMaker(){
      @Override
      protected PelletCmdApp create() {
        return new PelletClassify();
      }
    }, "--persist", "test/data/misc/family.owl" );
   
    file.delete();
  }
View Full Code Here

TOP

Related Classes of pellet.PelletClassify

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.