D20033: Default string formatting test to C locale, add localized run

Stefan BrĂ¼ns noreply at phabricator.kde.org
Mon Mar 25 00:44:40 GMT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190325/6370b483/attachment.html>


More information about the Kde-frameworks-devel mailing list