Ejemplo n.º 1
0
 @Test
 public void testNoMergePolicy() throws Exception {
   MergePolicy mp = NoMergePolicy.NO_COMPOUND_FILES;
   assertNull(mp.findMerges(null));
   // LUCENE-3577
   // assertNull(mp.findMergesToExpungeDeletes(null));
   assertFalse(mp.useCompoundFile(null, null));
   mp.close();
 }
 public void close() {
   inner.close();
 }