Start engine for plugin scan test

This is needed for various cases. The sample-rate needs to be known,
and reading/writing config includes TFSM state, which needs an engine.
This commit is contained in:
Robin Gareus 2020-08-06 17:56:08 +02:00
parent c6a8b848c9
commit 56934284e7
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -28,6 +28,8 @@ print_plugin_info (PluginInfoPtr pp)
void
PluginsTest::test ()
{
create_and_start_dummy_backend ();
PluginManager& pm = PluginManager::instance ();
pm.refresh (true);
@ -50,5 +52,5 @@ PluginsTest::test ()
print_plugin_info (*i);
}
stop_and_destroy_backend ();
}