diff test/org/tmatesoft/hg/test/TestByteChannel.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 12f668401613
children
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/TestByteChannel.java	Tue Feb 05 15:54:37 2013 +0100
+++ b/test/org/tmatesoft/hg/test/TestByteChannel.java	Tue Feb 05 16:36:58 2013 +0100
@@ -96,7 +96,7 @@
 
 	@Test
 	public void testWorkingCopyFileAccess() throws Exception {
-		final File repoDir = TestIncoming.initEmptyTempRepo("testWorkingCopyFileAccess");
+		final File repoDir = RepoUtils.initEmptyTempRepo("testWorkingCopyFileAccess");
 		final Map<String, ?> props = Collections.singletonMap(Internals.CFG_PROPERTY_REVLOG_STREAM_CACHE, false);
 		repo = new HgLookup(new BasicSessionContext(props, null)).detect(repoDir);
 		File f1 = new File(repoDir, "file1");