KCompletion test failing

David Gil Oliva davidgiloliva at gmail.com
Thu Mar 26 21:45:18 UTC 2015


Hi!

The following test fails. From the message about QCollator, I suspect it is
due to QCollator, not to KCompletion. Someone can give me a hint whether I
am right?

Thanks!

david at nimfa:~/devel/kf5-development/build/frameworks/kcompletion/autotests$
./kcompletioncoretest
********* Start testing of Test_KCompletion *********
Config: Using QtTest library 5.4.0, Qt 5.4.0 (i386-little_endian-ilp32
shared (dynamic) debug build; by GCC 4.8.2)
PASS   : Test_KCompletion::initTestCase()
PASS   : Test_KCompletion::isEmpty()
PASS   : Test_KCompletion::insertionOrder()
QWARN  : Test_KCompletion::sortedOrder() kcompletioncoretest(5887)/default
QCollator::setCaseSensitivity: unsupported in the posix collation
implementation
FAIL!  : Test_KCompletion::sortedOrder() Compared values are not the same
   Actual   (matches[0]): "carpet at test.org"
   Expected (carp)      : "carp at test.org"
   Loc:
[/home/david/devel/kf5-development/src/frameworks/kcompletion/autotests/kcompletioncoretest.cpp(115)]
PASS   : Test_KCompletion::weightedOrder()
PASS   : Test_KCompletion::substringCompletion_Insertion()
QWARN  : Test_KCompletion::substringCompletion_Sorted()
kcompletioncoretest(5887)/default QCollator::setCaseSensitivity:
unsupported in the posix collation implementation
FAIL!  : Test_KCompletion::substringCompletion_Sorted() Compared values are
not the same
   Actual   (matches[0]): "carpet at test.org"
   Expected (carp)      : "carp at test.org"
   Loc:
[/home/david/devel/kf5-development/src/frameworks/kcompletion/autotests/kcompletioncoretest.cpp(211)]
PASS   : Test_KCompletion::substringCompletion_Weighted()
PASS   : Test_KCompletion::allMatches_Insertion()
QWARN  : Test_KCompletion::allMatches_Sorted()
kcompletioncoretest(5887)/default QCollator::setCaseSensitivity:
unsupported in the posix collation implementation
FAIL!  : Test_KCompletion::allMatches_Sorted() Compared values are not the
same
   Actual   (matches[0]): "carpet at test.org"
   Expected (carp)      : "carp at test.org"
   Loc:
[/home/david/devel/kf5-development/src/frameworks/kcompletion/autotests/kcompletioncoretest.cpp(308)]
PASS   : Test_KCompletion::allMatches_Weighted()
PASS   : Test_KCompletion::cycleMatches_Insertion()
QWARN  : Test_KCompletion::cycleMatches_Sorted()
kcompletioncoretest(5887)/default QCollator::setCaseSensitivity:
unsupported in the posix collation implementation
FAIL!  : Test_KCompletion::cycleMatches_Sorted() Compared values are not
the same
   Actual   (completion.nextMatch()): "carpet at test.org"
   Expected (carp)                  : "carp at test.org"
   Loc:
[/home/david/devel/kf5-development/src/frameworks/kcompletion/autotests/kcompletioncoretest.cpp(375)]
PASS   : Test_KCompletion::cycleMatches_Weighted()
PASS   : Test_KCompletion::cleanupTestCase()
Totals: 11 passed, 4 failed, 0 skipped
********* Finished testing of Test_KCompletion *********
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150326/e30ce573/attachment.html>


More information about the Kde-frameworks-devel mailing list