Laurent Sansonetti
lsans****@apple*****
Wed Feb 28 18:37:10 JST 2007
Just wondering, it might be great to have these Mocha tests part of the main test suite, so that we would spot this kind of regressions more easily :) Chris, could you provide more info about your tests? Would it be possible to extract the pure RubyCocoa tests to something that we could include in the repository? (For example we could have a tests/tc_mocha.rb file that would be skipped if the Mocha library can't be required.) Laurent On Feb 28, 2007, at 12:32 AM, Chris Mcgrath wrote: > My real tests are passing again now, many thanks! > > Cheers, > > Chris > > On 27 Feb 2007, at 22:11, kimura wataru wrote: > >> Hi, >> >> I commited this fix as r1601. Please check out the latest revision. >> >> Then, test script reports 1 failure: >> 1) Failure: >> test_direct_override(TC_OVMIX) [./tc_ovmix.rb:124]: >> <nil> >> expected to be kind_of? >> <OSX::NSString> but was >> <NilClass>. >> >> I think this test case must fail. The class DirectOverride defined >> in Objective-C world. If we expect RubyCocoa to auto-override methods >> for Objective-C classes, the following change of oc_import.rb is >> needed. >> >> * remove checking objc-class or ruby-class at >> NSBehaviorAttachment#_ns_enable_override? >> >> But I recognize to expect auto-overriding for objc classes. I'll try >> to make a patch for this change and some enhancement. >> >> On Tue, 27 Feb 2007 18:13:08 +0000, Chris Mcgrath wrote: >> >>> On 27 Feb 2007, at 15:05, kimura wataru wrote: >> >>> >> >>> >>>> >> >>> >>>> This behavior is a bug of RubyCocoa. RubyCocoa shold NOT treat a >> >>> >>>> metaclass of Cocoa classes as a subclass of Cocoa classes. I think >> >>> >>>> we can fix the problem soon. >> >>> >> >>> Great! :) Let me know if there is anything I can help with. >> >>> >> >>> Cheers, >> >>> >> >>> Chris >> >> >> -- >> kimura wataru >> _______________________________________________ >> Rubycocoa-devel mailing list >> Rubyc****@lists***** >> http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel > > _______________________________________________ > Rubycocoa-devel mailing list > Rubyc****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel