Application.assertWriteAccess does really assert in tests,

tests now run in EDT
This commit is contained in:
Alexey Kudravtsev
2010-10-25 15:04:08 +04:00
parent 90309a30a8
commit 221d0c527e
132 changed files with 2727 additions and 1766 deletions
@@ -97,7 +97,9 @@ public class CompilerPaths {
return project.getName();
}
String projectName = FileUtil.toSystemIndependentName(project.getLocation());
String location = project.getLocation();
if (location == null) return null;
String projectName = FileUtil.toSystemIndependentName(location);
if (projectName.endsWith("/")) {
projectName = projectName.substring(0, projectName.length() - 1);
}