<br><br><div class="gmail_quote">2010/6/27 Henrik Sperre Johansen <span dir="ltr">&lt;<a href="mailto:henrik.s.johansen@veloxit.no">henrik.s.johansen@veloxit.no</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  
    
  
  <div bgcolor="#ffffff" text="#000000">
    On 27.06.2010 20:20, laurent laffont wrote:
    <blockquote type="cite"><br>
      <div class="gmail_quote">On Sun, Jun 27, 2010 at 7:11 PM,
        Alexandre Bergel <span dir="ltr">&lt;<a href="mailto:alexandre@bergel.eu" target="_blank">alexandre@bergel.eu</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
          <div>&gt; The problem is that I don&#39;t really know
            if the method I&#39;ve changed has been actually &quot;hit&quot; by the
            tests. I just see that tests has been run. I don&#39;t know if
            my method has been called when running the tests.<br>
            &gt;<br>
            &gt; So I want to detect this.<br>
            &gt;<br>
            &gt; One way of doing this seems to use
            MethodContext&gt;&gt;runSimulated:contextAtEachStep:. I&#39;ve
            found this looking at MessageTally. Is it the best solution
            ?<br>
            <br>
          </div>
          If you know exactly which compiled method you are interested
          in, I would wrap it using a plain object that answers to
          #run:with:in:<br>
          This is a feature supported which is supported for quite some
          time by the VM.<br>
          Info on <a href="http://www.iam.unibe.ch/%7Escg/Archive/Papers/Bergel06bRDLPrototyping.pdf" target="_blank">http://www.iam.unibe.ch/~scg/Archive/Papers/Bergel06bRDLPrototyping.pdf</a>
          , Section 2.2<br>
        </blockquote>
        <div><br>
          Thank you, it&#39;s cool to learn so sexy stuff :) Should be in
          Pharo book.<br>
          <br>
          Laurent<br>
        </div>
      </div>
    </blockquote>
    Note: The Cog VM crashes on TestObjectsAsMethods.<br></div></blockquote><div><br></div><div>Yes.  I never tried to get this to work.  How important is this to people?</div><div><br></div><div>best</div><div>Eliot</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#ffffff" text="#000000">
    <br>
    Cheers,<br>
    Henry<br>
  </div>

<br>_______________________________________________<br>
Pharo-project mailing list<br>
<a href="mailto:Pharo-project@lists.gforge.inria.fr">Pharo-project@lists.gforge.inria.fr</a><br>
<a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project" target="_blank">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project</a><br></blockquote></div><br>