Mercurial > hg4j
diff test/org/tmatesoft/hg/test/TestOutgoing.java @ 215:41a778e3fd31
Issue 5: Facilities for progress and cancellation. More specific exceptions. Exceptions from callbacks as RuntimeException
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 17 May 2011 00:56:54 +0200 |
parents | 883f1efbcf27 |
children | 2813a26b8999 |
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/TestOutgoing.java Mon May 16 21:10:36 2011 +0200 +++ b/test/org/tmatesoft/hg/test/TestOutgoing.java Tue May 17 00:56:54 2011 +0200 @@ -66,7 +66,7 @@ HgLogCommand.CollectHandler collector = new HgLogCommand.CollectHandler(); // cmd.executeFull(collector); - List<Nodeid> liteResult = cmd.executeLite(null); + List<Nodeid> liteResult = cmd.executeLite(); eh.run("hg", "outgoing", "--debug", hgRemote.getLocation()); TestIncoming.report(collector, outParser, liteResult, errorCollector); // @@ -79,7 +79,7 @@ // cmd = new HgOutgoingCommand(lookup.detect(dest)).against(hgRemote); cmd.executeFull(collector = new HgLogCommand.CollectHandler()); - liteResult = cmd.executeLite(null); + liteResult = cmd.executeLite(); outParser.reset(); eh.run("hg", "outgoing", "--debug", hgRemote.getLocation()); TestIncoming.report(collector, outParser, liteResult, errorCollector);