public void test_ctor_2() throws SailException {
  final File file=new File(getName() + Options.JNL);
  if (file.exists()) {
    if (!file.delete()) {
      fail("Could not delete file before test: " + file);
    }
  }
  final Properties properties=new Properties();
  properties.setProperty(Options.FILE,file.toString());
  final BigdataSail sail=new BigdataSail(properties);
  try {
    sail.initialize();
    sail.shutDown();
  }
  finally {
    if (!file.exists()) {
      fail("Could not locate store: " + file);
      if (!file.delete()) {
        fail("Could not delete file after test: " + file);
      }
    }
  }
}

public void test_ctor_2 ( ) throws SailException { final File file = new File ( getName ( ) + Options . JNL ) ; if ( file . exists ( ) ) { if ( ! file . delete ( ) ) { fail ( "Could not delete file before test: " + file ) ; } } final Properties properties = new Properties ( ) ; properties . setProperty ( Options . FILE , file . toString ( ) ) ; final BigdataSail sail = new BigdataSail ( properties ) ; try { sail . initialize ( ) ; sail . shutDown ( ) ; } finally { if ( ! file . exists ( ) ) { fail ( "Could not locate store: " + file ) ; if ( ! file . delete ( ) ) { fail ( "Could not delete file after test: " + file ) ; } } } }
test create and shutdown of a named store .
