[java-rd] IDEA-322563 Improve editing experience in Remote Dev for Java

- tests

GitOrigin-RevId: 93c130aeac685d8fd9b016d4b5bb8f36482140d3
This commit is contained in:
Mikhail Pyltsin
2023-09-12 14:34:29 +02:00
committed by intellij-monorepo-bot
parent d2af2f9736
commit 3055e90294
1000 changed files with 38283 additions and 6130 deletions

View File

@@ -0,0 +1,39 @@
// Copyright 2000-2023 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.PathJavaTestUtil;
import com.intellij.testFramework.LightPlatformCodeInsightTestCase;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
public abstract class AbstractBasicJavaBackspaceTest extends LightPlatformCodeInsightTestCase {
@Override
protected @NotNull String getTestDataPath() {
return PathJavaTestUtil.getCommunityJavaTestDataPath();
}
public void testBracket1() { doTest(); }
public void testBracket2() { doTest(); }
public void testBracket3() { doTest(); }
public void testBracket4() { doTest(); }
public void testIdea186011() { doTest(); }
public void testQuote1() { doTest(); }
public void testQuote2() { doTest(); }
public void testQuoteAndCommentAfter() { doTest(); }
protected void doTest() {
@NonNls String path = "/codeInsight/backspace/";
configureByFile(path + getTestName(false) + ".java");
backspace();
checkResultByFile(path + getTestName(false) + "_after.java");
}
}