Disable unit tests which can't work in ANSI build.
Disable unit tests involving operations (such as conversions between UTF and anything but plain ASCII) not available in ANSI build. This fixes the test suite for non-Unicode build under Unix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -515,10 +515,12 @@ void StdStringTestCase::StdResize()
|
||||
CPPUNIT_ASSERT_EQUAL( wxT("abcABCdefDEF "), s3 );
|
||||
CPPUNIT_ASSERT_EQUAL( wxT("abcABCdefDEFWW"), s4 );
|
||||
|
||||
#if wxUSE_UNICODE
|
||||
wxString s =
|
||||
wxString::FromUTF8("\xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82");
|
||||
s.resize(3);
|
||||
CPPUNIT_ASSERT_EQUAL( wxString::FromUTF8("\xd0\x9f\xd1\x80\xd0\xb8"), s);
|
||||
#endif // wxUSE_UNICODE
|
||||
}
|
||||
|
||||
void StdStringTestCase::StdRiter()
|
||||
|
Reference in New Issue
Block a user