Package org.gitective.core

Examples of org.gitective.core.CommitFinder.find()


    service.find();
    assertEquals(1, count.getCount());

    service.setFilter(new AndCommitFilter(new ChangeIdFilter().clone(),
        count));
    service.find();
    assertEquals(2, count.getCount());
  }

  /**
   * Test non-match
View Full Code Here


        "fixes a bug\nChange-Id: I12345abcde12345abxyz12345abcde12345abcde");

    CommitFinder service = new CommitFinder(testRepo);
    CommitCountFilter count = new CommitCountFilter();
    service.setFilter(new AndCommitFilter(new ChangeIdFilter(), count));
    service.find();
    assertEquals(0, count.getCount());
  }
}
View Full Code Here

                } else {
                    finder = finder.findInBranches();
                }

            } else {
                finder.find();
            }
        }
        List<RevCommit> commits = filter.getCommits();
        for (RevCommit entry : commits) {
            CommitInfo commitInfo = createCommitInfo(entry);
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.