Re: [Pyobjc-dev] New test in Foundation
Brought to you by:
ronaldoussoren
From: Bill B. <bb...@co...> - 2002-10-23 21:13:43
|
BTW: Is there a way to express a dependency between the *.inc files and their respective .m file? I ask because I have often updated the .inc, forgotten to touch the .m, done a build and scratched my head for a sec until I realize that the .m didn't recompile... Excellent! Of the unit tests we have so far, only one is failing now (nothing new): ......E. ====================================================================== ERROR: testClassInvocation (__main__.TestMethodInvocation) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/objc/test/test_objc.py", line 44, in testClassInvocation self.assert_( objc.runtime.NSObject.description(), "Failed to invoke the +description method." ) TypeError: Missing self argument Very cool. Ahh.... cocoa_generator.py -- not func_builder.py. That was why my .inc files were tiny in comparison to the version in the repository. I'm going to try to work through testing of the collection bridging as that is a fairly major feature that could be the source of problems. b.bum On Wednesday, October 23, 2002, at 04:50 PM, Ronald Oussoren wrote: > Corrrect. If fixed that script and reran 'scripts/cocoa_generator.py'. > Afterwards I fixed a second problem: The functions were not marked as > functions that accept keyword arguments, causing yet another bus > error. |