Examples of JobSchedulingAssert


Examples of org.eclipse.egit.core.test.JobSchedulingAssert

    // Make sure the cache has at least be refreshed once, otherwise the
    // assertion at the end is not effective
    initIndexDiffCache(repository1.getRepository());

    JobSchedulingAssert jobSchedulingAssertion = JobSchedulingAssert
        .forFamily(JobFamilies.INDEX_DIFF_CACHE_UPDATE);
    deletePaths(Arrays.asList(path));

    assertFalse("File should have been deleted", outsideOfProject.exists());
    jobSchedulingAssertion
        .assertScheduled("Delete of file outside of workspace should have cause an index diff cache job.");
  }
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.