[squeak-dev] The Trunk: KernelTests-ct.440.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Nov 25 17:19:59 UTC 2022


Christoph Thiede uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-ct.440.mcz

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

Name: KernelTests-ct.440
Author: ct
Time: 25 November 2022, 6:19:58.271214 pm
UUID: 968dccd6-663d-7a45-9093-76cfa43220e5
Ancestors: KernelTests-nice.439

Complements Kernel-ct.1493 (recursive process-faithful debugging)/merges recursive-profaide.

=============== Diff against KernelTests-nice.439 ===============

Item was added:
+ ----- Method: ProcessTest>>testProcessFaithfulSimulationMeta (in category 'tests') -----
+ testProcessFaithfulSimulationMeta
+ 	"While stacking multiple simulation processes into each other, process variables should be looked up in the process being simulated. Acceptance test for process-faithful debugging, see #evaluate:onBehalfOf:."
+ 
+ 	| process result metaProcess |
+ 	process := Process forBlock: [
+ 		result := Processor activeProcess environmentAt: #foo].
+ 	process environmentAt: #foo put: 42.
+ 	
+ 	metaProcess := Process forBlock: [
+ 		process runUntil: [:context | context isDead]].
+ 	metaProcess runUntil: [:context | context isDead].
+ 	
+ 	self assert: 42 equals: result.!



More information about the Squeak-dev mailing list