The Trunk: ToolsTests-mt.99.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: ToolsTests-mt.99.mcz

commits-2
Marcel Taeumel uploaded a new version of ToolsTests to project The Trunk:
http://source.squeak.org/trunk/ToolsTests-mt.99.mcz

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

Name: ToolsTests-mt.99
Author: mt
Time: 11 October 2020, 1:46:46.156652 pm
UUID: d4be1f1c-0832-3b40-89df-dd3287e34184
Ancestors: ToolsTests-mt.98

Refactoring 'Active' variables -- Step 2 of 2. Removes all uses of Active(World|Hand|Event) by replacing those with "self current(World|Hand|Event)" or "Project current world" when required to not add/cement Morphic dependency.

See http://forum.world.st/Changeset-Eliminating-global-state-from-Morphic-td5121690.html

=============== Diff against ToolsTests-mt.98 ===============

Item was changed:
  ----- Method: BrowseTest>>currentBrowsers (in category 'private') -----
  currentBrowsers
+
+ ^ (Project current world submorphsSatisfying: [:each |
+ (each isKindOf: SystemWindow)
+ and: [each model isKindOf: Browser]]) asSet!
- ^ (ActiveWorld submorphs
- select: [:each | (each isKindOf: SystemWindow)
- and: [each model isKindOf: Browser]]) asSet!

Item was changed:
  ----- Method: BrowseTest>>currentHierarchyBrowsers (in category 'private') -----
  currentHierarchyBrowsers
+
+ ^ (Project current world submorphsSatisfying: [:each |
+ (each isKindOf: SystemWindow)
+ and: [each model isKindOf: HierarchyBrowser]]) asSet!
- ^ (ActiveWorld submorphs
- select: [:each | (each isKindOf: SystemWindow)
- and: [each model isKindOf: HierarchyBrowser]]) asSet!