Package org.gitective.core.filter.commit

Examples of org.gitective.core.filter.commit.CommitLineImpactFilter.clone()


   * Clone a {@link CommitLineImpactFilter}
   */
  @Test
  public void cloneFilter() {
    CommitLineImpactFilter filter = new CommitLineImpactFilter();
    RevFilter clone = filter.clone();
    assertNotNull(clone);
    assertTrue(clone instanceof CommitLineImpactFilter);
    assertNotSame(filter, clone);
    assertEquals(filter.getLimit(),
        ((CommitLineImpactFilter) clone).getLimit());
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.