Status: Accepted
Owner:
[hidden email]
Labels: Milestone-1.4 Type-Squeak
New issue 4416 by
[hidden email]: StreamTests
http://code.google.com/p/pharo/issues/detail?id=4416We should check that.
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.
+ !
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker