git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42681
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif
#include "wx/mstream.h"
#endif
#include "wx/mstream.h"
-#include "wx/fileback.h"
+#include "wx/private/fileback.h"
const size_t TESTSIZE = 256;
const size_t BUFSIZE = 100;
const size_t TESTSIZE = 256;
const size_t BUFSIZE = 100;
///////////////////////////////////////////////////////////////////////////////
// Parent stream for testing
///////////////////////////////////////////////////////////////////////////////
// Parent stream for testing
for (wxFileOffset i = TESTSIZE - 1; i >= 0; i--) {
CPPUNIT_ASSERT_EQUAL(i, in.SeekI(i));
CPPUNIT_ASSERT_EQUAL(i, in.TellI());
for (wxFileOffset i = TESTSIZE - 1; i >= 0; i--) {
CPPUNIT_ASSERT_EQUAL(i, in.SeekI(i));
CPPUNIT_ASSERT_EQUAL(i, in.TellI());
- CPPUNIT_ASSERT_EQUAL(char(i), in.GetC());
+ CPPUNIT_ASSERT_EQUAL(int(i), in.GetC());
CPPUNIT_ASSERT_EQUAL(size_t(1), in.LastRead());
CPPUNIT_ASSERT(in.IsOk());
}
CPPUNIT_ASSERT_EQUAL(size_t(1), in.LastRead());
CPPUNIT_ASSERT(in.IsOk());
}
// Register the stream sub suite, by using some stream helper macro.
// Note: Don't forget to connect it to the base suite (See: bstream.cpp => StreamCase::suite())
STREAM_TEST_SUBSUITE_NAMED_REGISTRATION(backStream)
// Register the stream sub suite, by using some stream helper macro.
// Note: Don't forget to connect it to the base suite (See: bstream.cpp => StreamCase::suite())
STREAM_TEST_SUBSUITE_NAMED_REGISTRATION(backStream)
-
-#endif // wxUSE_STREAMS