Package org.gitective.core.filter.commit

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


   */
  @Test
  public void cloneFilter() {
    CommitListFilter filter = new CommitListFilter();
    assertTrue(filter.getCommits().isEmpty());
    RevFilter clone = filter.clone();
    assertNotNull(clone);
    assertNotSame(filter, clone);
    assertTrue(clone instanceof CommitListFilter);
    assertTrue(((CommitListFilter) clone).getCommits().isEmpty());
  }
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.