summaryrefslogtreecommitdiff
path: root/configmgr/qa/unit
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/qa/unit')
-rw-r--r--configmgr/qa/unit/test.cxx23
1 files changed, 17 insertions, 6 deletions
diff --git a/configmgr/qa/unit/test.cxx b/configmgr/qa/unit/test.cxx
index 60d19be8472c..aa5b137413d3 100644
--- a/configmgr/qa/unit/test.cxx
+++ b/configmgr/qa/unit/test.cxx
@@ -205,12 +205,23 @@ void Test::setUp()
void Test::testKeyFetch()
{
- OUString s;
- CPPUNIT_ASSERT(
- getKey(
- "/org.openoffice.System",
- "L10N/Locale") >>=
- s);
+ {
+ OUString s;
+ CPPUNIT_ASSERT(
+ getKey(
+ "/org.openoffice.System",
+ "L10N/Locale") >>=
+ s);
+ }
+ {
+ auto const v = getKey(
+ "/org.openoffice.Office.Embedding",
+ "MimeTypeClassIDRelations/['application/vnd.sun.xml.report.chart']");
+ OUString s;
+ CPPUNIT_ASSERT(v >>= s);
+ CPPUNIT_ASSERT_EQUAL(OUString("80243D39-6741-46C5-926E-069164FF87BB"), s);
+ // cf. officecfg/registry/data/org/openoffice/Office/Embedding.xcu
+ }
}
void Test::testKeySet()