added wxTextOutputStream::Flush(): this is necessary with the stateful encodings, such as UTF-7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1050,6 +1050,9 @@ void MBConvTestCase::TestStreamEncoder(
|
||||
{
|
||||
textOutputStream.PutChar( wideBuffer[i] );
|
||||
}
|
||||
|
||||
textOutputStream.Flush();
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL( (wxFileOffset)multiBytes, memoryOutputStream.TellO() );
|
||||
wxCharBuffer copy( memoryOutputStream.TellO() );
|
||||
memoryOutputStream.CopyTo( copy.data(), memoryOutputStream.TellO());
|
||||
|
Reference in New Issue
Block a user