[MC] Issues with Test

Colin Putney cputney at wiresong.ca
Sun Feb 6 18:23:17 UTC 2005


On Feb 6, 2005, at 12:25 PM, Alexandre Bergel wrote:

> Hello!
>
> With the method <= defined on MCMockDependenItem there is only 1 
> failure and 2 errors when I run the MC* tests.
>
> The method MCChangeNotificationTest>>testForeignMethodModified leads 
> to an error because of a method #foreignMethod which has no 
> implementer.
>
> Does anyone manage to have all tests green?

I usually do, when hacking on MC.

Looks like someone (probably me) forgot to create an class initializer 
for this test. This test is expecting a dummy method that isn't there. 
To make it pass add this method.

MCChangeNotificationTest>>initialize
	self
		compile: 'foreignMethod'
		classified: '*foreign'
		
And then call it from a workspace.

HTH,

Colin




More information about the Squeak-dev mailing list