Files
openide/platform/platform-tests/testSrc/com/intellij/codeInsight/PlainTextBackspaceTest.java
T
Dmitry Jemerov daa05ed703 Split BackspaceTest into language-specific parts
GitOrigin-RevId: ac0cd278e8e678688160590e92e886647eb15bb3
2022-06-15 13:28:22 +00:00

26 lines
839 B
Java

// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.codeInsight;
import com.intellij.testFramework.LightPlatformCodeInsightTestCase;
import com.intellij.testFramework.PlatformTestUtil;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
public class PlainTextBackspaceTest extends LightPlatformCodeInsightTestCase {
@NotNull
@Override
protected String getTestDataPath() {
return PlatformTestUtil.getPlatformTestDataPath();
}
public void testDifferentBrackets() { doTest(); }
private void doTest() {
@NonNls String path = "/codeInsight/backspace/";
configureByFile(path + getTestName(false) + ".txt");
backspace();
checkResultByFile(path + getTestName(false) + "_after.txt");
}
}