Issue 5286 in pharo: FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog

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

Issue 5286 in pharo: FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog

pharo
Status: FailingTest
Owner: [hidden email]
Labels: Type-Bug Milestone-1.4

New issue 5286 by [hidden email]:  
FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog
http://code.google.com/p/pharo/issues/detail?id=5286

On jenkins, FileStreamTest>>testPositionPastEndIsAtEnd is failing




_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5286 in pharo: FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog

pharo
Updates:
        Status: Workneeded

Comment #1 on issue 5286 by [hidden email]:  
FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog
http://code.google.com/p/pharo/issues/detail?id=5286

To get the tests green, we should move failing tests to the bug tracker.

TODO:

- remove from image
- attach here as part of a normal bug report




_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5286 in pharo: FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog

pharo
Updates:
        Labels: -Milestone-1.4

Comment #2 on issue 5286 by [hidden email]:  
FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog
http://code.google.com/p/pharo/issues/detail?id=5286

testPositionPastEndIsAtEnd
        "Tests that a file positioned after its end responds true to #atEnd"
        "self debug: #testPositionPastEndIsAtEnd"
        | filename file |
        filename := 'filestream.tst'.
        file := StandardFileStream forceNewFileNamed: filename.
        [ file position: 1000.
        self assert: file atEnd.] ensure:
                [file close.
                FileDirectory default deleteFileNamed: filename ifAbsent:[]]

Attachments:
        FileStreamTest-testPositionPastEndIsAtEnd.st  560 bytes


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5286 in pharo: FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog

pharo

Comment #3 on issue 5286 by [hidden email]:  
FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog
http://code.google.com/p/pharo/issues/detail?id=5286

testPositionPastEndIsAtEnd
        "Tests that a file positioned after its end responds true to #atEnd"
        "self debug: #testPositionPastEndIsAtEnd"
        | filename file |
        filename := 'filestream.tst'.
        file := StandardFileStream forceNewFileNamed: filename.
        [ file position: 1000.
        self assert: file atEnd.] ensure:
                [file close.
                FileDirectory default deleteFileNamed: filename ifAbsent:[]]

Attachments:
        FileStreamTest-testPositionPastEndIsAtEnd.st  560 bytes


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5286 in pharo: FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog

pharo
Updates:
        Labels: Milestone-2.0

Comment #4 on issue 5286 by [hidden email]:  
FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog
http://code.google.com/p/pharo/issues/detail?id=5286

Marcus, this issue is still valid?


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5286 in pharo: FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog

pharo

Comment #5 on issue 5286 by [hidden email]:  
FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog
http://code.google.com/p/pharo/issues/detail?id=5286

I don't know. I removed the test and put it here.

The only way to tell is to run the test.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5286 in pharo: FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog

pharo
Updates:
        Status: WorkNeeded

Comment #6 on issue 5286 by [hidden email]:  
FileStreamTest>>testPositionPastEndIsAtEnd failing on Cog
http://code.google.com/p/pharo/issues/detail?id=5286

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker