Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit fa4ce7f6 authored by Sergio Martins's avatar Sergio Martins

knode: Print which charset made the unit-test fail

parent cce44af4
......@@ -91,7 +91,10 @@ void KNodeTest::testUtilitiesLocale()
// Check that every name from "KCharsets::availableEncodingNames()" will be taken into account
QStringList kcharsetNames = kcharsetVsMime.keys();
foreach( const QString &encName, KGlobal::charsets()->availableEncodingNames() ) {
QVERIFY( kcharsetNames.contains( encName ) );
if ( !kcharsetNames.contains( encName ) ) {
qWarning() << "Failing charset is: " << encName;
QVERIFY( false );
}
}
// Check that the convertion in Locale::toMimeCharset() is correct for these
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment