Repair the stream tests.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2009-12-30 17:39:47 +00:00
parent 61a69259c4
commit c896c76129
2 changed files with 1 additions and 10 deletions

View File

@@ -217,9 +217,6 @@ protected:
CleanupHelper cleanup(this);
TStreamIn &stream_in = CreateInStream();
// this test shouldn't be used at all if the stream isn't seekable
CPPUNIT_ASSERT( stream_in.IsSeekable() );
CPPUNIT_ASSERT(!stream_in.Eof());
// Try to Get the location in the stream...
@@ -361,9 +358,6 @@ protected:
CleanupHelper cleanup(this);
TStreamOut &stream_out = CreateOutStream();
// If this test is used, the stream must be seekable
CPPUNIT_ASSERT( stream_out.IsSeekable() );
// Try to Get the location in the stream...
CPPUNIT_ASSERT_EQUAL(0, stream_out.TellO());
(void)stream_out.PutC('1');