[Pkg] The Trunk: Compiler-ar.112.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jan 3 13:25:00 UTC 2010

Andreas Raab uploaded a new version of Compiler to project The Trunk:

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

Name: Compiler-ar.112
Author: ar
Time: 3 January 2010, 2:24:27 am
UUID: 6ebd47ad-90c6-c646-952e-75ee317c35e0
Ancestors: Compiler-nice.111

Remove unnecessary XMLWriter dependency from a compiler test.

=============== Diff against Compiler-nice.111 ===============

Item was changed:
  ----- Method: MethodHighlightingTests>>asXML (in category 'tests') -----
  	"self new asXML"
  	"Convert the master index into external XML representation"
  	^String streamContents:[:s| | writer |
+ 		writer := self xmlWriter on: s.
- 		writer := XMLWriter on: s.
  		writer xmlDeclaration: '1.0'.
  		writer startTag: 'recording'; endTag.
  			writer tag: 'creator' pcData: creator.
  			writer tag: 'timestamp' pcData: timeStamp.
  			writer tag: 'duration' pcData: duration.
  			writer startTag: 'tracks'; endTag.
  				tracks do:[:tdata|
  					writer startTag: 'track'; attribute: 'type' value: tdata value; endTag.
  					writer pcData: tdata key.
  					writer endTag: 'track'.
  			writer endTag: 'tracks'.
  		writer endTag: 'recording'.

More information about the Packages mailing list