<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
Hi Nicolas.<div><br></div><div>Thanks. We might want to think about a more generic way to specify system-wide preferences for tests. Maybe a new feature in TestCase (or SUnit). While I would never want to change such preferences in a specific test, I also see that the setUp-way (with that extra "reset" instVar) is quite cumbersome.</div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div><blockquote class='history_container' type='cite' style='border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;'>
<p style='color: #AAAAAA; margin-top: 10px;'>Am 14.04.2021 19:14:23 schrieb commits@source.squeak.org <commits@source.squeak.org>:</p><div style='font-family:Arial,Helvetica,sans-serif'>Nicolas Cellier uploaded a new version of MorphicTests to project The Trunk:<br>http://source.squeak.org/trunk/MorphicTests-nice.75.mcz<br><br>==================== Summary ====================<br><br>Name: MorphicTests-nice.75<br>Author: nice<br>Time: 14 April 2021, 7:14:06.997889 pm<br>UUID: d87c50dd-4e44-5242-9120-37e0452ca781<br>Ancestors: MorphicTests-eem.74<br><br>Fix loss of useRetractableScrollBars preference<br><br>=============== Diff against MorphicTests-eem.74 ===============<br><br>Item was changed:<br> ----- Method: TableLayoutTest>>setUp (in category 'running') -----<br> setUp<br> <br> super setUp.<br>- <br> reset := {<br> ([:enable | [self useRetractableScrollBars: enable]]<br> value: self useRetractableScrollBars)<br>+ }.<br>+ self useRetractableScrollBars: false!<br>- in: [:block | self useRetractableScrollBars: false].<br>- }.!<br><br><br></div></blockquote>
</div></body>