[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kdelibs] [Bug 324324] New: FAIL!  : KStringHandlerTest::naturalCompare()
From:       Christopher Yeleighton <giecrilj () stegny ! 2a ! pl>
Date:       2013-08-31 17:26:55
Message-ID: bug-324324-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=324324

            Bug ID: 324324
           Summary: FAIL!  : KStringHandlerTest::naturalCompare()
    Classification: Unclassified
           Product: kdelibs
           Version: 4.10.5
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: kdecore
          Assignee: kdelibs-bugs@kde.org
          Reporter: giecrilj@stegny.2a.pl

There is no reason to expect that the values returned by KStringHandler
::naturalCompare and QString::localeAwareCompare are the same.

Test command:
/home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/build/kdecore/tests/kstringhandlertest.shell

FAIL!  : KStringHandlerTest::naturalCompare() Compared values are not the same
Actual (KStringHandler::naturalCompare("A", "a", Qt::CaseSensitive)): -1
Expected (QString::localeAwareCompare("A", "a")): -32
Loc:
[/home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/kdecore/tests/kstringhandlertest.cpp(58)]

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic