1 2from PyObjCTools.TestSupport import * 3from Quartz.PDFKit import * 4 5class TestPDFAnnotation (TestCase): 6 def testMethods(self): 7 self.assertResultIsBOOL(PDFAnnotation.shouldDisplay) 8 self.assertArgIsBOOL(PDFAnnotation.setShouldDisplay_, 0) 9 self.assertResultIsBOOL(PDFAnnotation.shouldPrint) 10 self.assertArgIsBOOL(PDFAnnotation.setShouldPrint_, 0) 11 self.assertResultIsBOOL(PDFAnnotation.hasAppearanceStream) 12 13if __name__ == "__main__": 14 main() 15