Skip to content

Commit

Permalink
[JENKINS-10255] Touch up the tests I added for the changelog issues (…
Browse files Browse the repository at this point in the history
…which were applied as patches by willemv).
  • Loading branch information
davidmc24 committed Oct 16, 2011
1 parent cac841e commit d757d78
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/test/java/hudson/plugins/mercurial/MercurialSCMTest.java
Expand Up @@ -240,11 +240,9 @@ public void testMultipleProjectsForSingleSource() throws Exception {
assertTrue(pollSCMChanges(four));

assertFalse(pollSCMChanges(one));


}

/*
/**
* Control case for {@link #testChangelogOnClone()}.
*/
public void testChangelogOnUpdate() throws Exception {
Expand All @@ -263,7 +261,7 @@ public void testChangelogOnUpdate() throws Exception {
assertChangeSetPaths(Collections.singletonList(Collections.singleton("dir3/f1")), b);
}

/*
/**
* The change log should be based on comparison with the previous build,
* not depending on the state of the current local clone. If a workspace
* is wiped out, or the build is run on a new slave, it should still result
Expand All @@ -289,7 +287,7 @@ public void testChangelogOnClone() throws Exception {
assertChangeSetPaths(Collections.singletonList(Collections.singleton("dir3/f1")), b);
}

/*
/**
* The change log should be based on comparison with the previous build,
* not depending on the state of the current local clone. When there are
* multiple nodes in use, it's possible that there will be a local clone
Expand Down Expand Up @@ -339,7 +337,6 @@ public Proc onLaunch(Launcher.ProcStarter p) throws IOException {
return null;
}
}


/* XXX the following will pass, but canUpdate is not going to work without further changes:
public void testParameterizedBuildsSource() throws Exception {
Expand Down

0 comments on commit d757d78

Please sign in to comment.