+void strStream::CheckString(const wxString& text)
+{
+ wxStringOutputStream sos;
+
+ const wxCharBuffer buf(text.To8BitData());
+ sos.Write(buf, buf.length());
+
+ CPPUNIT_ASSERT_EQUAL( text, sos.GetString() );
+}
+
+void strStream::Output_Check()
+{
+ CheckString("Hello world!");
+ CheckString(wxString("hi\0dden", 8));
+}