envisage.tests.test_plugin module

Tests for plugins.

class envisage.tests.test_plugin.PluginTestCase(methodName='runTest')[source]

Bases: TestCase

Tests for plugins.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_add_plugins_to_empty_application()[source]

add plugins to empty application

test_contributes_to()[source]

contributes to

test_exception_in_trait_contribution()[source]

exception in trait contribution

test_home()[source]

home

test_id_policy()[source]

id policy

test_multiple_trait_contributions()[source]

multiple trait contributions

test_name_policy()[source]

name policy

test_no_recursion()[source]

Regression test for #119.

test_plugin_activator()[source]

plugin activator.

test_plugin_str_representation()[source]

test the string representation of the plugin

test_service()[source]

service

test_service_protocol()[source]

service protocol

class envisage.tests.test_plugin.TestPlugin[source]

Bases: Plugin