Mercurial > hg4j
diff test/org/tmatesoft/hg/test/ExecHelper.java @ 203:66fd2c73c56f
Basic test for HgOutgoingCommand. Handle cases with no outgoing changes in RepositoryComparator
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 26 Apr 2011 15:52:33 +0200 |
parents | a736f42ed75b |
children | b015f3918120 |
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/ExecHelper.java Tue Apr 26 02:50:06 2011 +0200 +++ b/test/org/tmatesoft/hg/test/ExecHelper.java Tue Apr 26 15:52:33 2011 +0200 @@ -33,7 +33,7 @@ public class ExecHelper { private final OutputParser parser; - private final File dir; + private File dir; private int exitValue; public ExecHelper(OutputParser outParser, File workingDir) { @@ -94,4 +94,8 @@ public int getExitValue() { return exitValue; } + + public void cwd(File wd) { + dir = wd; + } }