[Pharo-dev] Mocketry problems in 3.0

Denis Kudriashov dionisiydk at gmail.com
Fri Oct 11 15:47:36 EDT 2013

As Markus said it is good idea to add #argumentNames to block.

What exactly you want to see at TxText?
I ask because Igor make big progress on his design implementation which I
think will replace my work totally.
So if you want to join his development you don't need my code at all
(remove it)

But my version (which is at configuration) is usable and works nice for end
user applications. I actually use it for my tasks.

2013/10/11 Camillo Bruni <camillobruni at gmail.com>

> I recently checked the progress on TxText and I saw that half of the tests
> fail
> under 3.0 due to an incompatibility in Mocketry on
> BlockClosure>>#argumentNames
> trying to decompile the block contents. This feature is no longer
> available,
> instead you have to access the AST directly:
> BlockClosure >> #argumentNames
>         ^ self sourceNode arguments collect: [ :each | each name ]
> Would it be possible to integrate that on a 3.0 branch? It's quite a pity
> to
> waste so many tests :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131011/e3328204/attachment-0002.html>

More information about the Pharo-dev mailing list