check that the stream raises no error other than EOF when it's supposed to be at EOF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -135,6 +135,9 @@ protected:
|
||||
// Travel to the end of the stream.
|
||||
while(!stream_in.Eof())
|
||||
{
|
||||
CPPUNIT_ASSERT_MESSAGE( "unexpected non-EOF stream error",
|
||||
stream_in.IsOk() );
|
||||
|
||||
// Read, we move one byte along.
|
||||
(void)stream_in.GetC();
|
||||
#if 0
|
||||
|
Reference in New Issue
Block a user