The Trunk: CollectionsTests-dtl.318.mcz

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

The Trunk: CollectionsTests-dtl.318.mcz

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