Mercurial > hg4j
diff test/org/tmatesoft/hg/test/TestAddRemove.java @ 536:2813a26b8999
Tests: refactor various utility methods to a single location
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 05 Feb 2013 16:36:58 +0100 |
parents | 95bdcf75e71e |
children | 6ca3d0c5b4bc |
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/TestAddRemove.java Tue Feb 05 15:54:37 2013 +0100 +++ b/test/org/tmatesoft/hg/test/TestAddRemove.java Tue Feb 05 16:36:58 2013 +0100 @@ -47,7 +47,7 @@ @Test public void testScheduleAddition() throws Exception { - File testRepoLoc = TestRevert.cloneRepoToTempLocation("log-1", "test-addremove-1", false); + File testRepoLoc = RepoUtils.cloneRepoToTempLocation("log-1", "test-addremove-1", false); repo = new HgLookup().detect(testRepoLoc); StatusOutputParser statusParser = new StatusOutputParser(); @@ -72,7 +72,7 @@ @Test public void testScheduleRemoval() throws Exception { - File testRepoLoc = TestRevert.cloneRepoToTempLocation("log-1", "test-addremove-2", false); + File testRepoLoc = RepoUtils.cloneRepoToTempLocation("log-1", "test-addremove-2", false); repo = new HgLookup().detect(testRepoLoc); StatusOutputParser statusParser = new StatusOutputParser();