mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 12:17:12 +07:00
40 lines
1.2 KiB
Java
40 lines
1.2 KiB
Java
package com.jetbrains.python.quickFixes;
|
|
|
|
import com.jetbrains.python.PyBundle;
|
|
import com.jetbrains.python.inspections.PyMethodMayBeStaticInspection;
|
|
|
|
/**
|
|
* User: ktisha
|
|
*/
|
|
public class PyMakeFunctionFromMethodQuickFixTest extends PyQuickFixTestCase {
|
|
|
|
public void testOneParam() {
|
|
doInspectionTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.function"));
|
|
}
|
|
|
|
public void testTwoParams() {
|
|
doInspectionTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.function"));
|
|
}
|
|
|
|
public void testEmptyParam() {
|
|
doInspectionTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.function"));
|
|
}
|
|
|
|
public void testFirstMethod() {
|
|
doInspectionTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.function"));
|
|
}
|
|
|
|
public void testEmptyStatementList() {
|
|
doInspectionTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.function"));
|
|
}
|
|
|
|
public void testNoSelf() {
|
|
doInspectionTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.function"));
|
|
}
|
|
|
|
public void testUpdateUsage() {
|
|
doInspectionTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.function"));
|
|
}
|
|
|
|
}
|