[squeak-dev] The Trunk: GraphicsTests-nice.19.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jan 18 14:29:09 UTC 2010


Nicolas Cellier uploaded a new version of GraphicsTests to project The Trunk:
http://source.squeak.org/trunk/GraphicsTests-nice.19.mcz

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

Name: GraphicsTests-nice.19
Author: nice
Time: 18 January 2010, 3:29:05.611 pm
UUID: ebb6c3af-9a53-9741-9da2-93f7d62dabdb
Ancestors: GraphicsTests-nice.18

use #forceNewFileNamed:do: pattern

=============== Diff against GraphicsTests-nice.18 ===============

Item was changed:
+ SystemOrganization addCategory: #'GraphicsTests-Files'!
  SystemOrganization addCategory: #'GraphicsTests-Primitives'!
  SystemOrganization addCategory: #'GraphicsTests-Text'!
- SystemOrganization addCategory: #'GraphicsTests-Files'!

Item was changed:
  ----- Method: PNGReadWriterTest>>writeEncoded: (in category 'helpers') -----
  writeEncoded: bytes
- 	| file |
  	fileName ifNil:[^self].
  	false ifTrue:[^self].
+ 	FileStream forceNewFileNamed: fileName do: [:file | file nextPutAll: bytes]!
- 	file := FileStream forceNewFileNamed: fileName.
- 	[file nextPutAll: bytes] ensure:[file close].!




More information about the Squeak-dev mailing list