<br><div><span class="gmail_quote">On 4/5/06, <b class="gmail_sendername">Chris Muller</b> &lt;<a href="mailto:chris@funkyobjects.org">chris@funkyobjects.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Nice work Diego, but based on what Lukas said about the troubles with<br>exceptions in running under simulation, do you still have your original<br>implementation via Method Wrappers?</blockquote><div><br><div style="text-align: left;">
Nop :( (if I have time today would test the exception handling)<br></div></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Also, is there any way to specify multiple packages, something like:
<br><br>watcher := MethodExecutionWatcher<br>forAllMethodsOfPackagesNamed: #('myPackage1' 'myPackage2')<br>duringExecutionOf:<br>[<br>&nbsp;&nbsp;&nbsp;&nbsp;MethodExecutionReportTest suite run<br>].<br><br>?</blockquote><div><br>The MethodExecutionWatcher receives a collection with instances of MethodReference, ie:
<br><br>MethodExecutionWatcher forAll: (Array with: (MethodReference class: Object selector: hash) duringExecutionOf: [].<br><br>#forAllMethodsOfPackageNamed:duringExecutionOf: it's only a factory method for convenience. It's the same as: 
<br>MethodExecutionWatcher forAll: (PackageInfo named: 'PackageName') methods duringExecutionOf: [].<br><br>Implementing #forAllMethodsOfPackagesNamed:duringExecutionOf: should be straight forward. :) (thanks for the suggestion)
<br><br>Note that, the .mcz file that I have uploaded to SqueakMap is corrupt :( I will upload a correct version this night, sorry for the inconvenience.<br>&nbsp;</div></div><br>