Mercurial > hg4j
diff test/org/tmatesoft/hg/test/TestDirstate.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 | df5009d67be2 |
children | e4a71afd3c71 |
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/TestDirstate.java Tue Feb 05 15:54:37 2013 +0100 +++ b/test/org/tmatesoft/hg/test/TestDirstate.java Tue Feb 05 16:36:58 2013 +0100 @@ -55,7 +55,7 @@ @Test public void testParentsEmptyRepo() throws Exception { // check contract return values for empty/nonexistent dirstate - repo = new HgLookup().detect(TestIncoming.initEmptyTempRepo("testParentsEmptyRepo")); + repo = new HgLookup().detect(RepoUtils.initEmptyTempRepo("testParentsEmptyRepo")); final Pair<Nodeid, Nodeid> wcParents = repo.getWorkingCopyParents(); Assert.assertTrue(wcParents.first().isNull()); Assert.assertTrue(wcParents.second().isNull());