[squeak-dev] The Trunk: MorphicTests-nice.75.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Thu Apr 15 07:39:57 UTC 2021


Hi Nicolas.

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.

Best,
Marcel
Am 14.04.2021 19:14:23 schrieb commits at source.squeak.org <commits at source.squeak.org>:
Nicolas Cellier uploaded a new version of MorphicTests to project The Trunk:
http://source.squeak.org/trunk/MorphicTests-nice.75.mcz

==================== Summary ====================

Name: MorphicTests-nice.75
Author: nice
Time: 14 April 2021, 7:14:06.997889 pm
UUID: d87c50dd-4e44-5242-9120-37e0452ca781
Ancestors: MorphicTests-eem.74

Fix loss of useRetractableScrollBars preference

=============== Diff against MorphicTests-eem.74 ===============

Item was changed:
----- Method: TableLayoutTest>>setUp (in category 'running') -----
setUp

super setUp.
-
reset := {
([:enable | [self useRetractableScrollBars: enable]]
value: self useRetractableScrollBars)
+ }.
+ self useRetractableScrollBars: false!
- in: [:block | self useRetractableScrollBars: false].
- }.!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210415/9d52cd46/attachment.html>


More information about the Squeak-dev mailing list