On 09 Jun 2015, at 15:23, Marcus Denker <marcus.denker@inria.fr> wrote:
On 09 Jun 2015, at 15:12, Marcus Denker <marcus.denker@inria.fr> wrote:
On 09 Jun 2015, at 14:55, Francisco Garau <francisco.garau@gmail.com> wrote:
Hi Marcus
I'm sure this is great. Just a quick question on your example code: where is tag being defined? Is it an instance variable from ReflectiveMethodTest?
Yes, The test instance is put as the meta-object and we call #tagExec: there. This is just:
tagExec: aTag tag := aTag.
So we just call it with an argument, in this case the new value of the variable.
This is in the image #testReifyNewValue.
there is still an issue that one can not run this test twice⦠I added it to the backlog:
Fixed: https://pharo.fogbugz.com/f/cases/15730/t - tests for #value (Global, Temp) - fix for #value reification - fix: allow tests to be run multiple times - untested: add #receiver reification for message send Marcus