Author: ronaldoussoren
Date: Sun Apr 12 07:28:45 2009
New Revision: 2152
Log:
* Remove Examples directory because we don't have examples
for this framework yet.
* Add PyObjC metadata to the repository
* All tests now pass, by disabling a test that will
always fail on 10.5 (see also Radar #6783035)
* Therefore update to 2.2b2
Added:
trunk/pyobjc/pyobjc-framework-InputMethodKit/Lib/InputMethodKit/PyObjC.bridgesupport
Removed:
trunk/pyobjc/pyobjc-framework-InputMethodKit/Examples/
Modified:
trunk/pyobjc/pyobjc-framework-InputMethodKit/ (props changed)
trunk/pyobjc/pyobjc-framework-InputMethodKit/Lib/ (props changed)
trunk/pyobjc/pyobjc-framework-InputMethodKit/PyObjCTest/test_imkserver.py
trunk/pyobjc/pyobjc-framework-InputMethodKit/setup.py
Modified: trunk/pyobjc/pyobjc-framework-InputMethodKit/PyObjCTest/test_imkserver.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-InputMethodKit/PyObjCTest/test_imkserver.py (original)
+++ trunk/pyobjc/pyobjc-framework-InputMethodKit/PyObjCTest/test_imkserver.py Sun Apr 12 07:28:45 2009
@@ -3,9 +3,16 @@
from InputMethodKit import *
class TestIMKServer (TestCase):
+ @min_os_level('10.6')
def testConstants(self):
- self.failUnlessIsInstance(IMKControllerClass, unicode)
+ # The definitions below are defined on 10.5, but not actually
+ # exported by the framework. That's why this test is only
+ # enabled for 10.6 or later.
+ # NOTE: I have no idea if the tests will pass there, this
+ # is just to avoid false negatives on 10.5
+ # See also: Radar #6783035
self.failUnlessIsInstance(IMKDelegateClass, unicode)
+ self.failUnlessIsInstance(IMKControllerClass, unicode)
if __name__ == "__main__":
Modified: trunk/pyobjc/pyobjc-framework-InputMethodKit/setup.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-InputMethodKit/setup.py (original)
+++ trunk/pyobjc/pyobjc-framework-InputMethodKit/setup.py Sun Apr 12 07:28:45 2009
@@ -18,7 +18,7 @@
setup(
name='pyobjc-framework-InputMethodKit',
- version='2.2b1',
+ version='2.2b2',
description = "Wrappers for the framework InputMethodKit on Mac OS X",
long_description = __doc__,
author='Ronald Oussoren',
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.