Searched refs:anotherNewClassMethod (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-core/PyObjCTest/
H A Dtest_methodedits.py105 def anotherNewClassMethod(cls): function in function:TestFromObjCSuperToObjCClass.testAddedMethodType
108 anotherNewClassMethod = classmethod(anotherNewClassMethod)
114 self.assert_(not MEClass.pyobjc_classMethods.respondsToSelector_("anotherNewClassMethod"))
117 objc.classAddMethods(MEClass, [anotherNewClassMethod, anotherNewMethod])
118 self.assert_(MEClass.pyobjc_classMethods.respondsToSelector_("anotherNewClassMethod"))
121 self.assertEquals(MEClass.anotherNewClassMethod.__doc__, "CLS DOC STRING")
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/PyObjCTest/
H A Dtest_methodedits.py107 def anotherNewClassMethod(cls): function in function:TestFromObjCSuperToObjCClass.testAddedMethodType
110 anotherNewClassMethod = classmethod(anotherNewClassMethod)
116 self.assertTrue(not MEClass.pyobjc_classMethods.respondsToSelector_("anotherNewClassMethod"))
119 objc.classAddMethods(MEClass, [anotherNewClassMethod, anotherNewMethod])
120 self.assertTrue(MEClass.pyobjc_classMethods.respondsToSelector_("anotherNewClassMethod"))
123 self.assertEquals(MEClass.anotherNewClassMethod.__doc__, "CLS DOC STRING")
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-core-2.5.1/PyObjCTest/
H A Dtest_methodedits.py157 def anotherNewClassMethod(cls): function in function:TestFromObjCSuperToObjCClass.testAddedMethodType
160 anotherNewClassMethod = classmethod(anotherNewClassMethod)
166 self.assertTrue(not MEClass.pyobjc_classMethods.respondsToSelector_("anotherNewClassMethod"))
169 objc.classAddMethods(MEClass, [anotherNewClassMethod, anotherNewMethod])
170 self.assertTrue(MEClass.pyobjc_classMethods.respondsToSelector_("anotherNewClassMethod"))
173 self.assertEqual(MEClass.anotherNewClassMethod.__doc__, "CLS DOC STRING")

Completed in 168 milliseconds