[squeak-dev] The Inbox: CollectionsTests-topa.185.mcz

Tobias Pape Das.Linux at gmx.de
Mon May 23 11:56:22 UTC 2011


This test is failing in Trunk.
A possibile fix is adding:


ReadWriteStream>>on: aCollection

	super on: aCollection.
	readLimit := aCollection size.


So Long,
	-Tobias

Am 2011-05-23 um 11:50 schrieb commits at source.squeak.org:

> A new version of CollectionsTests was added to project The Inbox:
> http://source.squeak.org/inbox/CollectionsTests-topa.185.mcz
> 
> ==================== Summary ====================
> 
> Name: CollectionsTests-topa.185
> Author: topa
> Time: 23 May 2011, 1:50:29.396 pm
> UUID: 8e536e32-1fb9-4bdd-8d4b-3088b46e41a9
> Ancestors: CollectionsTests-nice.184
> 
> Mall testcase for RWBinaryOrTextStream on exisiting 
> collections.
> 
> =============== Diff against CollectionsTests-nice.184 ===============
> 
> Item was added:
> + ----- Method: RWBinaryOrTextStreamTest>>testExisiting (in category 'tests') -----
> + testExisiting
> + 
> + 	| string stream |
> + 	
> + 	string := 'hello'.
> + 	
> + 	stream := RWBinaryOrTextStream on: string.
> + 	self assert: stream contents = string.
> + 
> + 	stream := RWBinaryOrTextStream on: string.
> + 	stream setToEnd.
> + 	self assert: stream position = string size.
> + !
> 
> 




More information about the Squeak-dev mailing list