Default string formatting test to C locale, add localized run

Authored by bruns on Mar 25 2019, 12:13 AM.

Description

Default string formatting test to C locale, add localized run

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

Test Plan:
ctest
ctest -V -R propertyinfo
LANG=ar ./build/bin/propertyinfotest_bin --localized

Reviewers: Baloo, Frameworks, ngraham, astippich

Reviewed By: astippich

Subscribers: kde-frameworks-devel

Tags: Frameworks, Baloo

Differential Revision: https://phabricator.kde.org/D20033

Details

Committed
brunsApr 4 2019, 9:52 PM
Reviewer
astippich
Differential Revision
D20033: Default string formatting test to C locale, add localized run
Parents
R286:452edb1b4c80: Cleanup taglib writer test
Branches
Unknown
Tags
Unknown