[squeak-dev] The Trunk: ToolsTests-mt.96.mcz

commits at source.squeak.org commits at source.squeak.org
Fri May 15 08:17:13 UTC 2020


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

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

Name: ToolsTests-mt.96
Author: mt
Time: 15 May 2020, 10:17:11.552447 am
UUID: 60cf49eb-5d79-5244-8b92-930d37256988
Ancestors: ToolsTests-mt.95

Fixes tests for CompiledCodeInspector.

Hmm... Maybe #compiledCode would be a better accessor for BlockClosure? Comparing with #sourceCode?

=============== Diff against ToolsTests-mt.95 ===============

Item was changed:
  ----- Method: CompiledCodeInspectorTest>>createObject (in category 'running') -----
  createObject
  	"Note that we cannot return the block directly but require the indirection of #evaluate: because the resulting block will be modified during the tests. A block directly embedded in this #createObject method, however, would be re-used across test runs."
  	
  	InnerTestObject := super createObject.
  	^ Compiler new
+ 		evaluate: '[String withAll: #[67 97 114 112 101] "Carpe", #Squeak, InnerTestObject printString] method'
- 		evaluate: '[String withAll: #[67 97 114 112 101] "Carpe", #Squeak, InnerTestObject printString] compiledBlock'
  		in: nil
  		to: self "Required for access to InnerTestObject"!



More information about the Squeak-dev mailing list