mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
Add "Py" prefix to AddImportQuickFixTest and several other quick fix tests
otherwise it's easy to overlook it especially considering that there is also (confusingly) PyAddImportTest
This commit is contained in:
@@ -21,7 +21,7 @@ import com.jetbrains.python.PyQuickFixTestCase;
|
||||
import com.jetbrains.python.inspections.PyMissingConstructorInspection;
|
||||
|
||||
@TestDataPath("$CONTENT_ROOT/../testData//quickFixes/AddCallSuperQuickFixTest/")
|
||||
public class AddCallSuperQuickFixTest extends PyQuickFixTestCase {
|
||||
public class PyAddCallSuperQuickFixTest extends PyQuickFixTestCase {
|
||||
|
||||
public void testOldStyle() {
|
||||
doQuickFixTest(PyMissingConstructorInspection.class, PyBundle.message("QFIX.add.super"));
|
||||
@@ -25,7 +25,7 @@ import com.jetbrains.python.inspections.unresolvedReference.PyUnresolvedReferenc
|
||||
* User: ktisha
|
||||
*/
|
||||
@TestDataPath("$CONTENT_ROOT/../testData//quickFixes/AddFieldQuickFixTest/")
|
||||
public class AddFieldQuickFixTest extends PyQuickFixTestCase {
|
||||
public class PyAddFieldQuickFixTest extends PyQuickFixTestCase {
|
||||
|
||||
public void testAddClassField() {
|
||||
doQuickFixTest(PyUnresolvedReferencesInspection.class, PyBundle.message("QFIX.NAME.add.field.$0.to.class.$1", "FIELD", "A"));
|
||||
@@ -32,7 +32,7 @@ import java.util.List;
|
||||
/**
|
||||
* @author Mikhail Golubev
|
||||
*/
|
||||
public class AddImportQuickFixTest extends PyQuickFixTestCase {
|
||||
public class PyAddImportQuickFixTest extends PyQuickFixTestCase {
|
||||
|
||||
// PY-19773
|
||||
public void testReexportedName() throws Exception {
|
||||
@@ -23,7 +23,7 @@ import com.jetbrains.python.inspections.unresolvedReference.PyUnresolvedReferenc
|
||||
/**
|
||||
* User: ktisha
|
||||
*/
|
||||
public class AddMethodQuickFixTest extends PyQuickFixTestCase {
|
||||
public class PyAddMethodQuickFixTest extends PyQuickFixTestCase {
|
||||
|
||||
public void testAddInit() {
|
||||
doQuickFixTest(PyClassHasNoInitInspection.class, PyBundle.message("QFIX.NAME.add.method.$0.to.class.$1", "__init__", "A"));
|
||||
@@ -27,7 +27,7 @@ import com.jetbrains.python.inspections.PyShadowingBuiltinsInspection;
|
||||
* User: ktisha
|
||||
*/
|
||||
@TestDataPath("$CONTENT_ROOT/../testData//quickFixes/RenameElementQuickFixTest/")
|
||||
public class RenameElementQuickFixTest extends PyQuickFixTestCase {
|
||||
public class PyRenameElementQuickFixTest extends PyQuickFixTestCase {
|
||||
|
||||
public void testProtectedMember() {
|
||||
doQuickFixTest(PyProtectedMemberInspection.class, PyBundle.message("QFIX.NAME.rename.element"));
|
||||
Reference in New Issue
Block a user