[Pharo-project] removing DataStreamTest?
Hi I was planning to fix the two tests so that the file is deleted in the teardown but I really wonder if there are testing anything. New issue 5321 by renggli: DataStreamTest creates files that are not deleted http://code.google.com/p/pharo/issues/detail?id=5321 DataStreamTest>>#testFileNamedtest DataStreamTest>>#testReadOnlyFileNamedtest testFileNamed | testString file | testString := 'testString'. file := ReferenceStream fileNamed: (self name, 'test'). file nextPut: testString. file close. file := ReferenceStream fileNamed: (self name, 'test'). self assert: file next = testString. file close. testReadOnlyFileNamed | testString file | testString := 'testString'. file := ReferenceStream fileNamed: (self name, 'test'). file nextPut: testString. file close. file := ReferenceStream readOnlyFileNamed: (self name, 'test'). self assert: file next = testString. file close.
participants (1)
-
Stéphane Ducasse