[PyObjC-svn] r2277 - in trunk/pyobjc/pyobjc-framework-InputMethodKit: Lib/InputMethodKit PyObjCTest

[email protected] Tue, 01 Sep 2009 13:55:10 -0500
Newsgroups gmane.comp.python.pyobjc.cvs
Message-ID <[email protected]>
Author: ronaldoussoren
Date: Tue Sep  1 13:55:09 2009
New Revision: 2277

Log:
Port to SnowLeopard

Removed:
   trunk/pyobjc/pyobjc-framework-InputMethodKit/Lib/InputMethodKit/PyObjCOverrides.bridgesupport
Modified:
   trunk/pyobjc/pyobjc-framework-InputMethodKit/Lib/InputMethodKit/PyObjC.bridgesupport
   trunk/pyobjc/pyobjc-framework-InputMethodKit/PyObjCTest/test_imkcandidates.py
   trunk/pyobjc/pyobjc-framework-InputMethodKit/PyObjCTest/test_imkserver.py

Modified: trunk/pyobjc/pyobjc-framework-InputMethodKit/Lib/InputMethodKit/PyObjC.bridgesupport
==============================================================================
--- trunk/pyobjc/pyobjc-framework-InputMethodKit/Lib/InputMethodKit/PyObjC.bridgesupport	(original)
+++ trunk/pyobjc/pyobjc-framework-InputMethodKit/Lib/InputMethodKit/PyObjC.bridgesupport	Tue Sep  1 13:55:09 2009
@@ -9,6 +9,7 @@
   <constant name='IMKModeDictionary' type='@' />
   <constant name='kIMKCommandClientName' type='@' />
   <constant name='kIMKCommandMenuItemName' type='@' />
+  <constant name='IMKCandidatesSendServerKeyEventFirst' type='@' />
   <enum name='kIMKLocateCandidatesAboveHint' value='1' />
   <enum name='kIMKLocateCandidatesBelowHint' value='2' />
   <enum name='kIMKLocateCandidatesLeftHint' value='3' />

Modified: trunk/pyobjc/pyobjc-framework-InputMethodKit/PyObjCTest/test_imkcandidates.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-InputMethodKit/PyObjCTest/test_imkcandidates.py	(original)
+++ trunk/pyobjc/pyobjc-framework-InputMethodKit/PyObjCTest/test_imkcandidates.py	Tue Sep  1 13:55:09 2009
@@ -15,6 +15,10 @@
 
         self.failUnlessIsInstance(IMKCandidatesOpacityAttributeName, unicode)
 
+    @min_os_level('10.6')
+    def testConstants10_6(self):
+        self.failUnlessIsInstance(IMKCandidatesSendServerKeyEventFirst, unicode)
+
     def testMethods(self):
         self.failUnlessResultIsBOOL(IMKCandidates.isVisible)
         self.failUnlessResultIsBOOL(IMKCandidates.dismissesAutomatically)

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	Tue Sep  1 13:55:09 2009
@@ -4,6 +4,7 @@
 
 class TestIMKServer (TestCase):
     @min_os_level('10.6')
+    @expectedFailure
     def testConstants(self):
         # The definitions below are defined on 10.5, but not actually
         # exported by the framework. That's why this test is only

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july