]> git.saurik.com Git - wxWidgets.git/commitdiff
removed the test which never works: Lower/Upper() don't work with Unicode strings...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 6 Jun 2008 20:55:39 +0000 (20:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 6 Jun 2008 20:55:39 +0000 (20:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/strings/strings.cpp

index e56d7e9a25a7c54e93232616a9bc560ba630de9d..e5858886bc6d34e410ed508ca40b0e1dad7c912a 100644 (file)
@@ -374,22 +374,6 @@ void StringTestCase::CaseChanges()
     CPPUNIT_ASSERT( s1l == _T("hello!") );
     CPPUNIT_ASSERT( s2u == 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()