public void test_emptyJournal() throws IOException, InterruptedException, ExecutionException {
  final File out=File.createTempFile(getName(),Options.JNL);
  try {
    final Journal src=getStore(getProperties());
    try {
      final Future<Map<String,BaseIndexStats>> f=src.warmUp(null);
      final Map<String,BaseIndexStats> map=f.get();
      assertEquals(0,map.size());
    }
  finally {
      src.destroy();
    }
  }
  finally {
    out.delete();
  }
}

public void test_emptyJournal ( ) throws IOException , InterruptedException , ExecutionException { final File out = File . createTempFile ( getName ( ) , Options . JNL ) ; try { final Journal src = getStore ( getProperties ( ) ) ; try { final Future < Map < String , BaseIndexStats > > f = src . warmUp ( null ) ; final Map < String , BaseIndexStats > map = f . get ( ) ; assertEquals ( 0 , map . size ( ) ) ; } finally { src . destroy ( ) ; } } finally { out . delete ( ) ; } }
verify operation ok when nothing has been written on the journal .
