[squeak-dev] The Trunk: CollectionsTests-dtl.318.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Sep 22 02:04:56 UTC 2019


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

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

Name: CollectionsTests-dtl.318
Author: dtl
Time: 21 September 2019, 10:04:55.917329 pm
UUID: ef510748-ed5b-4fea-a086-b1b517cbf810
Ancestors: CollectionsTests-mt.317

Add CollectionTest>>testPrintElementsOn to verify behavior required for storing Monticello configurations. The dependency is obscure, so document it in a test.

=============== Diff against CollectionsTests-mt.317 ===============

Item was added:
+ ----- Method: CollectionTest>>testPrintElementsOn (in category 'tests') -----
+ testPrintElementsOn
+ 	"Monticello configurations rely on this behavior for serializing a configuration
+ 	to send to a repository. If the implementation of printElementsOn: changes,
+ 	make sure that MCRepository>>storeVersion: is updated accordingly, and
+ 	fix this test to match."
+ 
+ 	| ws |
+ 	ws := WriteStream on: ''.
+ 	#( one two three ) printElementsOn: ws.
+ 	self assert: '(#one #two #three)' equals: ws contents.
+ !



More information about the Squeak-dev mailing list