Package org.gitective.core.filter.commit

Examples of org.gitective.core.filter.commit.CommitFileImpactFilter.reset()


    CommitFinder finder = new CommitFinder(testRepo).setFilter(filter);
    finder.find();
    assertEquals(1, filter.getCommits().size());
    assertEquals(commit1, filter.getCommits().first().getCommit());
    assertEquals(1, filter.getCommits().first().getAdd());
    filter.reset();
    assertTrue(filter.getCommits().isEmpty());
    RevCommit commit2 = add(testRepo,
        Arrays.asList("test2.txt", "test3.txt"),
        Arrays.asList("content2", "content3"), "second commit");
    add("test1.txt", "new content");
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.