summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/qa/unit/test.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/configmgr/qa/unit/test.cxx b/configmgr/qa/unit/test.cxx
index 217f386456ee..03d44a9947ee 100644
--- a/configmgr/qa/unit/test.cxx
+++ b/configmgr/qa/unit/test.cxx
@@ -325,6 +325,15 @@ void Test::testLocalizedProperty() {
CPPUNIT_ASSERT_EQUAL(OUString("pt-PT"), v);
}
{
+ // See <https://gerrit.libreoffice.org/c/core/+/147089> "configmgr: fix no longer found
+ // es-419 -> es fallback", which wants to retrieve the xml:lang="es" value for the passed-in
+ // "es-419" locale:
+ OUString v;
+ CPPUNIT_ASSERT(
+ access->getByHierarchicalName("/org.libreoffice.unittest/localized/*es-419") >>= v);
+ CPPUNIT_ASSERT_EQUAL(OUString("es"), v);
+ }
+ {
// Make sure a degenerate passed-in "-" locale is handled gracefully:
OUString v;
CPPUNIT_ASSERT(