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:
Vadim Zeitlin
2008-07-12 02:30:06 +00:00
parent c515e20be4
commit bf451723ca

View File

@@ -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