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:
Mikhail Golubev
2017-03-20 17:18:02 +03:00
parent 815aeb4583
commit 532e18e4d9
92 changed files with 5 additions and 5 deletions

View File

@@ -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"));

View File

@@ -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"));

View File

@@ -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 {

View File

@@ -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"));

View File

@@ -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"));