@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();
}