[squeak-dev] The Trunk: GraphicsTests-dtl.45.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Nov 15 03:44:35 UTC 2017


David T. Lewis uploaded a new version of GraphicsTests to project The Trunk:
http://source.squeak.org/trunk/GraphicsTests-dtl.45.mcz

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

Name: GraphicsTests-dtl.45
Author: dtl
Time: 14 November 2017, 10:44:29.014493 pm
UUID: 9ccfae93-4e04-47d7-a565-9ad5eda7009c
Ancestors: GraphicsTests-dtl.44

Remove unnecessary references to global World.

=============== Diff against GraphicsTests-dtl.44 ===============

Item was changed:
  ----- Method: PNGReadWriterTest>>encodeAndDecodeDisplay: (in category 'helpers') -----
  encodeAndDecodeDisplay: depth
  	| form |
  	fileName := 'testDisplay', depth printString,'.png'.
  	form := Form extent: (Display extent min: 560 at 560) depth: depth.
  	Smalltalk isMorphic 
+ 		ifTrue:[Project current world fullDrawOn: form getCanvas]
- 		ifTrue:[World fullDrawOn: form getCanvas]
  		ifFalse:[Display displayOn: form].
  	self encodeAndDecode: form.!

Item was changed:
  ----- Method: PNGReadWriterTest>>tearDown (in category 'helpers') -----
  tearDown
+ 	Project current world changed.
- 	World changed.
  	fileName notNil ifTrue: [FileDirectory default deleteFileNamed: fileName]!



More information about the Squeak-dev mailing list