Mercurial > hg4j
comparison test/org/tmatesoft/hg/test/TestFileFlags.java @ 608:e1b29756f901
Clean, organize and resolve some TODOs and FIXMEs: minor refactorings and comments
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 07 May 2013 21:27:51 +0200 |
parents | b3c16d1aede0 |
children | 6526d8adbc0f |
comparison
equal
deleted
inserted
replaced
607:66f1cc23b906 | 608:e1b29756f901 |
---|---|
63 | 63 |
64 @Test | 64 @Test |
65 public void testFlagsInWorkingCopy() throws Exception { | 65 public void testFlagsInWorkingCopy() throws Exception { |
66 File repoRoot = repo.getWorkingDir(); | 66 File repoRoot = repo.getWorkingDir(); |
67 Path.Source pathSrc = new Path.SimpleSource(new PathRewrite.Composite(new RelativePathRewrite(repoRoot), repo.getToRepoPathHelper())); | 67 Path.Source pathSrc = new Path.SimpleSource(new PathRewrite.Composite(new RelativePathRewrite(repoRoot), repo.getToRepoPathHelper())); |
68 FileWalker fw = new FileWalker(repo.getSessionContext(), repoRoot, pathSrc); | 68 FileWalker fw = new FileWalker(repo, repoRoot, pathSrc, null); |
69 | 69 |
70 if (Internals.runningOnWindows()) { | 70 if (Internals.runningOnWindows()) { |
71 System.out.println("Executing tests on Windows, no actual file flags in working area are checked"); | 71 System.out.println("Executing tests on Windows, no actual file flags in working area are checked"); |
72 assertFalse(fw.supportsExecFlag()); | 72 assertFalse(fw.supportsExecFlag()); |
73 assertFalse(fw.supportsLinkFlag()); | 73 assertFalse(fw.supportsLinkFlag()); |