The Trunk: Help-Squeak-Project-mt.120.mcz

commits--- via Squeak-dev <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <[email protected]>
Marcel Taeumel uploaded a new version of Help-Squeak-Project to project The Trunk:
http://source.squeak.org/trunk/Help-Squeak-Project-mt.120.mcz

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

Name: Help-Squeak-Project-mt.120
Author: mt
Time: 7 August 2026, 5:45:31.919073 pm
UUID: 0eb328e9-bb8c-3b49-8dd1-b691206e8102
Ancestors: Help-Squeak-Project-mt.119

Fixes a variable-shadowing.

=============== Diff against Help-Squeak-Project-mt.119 ===============

Item was changed:
  ----- Method: SqueakReleaseNotes class>>exampleTestRunnerTimeout (in category 'examples - v61') -----
  exampleTestRunnerTimeout
  
+ 	| env testClass runner |
+ 	env := Object newEnvironment
- 	| environment testClass runner |
- 	environment := Object newEnvironment
  		import: Smalltalk environment;
+ 		yourself..
+ 	testClass := env beCurrentDuring:
- 		yourself.
- 	testClass := environment beCurrentDuring:
  		[TestCase subclass: #SUnitTimeoutTests
  			instanceVariableNames: ''
  			classVariableNames: ''
  			poolDictionaries: ''
  			category: SUnitTest category].
  	testClass
  		compile: 'testNoTimeout
  	<timeout: 2 "second">
  
  	1 seconds wait.'
  		classified: 'tests'
  		withStamp: 'ct 7/6/2026 00:55'
  		notifying: nil;
  		compile: 'testTimeout
  	<timeout: 1 "second">
  
  	2 seconds wait.'
  		classified: 'tests'
  		withStamp: 'ct 7/6/2026 00:55'
  		notifying: nil.
  	
  	runner := TestRunner new.
  	runner environment: testClass environment.
  	runner update; reset.
  	runner categoryAt: (runner categoryList indexOf: testClass category) put: true.
  	^ ToolBuilder open: runner!

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.