From 5962f2b5b1b17e7a091ed4641a21119d85bb388d Mon Sep 17 00:00:00 2001 From: El Mehdi Fekari Date: Mon, 19 May 2014 11:47:36 +0200 Subject: Qnx: Fix broken configuration manager test The change 0e67b293b7eaf0bff055d1587577c453397ba153 broke the configuration manager test since the manager gets now instantiated when loading the plugin whereas the test assumes that it would be instantiated when ::instance() is called the first time. Change-Id: I8f873fa56305da37590e401e8cfb98b8c92fe89d Reviewed-by: Christian Stenger Reviewed-by: Sergio Ahumada --- src/plugins/qnx/qnxplugin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/qnx/qnxplugin.cpp') diff --git a/src/plugins/qnx/qnxplugin.cpp b/src/plugins/qnx/qnxplugin.cpp index 8e54c26a66..426d5f30c2 100644 --- a/src/plugins/qnx/qnxplugin.cpp +++ b/src/plugins/qnx/qnxplugin.cpp @@ -482,6 +482,7 @@ void QnxPlugin::testConfigurationManager_data() void QnxPlugin::testConfigurationManager() { BlackBerryConfigurationManager *manager = BlackBerryConfigurationManager::instance(); + manager->initUnitTest(); QCOMPARE(manager->apiLevels().count(), 0); QCOMPARE(manager->activeApiLevels().count(), 0); -- cgit v1.2.1