envisage.tests.test_composite_plugin_manager module

Tests for the composite plugin manager.

class envisage.tests.test_composite_plugin_manager.CompositePluginManagerTestCase(methodName='runTest')[source]

Bases: TestCase

Tests for the composite plugin manager.

test_application_gets_propogated_to_plugin_managers()[source]
test_correct_exception_propagated_from_plugin_manager()[source]
test_find_no_plugins_if_there_are_no_plugin_managers()[source]
test_find_no_plugins_if_there_are_no_plugins_in_plugin_managers()[source]
test_find_plugins_in_a_multiple_plugin_managers()[source]
test_find_plugins_in_a_single_plugin_manager()[source]
test_propogate_plugin_added_or_remove_events_from_plugin_managers()[source]
exception envisage.tests.test_composite_plugin_manager.CustomException[source]

Bases: Exception

Custom exception used for testing purposes.

class envisage.tests.test_composite_plugin_manager.RaisingPluginManager(plugins=None, **traits)[source]

Bases: PluginManager

A PluginManager that raises on iteration.

class envisage.tests.test_composite_plugin_manager.SimplePlugin[source]

Bases: Plugin

A simple plugin.

start()[source]

Start the plugin.

stop()[source]

Stop the plugin.