Skip to content
Snippets Groups Projects
Commit 27d1a6d7 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

#6109: Fix daemon plugin manager unit test

parent 74b86375
No related branches found
No related tags found
No related merge requests found
...@@ -102,20 +102,31 @@ void PluginManagerTest::testRegisterPlugin() ...@@ -102,20 +102,31 @@ void PluginManagerTest::testRegisterPlugin()
void PluginManagerTest::testLoadPlugins () void PluginManagerTest::testLoadPlugins ()
{ {
_debug ("-------------------- PluginManagerTest::testLoadPlugins --------------------\n"); _debug ("-------------------- PluginManagerTest::testLoadPlugins --------------------\n");
try {
CPPUNIT_ASSERT (_pm->loadPlugins (PLUGIN_TEST_DIR) == 0); CPPUNIT_ASSERT (_pm->loadPlugins (PLUGIN_TEST_DIR) == 0);
CPPUNIT_ASSERT (_pm->isPluginLoaded (PLUGIN_TEST_DESC) == true); CPPUNIT_ASSERT (_pm->isPluginLoaded (PLUGIN_TEST_DESC) == true);
} }
catch (LibraryManagerException &e){
}
}
void PluginManagerTest::testUnloadPlugins () void PluginManagerTest::testUnloadPlugins ()
{ {
_debug ("-------------------- PluginManagerTest::testUnloadPlugins --------------------\n"); _debug ("-------------------- PluginManagerTest::testUnloadPlugins --------------------\n");
try {
CPPUNIT_ASSERT (_pm->loadPlugins (PLUGIN_TEST_DIR) == 0); CPPUNIT_ASSERT (_pm->loadPlugins (PLUGIN_TEST_DIR) == 0);
CPPUNIT_ASSERT (_pm->isPluginLoaded (PLUGIN_TEST_DESC) == true); CPPUNIT_ASSERT (_pm->isPluginLoaded (PLUGIN_TEST_DESC) == true);
CPPUNIT_ASSERT (_pm->unloadPlugins () == 0); CPPUNIT_ASSERT (_pm->unloadPlugins () == 0);
CPPUNIT_ASSERT (_pm->isPluginLoaded (PLUGIN_TEST_DESC) == false); CPPUNIT_ASSERT (_pm->isPluginLoaded (PLUGIN_TEST_DESC) == false);
} }
catch (LibraryManagerException &e) {
}
}
void PluginManagerTest::tearDown() void PluginManagerTest::tearDown()
{ {
......
...@@ -54,7 +54,7 @@ preferences: ...@@ -54,7 +54,7 @@ preferences:
historyMaxCalls: 20 historyMaxCalls: 20
md5Hash: false md5Hash: false
notifyMails: false notifyMails: false
order: Account:1303487773/Account:1303247743/Account:1302895321/Account:1302892836/Account:1302891834/Account:1302882519/Account:1302207377/Account:1302207262/Account:1302204136/Account:1302204108/Account:1294850905/Account:1294850775/Account:1294850618/Account:1294849651/Account:1294849602/Account:1294849310/Account:1288964768/Account:1288964603/Account:1288964434/Account:1288964141/Account:1288964134/ order: Account:1307975440/Account:1307975347/Account:1307974800/Account:1307974672/Account:1307974527/Account:1303487773/Account:1303247743/Account:1302895321/Account:1302892836/Account:1302891834/Account:1302882519/Account:1302207377/Account:1302207262/Account:1302204136/Account:1302204108/Account:1294850905/Account:1294850775/Account:1294850618/Account:1294849651/Account:1294849602/Account:1294849310/Account:1288964768/Account:1288964603/Account:1288964434/Account:1288964141/Account:1288964134/
portNum: 5060 portNum: 5060
registrationExpire: 180 registrationExpire: 180
searchBarDisplay: true searchBarDisplay: true
...@@ -89,6 +89,10 @@ audio: ...@@ -89,6 +89,10 @@ audio:
frameSize: 20 frameSize: 20
plugin: default plugin: default
smplRate: 44100 smplRate: 44100
alwaysRecording: false
echoCancel: false
echoDelayLength: 0
echoTailLength: 0
noiseReduce: true noiseReduce: true
pulse: pulse:
devicePlayback: alsa_output.pci-0000_00_1b.0.analog-stereo devicePlayback: alsa_output.pci-0000_00_1b.0.analog-stereo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment