1
2from PyObjCTools.TestSupport import *
3from Quartz.QuartzCore import *
4from Quartz import *
5
6class TestCIPluginInterfaceHelper (NSObject):
7    def load_(self, h): return 1
8
9class TestCIPlugInInterface (TestCase):
10    def testMethods(self):
11        self.assertResultIsBOOL(TestCIPluginInterfaceHelper.load_)
12
13    def no_testProtocol(self):
14        p = objc.protocolNamed('CIPlugInRegistration')
15        self.assertIsInstancE(p, objc.formal_protocol)
16
17if __name__ == "__main__":
18    main()
19