public void test_historyIndexDisabled() throws SailException {
  final Properties properties=getProperties();
  properties.setProperty(com.bigdata.rdf.store.AbstractTripleStore.Options.HISTORY_SERVICE,"false");
  final BigdataSail sail=getSail(properties);
  try {
    sail.initialize();
    final BigdataSailConnection conn=sail.getConnection();
    try {
      final IIndex ndx=getHistoryIndex(conn.getTripleStore());
      assertNull(ndx);
      conn.rollback();
    }
  finally {
      conn.close();
    }
  }
  finally {
    sail.__tearDownUnitTest();
  }
}

public void test_historyIndexDisabled ( ) throws SailException { final Properties properties = getProperties ( ) ; properties . setProperty ( com . bigdata . rdf . store . AbstractTripleStore . Options . HISTORY_SERVICE , "false" ) ; final BigdataSail sail = getSail ( properties ) ; try { sail . initialize ( ) ; final BigdataSailConnection conn = sail . getConnection ( ) ; try { final IIndex ndx = getHistoryIndex ( conn . getTripleStore ( ) ) ; assertNull ( ndx ) ; conn . rollback ( ) ; } finally { conn . close ( ) ; } } finally { sail . __tearDownUnitTest ( ) ; } }
unit test verifies that the history index is not created if the option is not enabled .
