Examples of RevisionCountComparator


Examples of org.gitective.core.stat.RevisionCountComparator

    CommitFinder finder = new CommitFinder(testRepo);
    finder.setFilter(filter).find();
    FileHistogram histogram = filter.getHistogram();
    assertNotNull(histogram);
    FileCommitActivity[] files = histogram
        .getFileActivity(new RevisionCountComparator());
    assertNotNull(files);
    assertEquals(4, files.length);
    assertEquals("file1.txt", files[0].getPath());
    assertEquals("file3.txt", files[1].getPath());
    assertEquals("file2.txt", files[2].getPath());
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.