Files
openide/java/java-tests/testSrc/com/intellij/codeInsight/defaultAction/JavaLParenthTest.java
Dmitry Jemerov b231892391 Split default action tests in language-specific parts
GitOrigin-RevId: 4bcaf8c390fae1f20aa7c70fe78af95f57ab5ea8
2022-06-15 13:28:27 +00:00

28 lines
877 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.defaultAction;
import com.intellij.JavaTestUtil;
import org.jetbrains.annotations.NotNull;
public class JavaLParenthTest extends DefaultActionTestCase {
@Override
protected @NotNull String getTestDataPath() {
return JavaTestUtil.getJavaTestDataPath();
}
public void test1() { doTest(); }
public void test2() { doTest(); }
public void test3() { doTest(); }
public void test4() { doTest(); }
public void test5() { doTest(); }
public void test6() { doTest(); }
private void doTest() {
String path = "/codeInsight/defaultAction/lparenth/";
configureByFile(path + getTestName(false) + ".java");
performAction('(');
checkResultByFile(path + getTestName(false) + "_after.java");
}
}