diff --git a/plugins/editorconfig/intellij.editorconfig.iml b/plugins/editorconfig/intellij.editorconfig.iml
index 5c4590e081c2..8b4bf236e11d 100644
--- a/plugins/editorconfig/intellij.editorconfig.iml
+++ b/plugins/editorconfig/intellij.editorconfig.iml
@@ -32,7 +32,6 @@
-
\ No newline at end of file
diff --git a/plugins/editorconfig/test/org/editorconfig/configmanagement/EditorConfigStandardSettingsTest.java b/plugins/editorconfig/test/org/editorconfig/configmanagement/EditorConfigStandardSettingsTest.java
deleted file mode 100644
index 5db4971beddc..000000000000
--- a/plugins/editorconfig/test/org/editorconfig/configmanagement/EditorConfigStandardSettingsTest.java
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
-package org.editorconfig.configmanagement;
-
-import com.intellij.application.options.CodeStyle;
-import com.intellij.lang.java.JavaLanguage;
-import com.intellij.psi.PsiFile;
-import com.intellij.psi.codeStyle.CommonCodeStyleSettings;
-import org.editorconfig.Utils;
-
-public class EditorConfigStandardSettingsTest extends EditorConfigFileSettingsTestCase {
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- Utils.setFullIntellijSettingsSupportEnabledInTest(false);
- }
-
- public void testIndentSizeTab() {
- final CommonCodeStyleSettings.IndentOptions projectIndentOptions =
- CodeStyle.getSettings(getProject()).getCommonSettings(JavaLanguage.INSTANCE).getIndentOptions();
- projectIndentOptions.TAB_SIZE = 4;
- projectIndentOptions.INDENT_SIZE = 2;
- PsiFile javaFile = findPsiFile("source.java");
- final CommonCodeStyleSettings.IndentOptions indentOptions = CodeStyle.getIndentOptions(javaFile);
- assertTrue(indentOptions.USE_TAB_CHARACTER);
- assertEquals("Indent size doesn't match tab size", indentOptions.TAB_SIZE, indentOptions.INDENT_SIZE);
- }
-
- public void testIndentStyleTab() {
- final CommonCodeStyleSettings.IndentOptions projectIndentOptions =
- CodeStyle.getSettings(getProject()).getCommonSettings(JavaLanguage.INSTANCE).getIndentOptions();
- projectIndentOptions.TAB_SIZE = 4;
- projectIndentOptions.INDENT_SIZE = 2;
- PsiFile javaFile = findPsiFile("source.java");
- final CommonCodeStyleSettings.IndentOptions indentOptions = CodeStyle.getIndentOptions(javaFile);
- assertEquals("Indent size doesn't match tab size", indentOptions.TAB_SIZE, indentOptions.INDENT_SIZE);
- }
-
- public void testIndentSizeTabWidth() {
- PsiFile javaFile = findPsiFile("source.java");
- final CommonCodeStyleSettings.IndentOptions indentOptions = CodeStyle.getIndentOptions(javaFile);
- assertEquals(3, indentOptions.TAB_SIZE);
- assertEquals(3, indentOptions.INDENT_SIZE);
- }
-
- @Override
- protected String getRelativePath() {
- return "/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings";
- }
-}
diff --git a/plugins/editorconfig/test/org/editorconfig/configmanagement/EditorConfigTrailingSpacesTest.java b/plugins/editorconfig/test/org/editorconfig/configmanagement/EditorConfigTrailingSpacesTest.java
deleted file mode 100644
index 4512b28002d0..000000000000
--- a/plugins/editorconfig/test/org/editorconfig/configmanagement/EditorConfigTrailingSpacesTest.java
+++ /dev/null
@@ -1,117 +0,0 @@
-// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
-package org.editorconfig.configmanagement;
-
-import com.intellij.codeInsight.JavaCodeInsightTestCase;
-import com.intellij.openapi.application.PluginPathManager;
-import com.intellij.openapi.editor.ex.EditorSettingsExternalizable;
-import com.intellij.psi.PsiFile;
-import com.intellij.testFramework.EditorTestUtil;
-import org.jetbrains.annotations.NotNull;
-
-@SuppressWarnings("SameParameterValue")
-public class EditorConfigTrailingSpacesTest extends JavaCodeInsightTestCase {
-
- private EditorSettingsExternalizable.OptionSet oldSettings;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- EditorSettingsExternalizable settings = EditorSettingsExternalizable.getInstance();
- oldSettings = settings.getState();
- settings.loadState(new EditorSettingsExternalizable.OptionSet());
- }
-
- @Override
- protected void tearDown() throws Exception {
- try {
- EditorSettingsExternalizable.getInstance().loadState(oldSettings);
- }
- catch (Throwable e) {
- addSuppressedException(e);
- }
- finally {
- super.tearDown();
- }
- }
-
- public void testKeepTrailingSpacesOnSave() throws Exception {
- EditorSettingsExternalizable settings = EditorSettingsExternalizable.getInstance();
- settings.setStripTrailingSpaces(EditorSettingsExternalizable.STRIP_TRAILING_SPACES_WHOLE);
- PsiFile ecFile = createFile(
- ".editorconfig",
-
- "root = true\n" +
- "[*]\n" +
- "trim_trailing_whitespace=false");
-
- final String originalText =
- "class Foo { \n" +
- " void foo() \n" +
- "}";
- PsiFile source = createFile(getModule(), ecFile.getVirtualFile().getParent(), "source.java", originalText);
- configureByExistingFile(source.getVirtualFile());
- type(' ');
- EditorTestUtil.executeAction(getEditor(),"SaveAll");
- assertEquals(originalText, getEditor().getDocument().getText().trim());
- }
-
-
- public void testRemoveTrailingSpacesOnSave() throws Exception {
- EditorSettingsExternalizable settings = EditorSettingsExternalizable.getInstance();
- settings.setStripTrailingSpaces(EditorSettingsExternalizable.STRIP_TRAILING_SPACES_NONE);
- PsiFile ecFile = createFile(
- ".editorconfig",
-
- "root = true\n" +
- "[*]\n" +
- "trim_trailing_whitespace=true");
-
- final String originalText =
- "class Foo { \n" +
- " void foo() \n" +
- "}";
- PsiFile source = createFile(getModule(), ecFile.getVirtualFile().getParent(), "source.java", originalText);
- configureByExistingFile(source.getVirtualFile());
- type(' ');
- EditorTestUtil.executeAction(getEditor(),"SaveAll");
- assertEquals(
- "class Foo {\n" +
- " void foo()\n" +
- "}",
-
- getEditor().getDocument().getText().trim());
- }
-
- public void testEnsureNewLine() throws Exception {
- EditorSettingsExternalizable settings = EditorSettingsExternalizable.getInstance();
- settings.setEnsureNewLineAtEOF(false);
- PsiFile ecFile = createFile(
- ".editorconfig",
-
- "root = true\n" +
- "[*]\n" +
- "insert_final_newline=true");
-
- final String originalText =
- "class Foo {\n" +
- " void foo()\n" +
- "}";
- PsiFile source = createFile(getModule(), ecFile.getVirtualFile().getParent(), "source.java", originalText);
- configureByExistingFile(source.getVirtualFile());
- type(' ');
- EditorTestUtil.executeAction(getEditor(),"SaveAll");
- assertEquals(
- " class Foo {\n" +
- " void foo()\n" +
- "}\n",
-
- getEditor().getDocument().getText());
- }
-
- @NotNull
- @Override
- protected String getTestDataPath() {
- return PluginPathManager.getPluginHomePath("editorconfig") + "/testData/org/editorconfig/configmanagement/fileSettings/";
- }
-
-}
diff --git a/plugins/editorconfig/test/org/editorconfig/configmanagement/EditorConfigValueInspectionTest.java b/plugins/editorconfig/test/org/editorconfig/configmanagement/EditorConfigValueInspectionTest.java
index 85cdbef023cd..2675569cdf9a 100644
--- a/plugins/editorconfig/test/org/editorconfig/configmanagement/EditorConfigValueInspectionTest.java
+++ b/plugins/editorconfig/test/org/editorconfig/configmanagement/EditorConfigValueInspectionTest.java
@@ -1,13 +1,11 @@
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.editorconfig.configmanagement;
-import com.intellij.codeInspection.InspectionProfileEntry;
-import com.siyeh.ig.LightJavaInspectionTestCase;
+import com.intellij.testFramework.InspectionFixtureTestCase;
import org.editorconfig.Utils;
import org.editorconfig.language.codeinsight.inspections.EditorConfigValueCorrectnessInspection;
-import org.jetbrains.annotations.Nullable;
-public class EditorConfigValueInspectionTest extends LightJavaInspectionTestCase {
+public class EditorConfigValueInspectionTest extends InspectionFixtureTestCase {
@Override
protected void setUp() throws Exception {
@@ -30,17 +28,17 @@ public class EditorConfigValueInspectionTest extends LightJavaInspectionTestCase
public void testValues() {
myFixture.configureByFile(".editorconfig");
+ myFixture.enableInspections(EditorConfigValueCorrectnessInspection.class);
myFixture.testHighlighting(true, false, true);
}
- @Nullable
- @Override
- protected InspectionProfileEntry getInspection() {
- return new EditorConfigValueCorrectnessInspection();
- }
-
@Override
protected String getBasePath() {
return "/plugins/editorconfig/testData/org/editorconfig/configmanagement/inspections/";
}
+
+ @Override
+ protected boolean isCommunity() {
+ return true;
+ }
}
diff --git a/plugins/editorconfig/test/org/editorconfig/configmanagement/export/EditorConfigExportTest.java b/plugins/editorconfig/test/org/editorconfig/configmanagement/export/EditorConfigExportTest.java
deleted file mode 100644
index e6be7466de7f..000000000000
--- a/plugins/editorconfig/test/org/editorconfig/configmanagement/export/EditorConfigExportTest.java
+++ /dev/null
@@ -1,133 +0,0 @@
-// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
-package org.editorconfig.configmanagement.export;
-
-import com.intellij.lang.xml.XMLLanguage;
-import com.intellij.psi.codeStyle.CodeStyleSettings;
-import com.intellij.testFramework.LightPlatformTestCase;
-import com.intellij.util.LineSeparator;
-import org.editorconfig.configmanagement.extended.EditorConfigPropertyKind;
-import org.editorconfig.language.EditorConfigLanguage;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-
-public class EditorConfigExportTest extends LightPlatformTestCase {
- public void testWriter() throws IOException {
- CodeStyleSettings setting = CodeStyleSettings.getDefaults().clone();
- setting.LINE_SEPARATOR = LineSeparator.CRLF.getSeparatorString();
- ByteArrayOutputStream output = new ByteArrayOutputStream();
- try (EditorConfigSettingsWriter writer =
- new EditorConfigSettingsWriter(getProject(), output, setting, false, false)
- .forLanguages(EditorConfigLanguage.INSTANCE, XMLLanguage.INSTANCE)) {
- writer.writeSettings();
- }
- String result = output.toString("UTF-8");
- result = result.replaceAll("\\[.*\\.xml.*]", "[*.xml]"); // Leave only XML
- assertEquals(
- "[*]\n" +
- "charset = utf-8\n" +
- "end_of_line = crlf\n" +
- "indent_size = 4\n" +
- "indent_style = space\n" +
- "insert_final_newline = false\n" +
- "max_line_length = 120\n" +
- "tab_width = 4\n" +
- "ij_continuation_indent_size = 8\n" +
- "ij_formatter_off_tag = @formatter:off\n" +
- "ij_formatter_on_tag = @formatter:on\n" +
- "ij_formatter_tags_enabled = false\n" +
- "ij_smart_tabs = false\n" +
- "ij_wrap_on_typing = false\n" +
- "\n" +
- "[.editorconfig]\n" +
- "ij_editorconfig_align_group_field_declarations = false\n" +
- "ij_editorconfig_space_after_colon = false\n" +
- "ij_editorconfig_space_after_comma = true\n" +
- "ij_editorconfig_space_before_colon = false\n" +
- "ij_editorconfig_space_before_comma = false\n" +
- "ij_editorconfig_spaces_around_assignment_operators = true\n" +
- "\n" +
- "[*.xml]\n" +
- "ij_xml_block_comment_at_first_column = true\n" +
- "ij_xml_keep_indents_on_empty_lines = false\n" +
- "ij_xml_line_comment_at_first_column = true\n",
-
- result);
- }
-
- public void testSkipEmptySection() throws IOException {
- CodeStyleSettings setting = CodeStyleSettings.getDefaults().clone();
- setting.LINE_SEPARATOR = LineSeparator.CRLF.getSeparatorString();
- ByteArrayOutputStream output = new ByteArrayOutputStream();
- try (EditorConfigSettingsWriter writer = new EditorConfigSettingsWriter(getProject(), output, setting, false, false)
- .forLanguages(EditorConfigLanguage.INSTANCE, XMLLanguage.INSTANCE)
- .forPropertyKinds(EditorConfigPropertyKind.EDITOR_CONFIG_STANDARD)) {
- writer.writeSettings();
- }
- String result = output.toString("UTF-8");
- assertEquals(
- "[*]\n" +
- "charset = utf-8\n" +
- "end_of_line = crlf\n" +
- "indent_size = 4\n" +
- "indent_style = space\n" +
- "insert_final_newline = false\n" +
- "max_line_length = 120\n" +
- "tab_width = 4\n",
-
- result);
- }
-
- public void testFilterByPropertyKind() throws IOException {
- CodeStyleSettings setting = CodeStyleSettings.getDefaults().clone();
- setting.LINE_SEPARATOR = LineSeparator.CRLF.getSeparatorString();
- ByteArrayOutputStream output = new ByteArrayOutputStream();
- try (EditorConfigSettingsWriter writer =
- new EditorConfigSettingsWriter(getProject(), output, setting, true, false)
- .forLanguages(EditorConfigLanguage.INSTANCE)
- .forPropertyKinds(EditorConfigPropertyKind.EDITOR_CONFIG_STANDARD)) {
- writer.writeSettings();
- }
- String result = output.toString("UTF-8");
- assertEquals(
- "root = true\n" +
- "\n" +
- "[*]\n" +
- "charset = utf-8\n" +
- "end_of_line = crlf\n" +
- "indent_size = 4\n" +
- "indent_style = space\n" +
- "insert_final_newline = false\n" +
- "max_line_length = 120\n" +
- "tab_width = 4\n",
-
- result);
- }
-
- public void testCommentedOut() throws IOException {
- CodeStyleSettings setting = CodeStyleSettings.getDefaults().clone();
- setting.LINE_SEPARATOR = LineSeparator.CRLF.getSeparatorString();
- ByteArrayOutputStream output = new ByteArrayOutputStream();
- try (EditorConfigSettingsWriter writer =
- new EditorConfigSettingsWriter(getProject(), output, setting, true, true)
- .forLanguages(EditorConfigLanguage.INSTANCE)
- .forPropertyKinds(EditorConfigPropertyKind.EDITOR_CONFIG_STANDARD)) {
- writer.writeSettings();
- }
- String result = output.toString("UTF-8");
- assertEquals(
- "root = true\n" +
- "\n" +
- "[*]\n" +
- "# charset = utf-8\n" +
- "# end_of_line = crlf\n" +
- "# indent_size = 4\n" +
- "# indent_style = space\n" +
- "# insert_final_newline = false\n" +
- "# max_line_length = 120\n" +
- "# tab_width = 4\n",
-
- result);
- }
-
-}
diff --git a/plugins/editorconfig/test/org/editorconfig/language/EditorConfigStructureViewTest.kt b/plugins/editorconfig/test/org/editorconfig/language/EditorConfigStructureViewTest.kt
index cd004f8b6d9d..970d849c0b68 100644
--- a/plugins/editorconfig/test/org/editorconfig/language/EditorConfigStructureViewTest.kt
+++ b/plugins/editorconfig/test/org/editorconfig/language/EditorConfigStructureViewTest.kt
@@ -3,12 +3,14 @@ package org.editorconfig.language
import com.intellij.testFramework.PlatformTestUtil.assertTreeEqual
import com.intellij.testFramework.PlatformTestUtil.expandAll
-import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase
+import com.intellij.testFramework.fixtures.BasePlatformTestCase
-class EditorConfigStructureViewTest : LightJavaCodeInsightFixtureTestCase() {
+class EditorConfigStructureViewTest : BasePlatformTestCase() {
override fun getBasePath() =
"/plugins/editorconfig/testData/org/editorconfig/language/structureview/"
+ override fun isCommunity(): Boolean = true
+
fun doTest(expected: String) {
myFixture.configureByFile(getTestName(true) + "/.editorconfig")
myFixture.testStructureView { svc ->
diff --git a/plugins/editorconfig/test/org/editorconfig/language/codeinsight/actions/EditorConfigMoveElementLeftRightHandlerTest.kt b/plugins/editorconfig/test/org/editorconfig/language/codeinsight/actions/EditorConfigMoveElementLeftRightHandlerTest.kt
index ce4296d9f3b6..5935ace887e5 100644
--- a/plugins/editorconfig/test/org/editorconfig/language/codeinsight/actions/EditorConfigMoveElementLeftRightHandlerTest.kt
+++ b/plugins/editorconfig/test/org/editorconfig/language/codeinsight/actions/EditorConfigMoveElementLeftRightHandlerTest.kt
@@ -3,12 +3,14 @@ package org.editorconfig.language.codeinsight.actions
import com.intellij.openapi.actionSystem.IdeActions
import com.intellij.openapi.fileEditor.FileDocumentManager
-import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase
+import com.intellij.testFramework.fixtures.BasePlatformTestCase
-class EditorConfigMoveElementLeftRightHandlerTest : LightJavaCodeInsightFixtureTestCase() {
+class EditorConfigMoveElementLeftRightHandlerTest : BasePlatformTestCase() {
override fun getBasePath() =
"/plugins/editorconfig/testData/org/editorconfig/language/codeinsight/actions/moveLeftRight/"
+ override fun isCommunity(): Boolean = true
+
fun testMoveCentralValue() = doTest()
fun testMoveFirstValue() = doTest()
fun testMoveLastValue() = doTest()
diff --git a/plugins/editorconfig/test/org/editorconfig/language/codeinsight/actions/EditorConfigStatementUpDownMoverTest.kt b/plugins/editorconfig/test/org/editorconfig/language/codeinsight/actions/EditorConfigStatementUpDownMoverTest.kt
index 254530b8cfda..f806861391ef 100644
--- a/plugins/editorconfig/test/org/editorconfig/language/codeinsight/actions/EditorConfigStatementUpDownMoverTest.kt
+++ b/plugins/editorconfig/test/org/editorconfig/language/codeinsight/actions/EditorConfigStatementUpDownMoverTest.kt
@@ -3,12 +3,14 @@ package org.editorconfig.language.codeinsight.actions
import com.intellij.openapi.actionSystem.IdeActions
import com.intellij.openapi.fileEditor.FileDocumentManager
-import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase
+import com.intellij.testFramework.fixtures.BasePlatformTestCase
-class EditorConfigStatementUpDownMoverTest : LightJavaCodeInsightFixtureTestCase() {
+class EditorConfigStatementUpDownMoverTest : BasePlatformTestCase() {
override fun getBasePath() =
"/plugins/editorconfig/testData/org/editorconfig/language/codeinsight/actions/moveUpDown/"
+ override fun isCommunity(): Boolean = true
+
fun testMoveFirstOption() = doTest()
fun testMoveCentralOption() = doTest()
fun testMoveLastOption() = doTest()
diff --git a/plugins/editorconfig/test/org/editorconfig/language/documentation/EditorConfigDocumentationTest.kt b/plugins/editorconfig/test/org/editorconfig/language/documentation/EditorConfigDocumentationTest.kt
index 0474a345aed9..5a6ffb3511af 100644
--- a/plugins/editorconfig/test/org/editorconfig/language/documentation/EditorConfigDocumentationTest.kt
+++ b/plugins/editorconfig/test/org/editorconfig/language/documentation/EditorConfigDocumentationTest.kt
@@ -2,10 +2,10 @@
package org.editorconfig.language.documentation
import com.intellij.codeInsight.documentation.DocumentationManager
-import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase
+import com.intellij.testFramework.fixtures.BasePlatformTestCase
import org.editorconfig.language.codeinsight.documentation.EditorConfigDocumentationProvider
-class EditorConfigDocumentationTest : LightJavaCodeInsightFixtureTestCase() {
+class EditorConfigDocumentationTest : BasePlatformTestCase() {
fun testIndentSizeDoc() {
myFixture.configureByText(
".editorconfig",
diff --git a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentSizeTab/.editorconfig b/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentSizeTab/.editorconfig
deleted file mode 100644
index a06f16b3a1df..000000000000
--- a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentSizeTab/.editorconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-root = true
-
-[*]
-
-indent_style = tab
-indent_size = tab
\ No newline at end of file
diff --git a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentSizeTab/source.java b/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentSizeTab/source.java
deleted file mode 100644
index 576000ea446f..000000000000
--- a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentSizeTab/source.java
+++ /dev/null
@@ -1,3 +0,0 @@
-class Foo {
-
-}
\ No newline at end of file
diff --git a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentSizeTabWidth/.editorconfig b/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentSizeTabWidth/.editorconfig
deleted file mode 100644
index b5768031818a..000000000000
--- a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentSizeTabWidth/.editorconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-root = true
-
-[*]
-
-indent_size = tab
-tab_width = 3
\ No newline at end of file
diff --git a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentSizeTabWidth/source.java b/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentSizeTabWidth/source.java
deleted file mode 100644
index 576000ea446f..000000000000
--- a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentSizeTabWidth/source.java
+++ /dev/null
@@ -1,3 +0,0 @@
-class Foo {
-
-}
\ No newline at end of file
diff --git a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentStyleTab/.editorconfig b/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentStyleTab/.editorconfig
deleted file mode 100644
index f9b49490f6c0..000000000000
--- a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentStyleTab/.editorconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-root = true
-
-[*]
-
-indent_style = tab
\ No newline at end of file
diff --git a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentStyleTab/source.java b/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentStyleTab/source.java
deleted file mode 100644
index 576000ea446f..000000000000
--- a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/indentStyleTab/source.java
+++ /dev/null
@@ -1,3 +0,0 @@
-class Foo {
-
-}
\ No newline at end of file
diff --git a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/keepTrailingSpacesOnSave/.editorconfig b/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/keepTrailingSpacesOnSave/.editorconfig
deleted file mode 100644
index 912e2e35b8ed..000000000000
--- a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/keepTrailingSpacesOnSave/.editorconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-root = true
-
-[*]
-
-trim_trailing_whitespace = false
\ No newline at end of file
diff --git a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/keepTrailingSpacesOnSave/source.java b/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/keepTrailingSpacesOnSave/source.java
deleted file mode 100644
index 0dbdd09f9a7d..000000000000
--- a/plugins/editorconfig/testData/org/editorconfig/configmanagement/fileSettings/keepTrailingSpacesOnSave/source.java
+++ /dev/null
@@ -1,3 +0,0 @@
-class Test {
- void foo()
-}
\ No newline at end of file