Author: ronaldoussoren
Date: Tue Nov 18 09:56:48 2008
New Revision: 2025
Log:
Add note to documentation that CFXMLParser and CFXMLNode aren't supported yet.
There's now much unittest coverage of the CoreFoundation API's that are
available from Python, most functionally is tested although the tests for
manual C wrappers could use more attention.
Modified:
trunk/pyobjc/pyobjc-framework-Cocoa/Doc/api-notes-CoreFoundation.txt
trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfxmlnode.py
trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfxmlparser.py
Modified: trunk/pyobjc/pyobjc-framework-Cocoa/Doc/api-notes-CoreFoundation.txt
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Cocoa/Doc/api-notes-CoreFoundation.txt (original)
+++ trunk/pyobjc/pyobjc-framework-Cocoa/Doc/api-notes-CoreFoundation.txt Tue Nov 18 09:56:48 2008
@@ -245,3 +245,12 @@
* The ``context`` attribute (that is ``context`` argument for
``CFTreeCreate`` and ``CFTreeGetContext``) can be an arbitrary python
object, it is not a ``CFTreeContext`` structure as in C.
+
+CFXMLParser, CFXMLNode
+----------------------
+
+* These API's are not supported for now. The ``Create`` functions need
+ manual wrappers, which haven't been written yet. There are also no
+ uninttests for the automaticly created bindings.
+
+* Use a Python XML parser (such as ElementTree) instead.
Modified: trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfxmlnode.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfxmlnode.py (original)
+++ trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfxmlnode.py Tue Nov 18 09:56:48 2008
@@ -3,10 +3,7 @@
class TestXMLNode (unittest.TestCase):
- def testDummy(self):
- self.fail("CFXMLNode tests not implemented yet")
-
-
+ # NOTE: This doesn't actually test the API
def testConstants(self):
Modified: trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfxmlparser.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfxmlparser.py (original)
+++ trunk/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/test_cfxmlparser.py Tue Nov 18 09:56:48 2008
@@ -3,8 +3,7 @@
class TestXMLParser (unittest.TestCase):
- def testDummy(self):
- self.fail("CFXMLParser tests not implemented yet")
+ # Note: This doesn't actually test the API
def testTypeID(self):
self.failUnless(isinstance(CFXMLParserGetTypeID(), (int, long)))
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
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.