The Trunk: GraphicsTests-nice.19.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-nice.19.mcz

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