Package org.gitective.core.filter.commit

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


    new CommitFinder(testRepo).setFilter(filter).find();
    assertEquals(4, filter.getLength());
    assertNotNull(filter.getCommits());
    assertEquals(1, filter.getCommits().size());
    assertEquals(longest, filter.iterator().next());
    filter.reset();
    assertEquals(-1, filter.getLength());
    assertNotNull(filter.getCommits());
    assertTrue(filter.getCommits().isEmpty());
    assertFalse(filter.iterator().hasNext());
  }
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.