Part of elisa.core.tests.test_plugin_registry View In Hierarchy
Line # | Kind | Name | Docs |
---|---|---|---|
119 | Method | setUp | Undocumented |
126 | Method | test_import | Import a component from a plugin. |
134 | Method | test_gstreamer_plugin | Import a component from a plugin. |
143 | Method | test_create | Create a component calling ComponentClass.create(). |
163 | Method | test_create_component_factory | Create a component with PluginRegistry.create_component. |
186 | Method | test_create_component_factory_invalid_path | Undocumented |
191 | Method | test_get_plugin_names | Get the list of available plugins. |
198 | Method | test_default_config | Create a component and check that the default configuration is loaded. |
215 | Method | test_application_config | Create a component and check that the configuration is loaded from the |
239 | Method | test_hot_upgrade | Load a component from a plugin, then upgrade the plugin and check that |
Inherited from TestPluginRegistryMixin:
Line # | Kind | Name | Docs |
---|---|---|---|
71 | Method | tearDown | Undocumented |
75 | Method | patch_application | Setup common.application, saving the old application object. |
92 | Method | unpatch_application | Restore the application object saved in patch_application(). |
99 | Method | copy_plugins | Undocumented |
105 | Method | install_plugin | Undocumented |
111 | Method | uninstall_plugin | Undocumented |
Import a component from a plugin.
Check that the normal import statement works correctly.Import a component from a plugin.
Check that the normal import statement works correctly.Create a component calling ComponentClass.create().
Check that a component can be created given its class.Create a component with PluginRegistry.create_component.
Check that a plugin can be created given its path.