fixed tests since we don't propose to make static decorated method
authorEkaterina Tuzova <Ekaterina.Tuzova@jetbrains.com>
Mon, 2 Dec 2013 17:25:20 +0000 (21:25 +0400)
committerEkaterina Tuzova <Ekaterina.Tuzova@jetbrains.com>
Mon, 2 Dec 2013 17:25:20 +0000 (21:25 +0400)
python/testData/quickFixes/PyMakeMethodStaticQuickFixTest/decoWithParams.py [deleted file]
python/testData/quickFixes/PyMakeMethodStaticQuickFixTest/decoWithParams_after.py [deleted file]
python/testData/quickFixes/PyMakeMethodStaticQuickFixTest/functionWithDeco.py [deleted file]
python/testData/quickFixes/PyMakeMethodStaticQuickFixTest/functionWithDeco_after.py [deleted file]
python/testSrc/com/jetbrains/python/quickFixes/PyMakeMethodStaticQuickFixTest.java

diff --git a/python/testData/quickFixes/PyMakeMethodStaticQuickFixTest/decoWithParams.py b/python/testData/quickFixes/PyMakeMethodStaticQuickFixTest/decoWithParams.py
deleted file mode 100644 (file)
index 7cdd655..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-__author__ = 'ktisha'
-
-def foo(x):
-  return x
-
-class A():
-
-    @accepts(int, int)
-    def my_<caret>method(self):
-        print "Smth"
\ No newline at end of file
diff --git a/python/testData/quickFixes/PyMakeMethodStaticQuickFixTest/decoWithParams_after.py b/python/testData/quickFixes/PyMakeMethodStaticQuickFixTest/decoWithParams_after.py
deleted file mode 100644 (file)
index 21293a9..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-__author__ = 'ktisha'
-
-def foo(x):
-  return x
-
-class A():
-
-    @staticmethod
-    @accepts(int, int)
-    def my_<caret>method():
-        print "Smth"
\ No newline at end of file
diff --git a/python/testData/quickFixes/PyMakeMethodStaticQuickFixTest/functionWithDeco.py b/python/testData/quickFixes/PyMakeMethodStaticQuickFixTest/functionWithDeco.py
deleted file mode 100644 (file)
index dded2b0..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-__author__ = 'ktisha'
-
-def foo(x):
-  return x
-
-class A():
-
-    @my_deco
-    def my_<caret>method(self):
-        print "Smth"
\ No newline at end of file
diff --git a/python/testData/quickFixes/PyMakeMethodStaticQuickFixTest/functionWithDeco_after.py b/python/testData/quickFixes/PyMakeMethodStaticQuickFixTest/functionWithDeco_after.py
deleted file mode 100644 (file)
index 36607a4..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-__author__ = 'ktisha'
-
-def foo(x):
-  return x
-
-class A():
-
-    @staticmethod
-    @my_deco
-    def my_method():
-        print "Smth"
\ No newline at end of file
index 310c21190269368622b9cc5e8d028753b07e99e6..835e6ed343465d2cb35a43e125adaec172cc32d3 100644 (file)
@@ -36,14 +36,6 @@ public class PyMakeMethodStaticQuickFixTest extends PyQuickFixTestCase {
     doQuickFixTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.static"));
   }
 
-  public void testFunctionWithDeco() {
-    doQuickFixTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.static"));
-  }
-
-  public void testDecoWithParams() {
-    doQuickFixTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.static"));
-  }
-
   public void testNoSelf() {
     doQuickFixTest(PyMethodMayBeStaticInspection.class, PyBundle.message("QFIX.NAME.make.static"));
   }