Class e.c.t.t.TestPluginRegistry(TestPluginRegistryMixin, TestCase):

Part of elisa.core.tests.test_plugin_registry View In Hierarchy

No class docstring
Line # Kind Name Docs
150 Method setUp Undocumented
163 Method tearDown Undocumented
169 Method test_import Import a component from a plugin.
177 Method test_gstreamer_plugin Import a component from a plugin.
186 Method test_create Create a component calling ComponentClass.create().
206 Method test_create_component_factory Create a component with PluginRegistry.create_component.
229 Method test_create_component_factory_invalid_path Undocumented
234 Method test_get_plugin_names Get the list of available plugins.
241 Method test_default_config Create a component and check that the default configuration is loaded.
258 Method test_application_config Create a component and check that the configuration is loaded from the
282 Method test_hot_upgrade Load a component from a plugin, then upgrade the plugin and check that
312 Method test_reload_cache Undocumented
323 Method test_update_cache Undocumented
369 Method test_get_downloadable_plugins Undocumented
384 Method test_download_plugin Undocumented
159 Method _patch_getpage Undocumented
166 Method _unpatch_getpage Undocumented

Inherited from TestPluginRegistryMixin:

Line # Kind Name Docs
105 Method patch_application Setup common.application, saving the old application object.
122 Method unpatch_application Restore the application object saved in patch_application().
129 Method copy_plugins Undocumented
135 Method install_plugin Undocumented
141 Method uninstall_plugin Undocumented
def setUp(self):
Undocumented
def _patch_getpage(self):
Undocumented
def tearDown(self):
Undocumented
def _unpatch_getpage(self):
Undocumented
def test_import(self):
Import a component from a plugin.

Check that the normal import statement works correctly.

def test_gstreamer_plugin(self):
Import a component from a plugin.

Check that the normal import statement works correctly.

def test_create(self):
Create a component calling ComponentClass.create().

Check that a component can be created given its class.

def test_create_component_factory(self):
Create a component with PluginRegistry.create_component.

Check that a plugin can be created given its path.

def test_create_component_factory_invalid_path(self):
Undocumented
def test_get_plugin_names(self):
Get the list of available plugins.
def test_default_config(self):
Create a component and check that the default configuration is loaded.
def test_application_config(self):
Create a component and check that the configuration is loaded from the configuration file.
def test_hot_upgrade(self):
Load a component from a plugin, then upgrade the plugin and check that the component is reloaded.
def test_reload_cache(self):
Undocumented
def test_update_cache(self):
Undocumented
def test_get_downloadable_plugins(self):
Undocumented
def test_download_plugin(self):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2009-04-27 17:55:12.