[Seaside-dev] WAFormCharEncodingTest

Michael Lucas-Smith mlucas-smith at cincom.com
Mon May 17 20:40:10 UTC 2010


On 5/17/10 10:02 AM, Philippe Marschall wrote:
> 2010/5/17 Philippe Marschall<philippe.marschall at gmail.com>:
>    
>> 2010/5/17 Michael Lucas-Smith<mlucas-smith at cincom.com>:
>>      
>>> ....
>>>
>>> How does this work in Pharo? The test* methods are in the superclass, why
>>> aren't they run in the subclass?
>>>        
>> shouldInheritSelectors
>>         "I should inherit from an Abstract superclass but not from a concrete
>> one by default, unless I have no testSelectors in which case I must be
>> expecting to inherit them from my superclass.  If a test case with
>> selectors wants to inherit selectors from a concrete superclass,
>> override this to true in that subclass."
>>
>>         ^self superclass isAbstract
>>                 or: [self testSelectors isEmpty]
>>
>> "$QA Ignore:Sends system method(superclass)$"
>>      
>    
Ah that makes sense. SUnitToo and SUnit deviate at this point.
> Maybe we should do WATestCase ;-)
>    
Or restructure the tests so they don't inherit as much. Or I could 
ignore those failing tests. At least now I understand why it is so.

Michael


More information about the seaside-dev mailing list