IDEA-96084 (refresh VFS tree before copying)

This commit is contained in:
Roman Shevchenko
2012-11-28 21:43:43 +01:00
parent 9e14e3ef89
commit 668b60f889
2 changed files with 846 additions and 830 deletions
File diff suppressed because it is too large Load Diff
@@ -118,6 +118,8 @@ public class LightTempDirTestFixtureImpl extends BaseFixture implements TempDirT
final VirtualFile from = LocalFileSystem.getInstance().refreshAndFindFileByPath(dataDir);
assert from != null: "Cannot find testdata directory " + dataDir;
try {
refreshRecursively(from);
VirtualFile tempDir = getSourceRoot();
if (targetDir.length() > 0) {
tempDir = findOrCreateChildDir(tempDir, targetDir);