comparison 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
comparison
equal deleted inserted replaced
202:706bcc7cfee4 203:66fd2c73c56f
31 * @author TMate Software Ltd. 31 * @author TMate Software Ltd.
32 */ 32 */
33 public class ExecHelper { 33 public class ExecHelper {
34 34
35 private final OutputParser parser; 35 private final OutputParser parser;
36 private final File dir; 36 private File dir;
37 private int exitValue; 37 private int exitValue;
38 38
39 public ExecHelper(OutputParser outParser, File workingDir) { 39 public ExecHelper(OutputParser outParser, File workingDir) {
40 parser = outParser; 40 parser = outParser;
41 dir = workingDir; 41 dir = workingDir;
92 } 92 }
93 93
94 public int getExitValue() { 94 public int getExitValue() {
95 return exitValue; 95 return exitValue;
96 } 96 }
97
98 public void cwd(File wd) {
99 dir = wd;
100 }
97 } 101 }