[PyObjC-svn] r2031 - in trunk/pyobjc/pyobjc-framework-Collaboration: . Exceptions Lib Lib/Collaboration PyObjCTest

[email protected]
Newsgroups gmane.comp.python.pyobjc.cvs
Message-ID <[email protected]>
Author: ronaldoussoren
Date: Thu Jan 15 09:05:45 2009
New Revision: 2031

Log:
Complete test coverage on Leopard

Added:
   trunk/pyobjc/pyobjc-framework-Collaboration/Lib/Collaboration/PyObjC.bridgesupport
   trunk/pyobjc/pyobjc-framework-Collaboration/PyObjCTest/test_cbidentity.py   (contents, props changed)
   trunk/pyobjc/pyobjc-framework-Collaboration/PyObjCTest/test_cbidentitypicker.py   (contents, props changed)
Removed:
   trunk/pyobjc/pyobjc-framework-Collaboration/Lib/Collaboration/PyObjCOverrides.bridgesupport
Modified:
   trunk/pyobjc/pyobjc-framework-Collaboration/Exceptions/Collaboration.bridgesupport
   trunk/pyobjc/pyobjc-framework-Collaboration/Lib/   (props changed)
   trunk/pyobjc/pyobjc-framework-Collaboration/PyObjCTest/test_collaboration.py
   trunk/pyobjc/pyobjc-framework-Collaboration/setup.py

Modified: trunk/pyobjc/pyobjc-framework-Collaboration/Exceptions/Collaboration.bridgesupport
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Collaboration/Exceptions/Collaboration.bridgesupport	(original)
+++ trunk/pyobjc/pyobjc-framework-Collaboration/Exceptions/Collaboration.bridgesupport	Thu Jan 15 09:05:45 2009
@@ -82,4 +82,31 @@
       <retval type='^{OpaqueSecCertificateRef=}' />
     </method>
   </class>
+  <class name='CBIdentity'>
+    <method selector='CSIdentity'>
+      <retval type='^{__CSIdentity=}' />
+    </method>
+    <method class_method='true' selector='identityWithCSIdentity:'>
+      <arg index='0' type='^{__CSIdentity=}' />
+    </method>
+  </class>
+  <class name='CBIdentityAuthority'>
+    <method selector='CSIdentityAuthority'>
+      <retval type='^{__CSIdentityAuthority=}' />
+    </method>
+    <method class_method='true' selector='identityAuthorityWithCSIdentityAuthority:'>
+      <arg index='0' type='^{__CSIdentityAuthority=}' />
+    </method>
+  </class>
+  <class name='CBIdentityPicker'>
+    <method selector='runModalForWindow:modalDelegate:didEndSelector:contextInfo:'>
+      <arg index='2' sel_of_type='v@:@i^v' />
+      <arg comment='context' index='3' type='^v' />
+    </method>
+  </class>
+  <class name='CBUserIdentity'>
+    <method selector='certificate'>
+      <retval type='^{OpaqueSecCertificateRef=}' />
+    </method>
+  </class>
 </signatures>

Modified: trunk/pyobjc/pyobjc-framework-Collaboration/PyObjCTest/test_collaboration.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Collaboration/PyObjCTest/test_collaboration.py	(original)
+++ trunk/pyobjc/pyobjc-framework-Collaboration/PyObjCTest/test_collaboration.py	Thu Jan 15 09:05:45 2009
@@ -2,10 +2,10 @@
 Some simple tests to check that the framework is properly wrapped.
 '''
 import objc
-import unittest
+from PyObjCTools.TestSupport import *
 import Collaboration
 
-class TestCollaboration (unittest.TestCase):
+class TestCollaboration (TestCase):
     def testClasses(self):
         self.assert_( hasattr(Collaboration, 'CBIdentity') )
         self.assert_( isinstance(Collaboration.CBIdentity, objc.objc_class) )
@@ -15,8 +15,6 @@
         self.assert_( isinstance(Collaboration.CBIdentityPicker, objc.objc_class) )
 
 
-
-
 if __name__ == "__main__":
-    unittest.main()
+    main()
 

Modified: trunk/pyobjc/pyobjc-framework-Collaboration/setup.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Collaboration/setup.py	(original)
+++ trunk/pyobjc/pyobjc-framework-Collaboration/setup.py	Thu Jan 15 09:05:45 2009
@@ -18,7 +18,7 @@
 
 setup(
     name='pyobjc-framework-Collaboration',
-    version='2.0',
+    version='2.2b1',
     description = "Wrappers for the framework Collaboration on Mac OS X",
     long_description = __doc__,
     author='Ronald Oussoren',

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
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.