[squeak-dev] Re: anyone have a more up-to-date MethodWrappers for Squeak than MethodWrappers3.9-pmm.10?

Eliot Miranda eliot.miranda at gmail.com
Thu Sep 15 22:18:26 UTC 2011


Hi All,

    does this test look right to you?  Isn't the line "self assert:wrapper
wasActive" just bogus?

MwMethodWrapperTest>>testWasActive

| wrapper |
wrapper := self wrapperClass on: #methodOne inClass: MwClassA.
self deny: wrapper wasActive.
wrapper install.
self deny: wrapper wasActive.
wrapper uninstall.
self assert: wrapper wasActive.
self
should: [wrapper install]
raise: Error.

On Tue, Sep 13, 2011 at 2:42 PM, Eliot Miranda <eliot.miranda at gmail.com>wrote:

> Hi All,
>
>     the most up-to-date MethodWrappers I can find is for Squeak 3.9,
> pre-closures.  Anyone have anything compatible with Squeak 4.1/4.2/Pharo
> 1.1/1.2/1.3?
>
> --
> best,
> Eliot
>
>


-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20110915/d4eb508f/attachment.htm


More information about the Squeak-dev mailing list