The Trunk: GraphicsTests-dtl.45.mcz

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

The Trunk: GraphicsTests-dtl.45.mcz

commits-2
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@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]!