Permalink
Browse files

[FIXED JENKINS-15848] Add configurable 'C' option for CVS update

  • Loading branch information...
1 parent 79bc7e9 commit 7366c494f97363aa06d425f63a1db0ab5eeb3fbb @mc1arke mc1arke committed Nov 16, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/test/java/hudson/scm/CVSSCMTest.java
@@ -114,16 +114,16 @@ public void testProjectExport() throws Exception {
public void testFlattenEnabled() {
List<CvsRepository> repositories = Arrays.asList(new CvsRepository("cvsroot", false, null,
Arrays.asList(new CvsRepositoryItem(new CvsRepositoryLocation.HeadRepositoryLocation(), new CvsModule[]{new CvsModule("remoteName", "localName")})), new ArrayList<ExcludedRegion>(), 3));
- CVSSCM scm = new CVSSCM(repositories, false, false, null, false, false, false, false);
+ CVSSCM scm = new CVSSCM(repositories, false, false, null, false, false, false, false, false);
assertFalse(scm.isLegacy());
- scm = new CVSSCM(repositories, false, true, null, false, false, false, false);
+ scm = new CVSSCM(repositories, false, true, null, false, false, false, false, false);
assertTrue(scm.isLegacy());
repositories = Arrays.asList(new CvsRepository("cvsroot", false, null,
Arrays.asList(new CvsRepositoryItem(new CvsRepositoryLocation.HeadRepositoryLocation(), new CvsModule[]{new CvsModule("remoteName", "localName"), new CvsModule("remoteName2", "localName2")})), new ArrayList<ExcludedRegion>(), 3));
- scm = new CVSSCM(repositories, false, false, null, false, false, false, false);
+ scm = new CVSSCM(repositories, false, false, null, false, false, false, false, false);
assertTrue(scm.isLegacy());
}

0 comments on commit 7366c49

Please sign in to comment.