removed a test which doesn't really work

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-07-16 02:18:01 +00:00
parent 6cc415390f
commit bc26d147ac

View File

@@ -324,22 +324,6 @@ void StringTestCase::CaseChanges()
CPPUNIT_ASSERT( s1l == _T("hello!") ); CPPUNIT_ASSERT( s1l == _T("hello!") );
CPPUNIT_ASSERT( s2u == wxEmptyString ); CPPUNIT_ASSERT( s2u == wxEmptyString );
CPPUNIT_ASSERT( s2l == wxEmptyString ); CPPUNIT_ASSERT( s2l == wxEmptyString );
#if !wxUSE_UNICODE
wxLocale locRu(wxLANGUAGE_RUSSIAN, 0 /* flags */);
if ( locRu.IsOk() )
{
// try upper casing 8bit strings
const wchar_t capital_ya[] = { 0x42f, 0 },
small_ya[] = { 0x44f, 0 };
wxString sUpper(wxConvLibc.cWC2MB(capital_ya)),
sLower(wxConvLibc.cWC2MB(small_ya));
CPPUNIT_ASSERT( sUpper.Lower() == sLower );
CPPUNIT_ASSERT( sLower.Upper() == sUpper );
}
#endif // !wxUSE_UNICODE
} }
void StringTestCase::Compare() void StringTestCase::Compare()