Package com.google.enterprise.connector.util.diffing

Examples of com.google.enterprise.connector.util.diffing.CheckpointAndChangeQueue.clean()


    q.start(null);
    assertTrue(persistDir.exists());
    assertTrue(1 >= persistDir.listFiles().length);

    // A call to clean() should delete the persistDir and all its files.
    q.clean();
    assertFalse(persistDir.exists());
    assertNull(persistDir.listFiles());

    // A subsequent call to clean() should not throw NullPointerException.
    q.clean();
View Full Code Here


    q.clean();
    assertFalse(persistDir.exists());
    assertNull(persistDir.listFiles());

    // A subsequent call to clean() should not throw NullPointerException.
    q.clean();
    assertFalse(persistDir.exists());
    assertNull(persistDir.listFiles());

    // Recreate persistDir for the benefit of tearDown().
    q.ensurePersistDirExists();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.