PyObjCTools
– Utilities
The module PyObjCTools
is a namespace package that is filled by
a number of PyObjC distributions. This package provides useful utilities
that build upon the core features of PyObjC.
PyObjCTools.KeyValueCoding
– Key-Value Coding APIPyObjCTools.AppHelper
– Work with AppKitPyObjCTools.Conversion
– Convert data structuresPyObjCTools.NibClassBuilder
– Magic NIBsPyObjCTools.MachSignals
– signal handling in a CFRunLoopPyObjCTools.Signals
– Debug signal handlingPyObjCTools.TestSupport
– Testing helperspyobjc_options()
sdkForPython()
fourcc()
cast_int()
cast_longlong()
cast_uint()
cast_ulonglong()
os_release()
os_level_key()
is32Bit()
onlyIf()
onlyPython2()
onlyPython3()
onlyOn32Bit()
onlyOn64Bit()
min_sdk_level()
max_sdk_level()
min_os_level()
max_os_level()
TestCase
TestCase.run()
TestCase.assertItemsEqual()
TestCase.assertGreaterThan()
TestCase.assertGreaterThanOrEquals()
TestCase.assertLessThan()
TestCase.assertLessThanOrEquals()
TestCase.assertIs()
TestCase.assertIsNot()
TestCase.assertIsNone()
TestCase.assertIsNotNone()
TestCase.assertSstartswith()
TestCase.assertHasAttr()
TestCase.assertNotHasAttr()
TestCase.assertIsInstance()
TestCase.assertIsNotInstance()
TestCase.assertAlmostEquals()
TestCase.assertIn()
TestCase.assertNotIn()
TestCase.assertIsCFType()
TestCase.assertIsOpaquePointer()
TestCase.assertIsNullTerminated()
TestCase.assertResultIsNullTerminated()
TestCase.assertArgIsNullTerminated()
TestCase.assertResultIsVariableSize()
TestCase.assertArgIsVariableSize()
TestCase.assertArgSizeInResult()
TestCase.assertArgIsPrintf()
TestCase.assertResultIsCFRetained()
TestCase.assertResultIsNotCFRetained()
TestCase.assertArgIsCFRetained()
TestCase.assertArgIsNotCFRetained()
TestCase.assertResultIsRetained()
TestCase.assertResultIsNotRetained()
TestCase.assertArgIsRetained()
TestCase.assertArgIsNotRetained()
TestCase.assertResultHasType()
TestCase.assertResultIsBOOL()
TestCase.assertArgHasType()
TestCase.assertArgIsBOOL()
TestCase.assertArgIsFunction()
TestCase.assertResultsFunction()
TestCase.assertResultIsBlock()
TestCase.assertArgIsBlock()
TestCase.assertArgIsSEL()
TestCase.assertArgIsFixedSize()
TestCase.assertResultSizeInArg()
TestCase.assertArgSizeInArg()
TestCase.assertArgIsOut()
TestCase.assertArgIsIn()
TestCase.assertArgIsInOut()