Package elisa :: Package core :: Package tests :: Module test_plugin_registry :: Class TestPluginRegistry
[hide private]
[frames] | no frames]

Class TestPluginRegistry

source code


Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
source code
 
test_plugin_registration(self)
Check plugin classes registering/unregistering works
source code
 
test_plugin_loading(self)
Check the plugins declared in the config are loaded
source code
 
test_plugin_instantiation(self)
Check Plugin instances are lazily referenced by the manager
source code
 
test_plugin_instantiation_failures(self)
Test several error cases of plugin instantiation.
source code
 
test_component_creation(self)
Check Components are correctly instantiated by the manager
source code
 
test_component_creation_deferred_initialize(self)
Check components that return a deferred from Component.initialize()
source code
 
test_component_creation_failures(self) source code
 
test_multiple_component_creation(self)
Check the manager can create multiple instance of the same component
source code
 
test_create_component(self) source code
 
test_get_component_class(self) source code
 
test_split_component_path(self) source code

Inherited from elisa_test_case.ElisaTestCase: __init__, check_called, debug, info

Inherited from twisted.trial.unittest.TestCase: __call__, deferSetUp, deferSetUpClass, deferTearDown, deferTearDownClass, deferTestMethod, flushLoggedErrors, getSkip, getSuppress, getTimeout, getTodo, mktemp, run, runTest, shortDescription, visit

Inherited from twisted.trial.unittest.TestCase (private): _cbDeferTestMethod, _classCleanUp, _cleanUp, _deprecateReactor, _ebDeferSetUp, _ebDeferSetUpClass, _ebDeferTearDown, _ebDeferTestMethod, _ebTearDownClass, _getReason, _installObserver, _isFirst, _isLast, _makeReactorMethod, _prepareClassFixture, _removeObserver, _run, _undeprecateReactor, _wait

Inherited from twisted.trial.unittest._Assertions: assertAlmostEqual, assertAlmostEquals, assertApproximates, assertEqual, assertEquals, assertFailure, assertFalse, assertIdentical, assertIn, assertNot, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIdentical, assertNotIn, assertNotSubstring, assertRaises, assertSubstring, assertTrue, assert_, fail, failIf, failIfAlmostEqual, failIfAlmostEquals, failIfEqual, failIfEquals, failIfIdentical, failIfIn, failIfSubstring, failUnless, failUnlessAlmostEqual, failUnlessAlmostEquals, failUnlessApproximates, failUnlessEqual, failUnlessEquals, failUnlessFailure, failUnlessFalse, failUnlessIdentical, failUnlessIn, failUnlessRaises, failUnlessSubstring, failUnlessTrue

Inherited from unittest.TestCase: __providedBy__, __repr__, __str__, countTestCases, defaultTestResult, id

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Inherited from extern.log.log.Loggable: doLog, error, log, logFunction, logObjectName, warning, warningFailure

Class Methods [hide private]

Inherited from twisted.trial.unittest.TestCase (private): _initInstances

Class Variables [hide private]

Inherited from elisa_test_case.ElisaTestCase: default_config, load_all_plugins

Inherited from twisted.trial.unittest.TestCase: __implemented__, __provides__

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]

Inherited from twisted.trial.unittest.TestCase: failureException, forceGarbageCollection, skip, suppress, timeout, todo

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 
Hook method for setting up the test fixture before exercising it.
Overrides: elisa_test_case.ElisaTestCase.setUp

tearDown(self)

source code 
Hook method for deconstructing the test fixture after testing it.
Overrides: unittest.TestCase.tearDown
(inherited documentation)