[squeak-dev] [Test failure] FileStreamTest>>testPositionPastEndIsAtEnd

Levente Uzonyi leves at elte.hu
Wed Nov 3 16:36:42 UTC 2010


On Wed, 3 Nov 2010, Hannes Hirzel wrote:

> Fine, which fix (reference to Squeak list mail, or Mantis entry)?

I couldn't find the thread with the discussion, but here is the commit 
mail:

http://lists.squeakfoundation.org/pipermail/vm-dev/2010-April/004187.html


Levente

>
> --Hannes
>
> On 11/3/10, Levente Uzonyi <leves at elte.hu> wrote:
>> On Wed, 3 Nov 2010, Hannes Hirzel wrote:
>>
>>> Hello,
>>>
>>> Any ideas how to fix the cause for the following test to fail
>>
>> Add the fix from SqueakVM to CogVM.
>>
>>
>> Levente
>>
>>>
>>> --Hannes
>>>
>>> ==============================================================
>>>
>>> testPositionPastEndIsAtEnd
>>> 	"Tests that a file positioned after its end responds true to #atEnd"
>>>
>>> 	| filename file |
>>> 	filename := 'filestream.tst'.
>>> 	file := StandardFileStream forceNewFileNamed: filename.
>>> 	[
>>> 		file position: 1000.
>>> 		self assert: file atEnd.
>>> 	] ensure:[
>>> 		file close.
>>> 		FileDirectory default deleteFileNamed: filename ifAbsent:[].
>>> 	].
>>>
>>>
>>
>>
>
>



More information about the Squeak-dev mailing list