1from AppKit import * 2from PyObjCTools.TestSupport import * 3 4class TestNSDockTile (TestCase): 5 def testMethods(self): 6 self.assertResultIsBOOL(NSDockTile.showsApplicationBadge) 7 self.assertArgIsBOOL(NSDockTile.setShowsApplicationBadge_, 0) 8 9 def testConstants(self): 10 self.assertEqual(NSAppKitVersionNumberWithDockTilePlugInSupport, 1001.0) 11 12if __name__ == "__main__": 13 main() 14