bruns created this revision. bruns added reviewers: Baloo, Frameworks, ngraham, astippich. Herald added projects: Frameworks, Baloo. Herald added a subscriber: kde-frameworks-devel. bruns requested review of this revision.
REVISION SUMMARY Using the user locale leads to random test failures, as arbitrary parts may have been translated. For localized debugging of the formatting functions, the test can be run with the "--localized" option, using the current user locale. The localized version is added to the test suite to increase code coverage, but failures are ignored. In verbose mode, the formatted and localized strings are shown. Depends on D20032 <https://phabricator.kde.org/D20032> TEST PLAN ctest ctest -V -R propertyinfo LANG=ar ./build/bin/propertyinfotest_bin --localized REPOSITORY R286 KFileMetaData BRANCH i18n REVISION DETAIL https://phabricator.kde.org/D20033 AFFECTED FILES autotests/CMakeLists.txt autotests/propertyinfotest.cpp autotests/propertyinfotest.h To: bruns, #baloo, #frameworks, ngraham, astippich Cc: kde-frameworks-devel, gennad, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams