mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test expectations fixed: ipr file for test project isn't created anymore
This commit is contained in:
@@ -115,7 +115,7 @@ public class NavigateFromSourceTest extends BaseProjectViewTestCase {
|
||||
|
||||
pane.select(psiClass, psiClass.getContainingFile().getVirtualFile(), true);
|
||||
|
||||
assertEquals(9, tree.getSelectionCount());
|
||||
assertEquals(8, tree.getSelectionCount());
|
||||
}
|
||||
|
||||
private static void changeClassTextAndTryToNavigate(final String newClassString,
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package com.intellij.testFramework;
|
||||
|
||||
import com.intellij.ide.highlighter.ProjectFileType;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.application.ex.PathManagerEx;
|
||||
import com.intellij.openapi.fileEditor.ex.FileEditorManagerEx;
|
||||
@@ -101,7 +100,6 @@ import java.io.File;
|
||||
}
|
||||
|
||||
protected String getRootFiles() {
|
||||
return " " + myModule.getModuleFile().getName() + "\n" +
|
||||
" " + myProject.getName() + ProjectFileType.DOT_DEFAULT_EXTENSION + "\n";
|
||||
return " " + myModule.getModuleFile().getName() + "\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package com.intellij.projectView;
|
||||
|
||||
import com.intellij.ide.highlighter.ProjectFileType;
|
||||
import com.intellij.ide.projectView.impl.AbstractProjectTreeStructure;
|
||||
import com.intellij.ide.projectView.impl.AbstractProjectViewPSIPane;
|
||||
import com.intellij.openapi.Disposable;
|
||||
@@ -97,8 +96,4 @@ public class TestProjectTreeStructure extends AbstractProjectTreeStructure imple
|
||||
@Override
|
||||
public void dispose() {
|
||||
}
|
||||
|
||||
public String getProjectFileRepresentation() {
|
||||
return " " + myProject.getName() + ProjectFileType.DOT_DEFAULT_EXTENSION + "\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,6 @@ public class PropertiesProjectViewTest extends LightPlatformCodeInsightFixtureTe
|
||||
" xxx_en.properties\n" +
|
||||
" xxx_ru_RU.properties\n" +
|
||||
" X.txt\n" +
|
||||
myStructure.getProjectFileRepresentation() +
|
||||
" External Libraries\n";
|
||||
PlatformTestUtil.assertTreeEqual(pane.getTree(), structure);
|
||||
}
|
||||
@@ -74,7 +73,6 @@ public class PropertiesProjectViewTest extends LightPlatformCodeInsightFixtureTe
|
||||
" xxx2.properties\n" +
|
||||
" yyy.properties\n" +
|
||||
" X.txt\n" +
|
||||
myStructure.getProjectFileRepresentation() +
|
||||
" External Libraries\n";
|
||||
|
||||
PlatformTestUtil.assertTreeEqual(pane.getTree(), structure);
|
||||
@@ -94,7 +92,6 @@ public class PropertiesProjectViewTest extends LightPlatformCodeInsightFixtureTe
|
||||
" xxx.properties\n" +
|
||||
" xxx_en.properties\n" +
|
||||
" X.txt\n" +
|
||||
myStructure.getProjectFileRepresentation() +
|
||||
" External Libraries\n";
|
||||
|
||||
PlatformTestUtil.assertTreeEqual(pane.getTree(), structure);
|
||||
@@ -111,7 +108,6 @@ public class PropertiesProjectViewTest extends LightPlatformCodeInsightFixtureTe
|
||||
" xxx_en.properties\n" +
|
||||
" xxx2.properties\n" +
|
||||
" yyy.properties\n" +
|
||||
myStructure.getProjectFileRepresentation() +
|
||||
" External Libraries\n";
|
||||
|
||||
PlatformTestUtil.assertTreeEqual(pane.getTree(), structure);
|
||||
|
||||
Reference in New Issue
Block a user