Package elisa :: Package core :: Package tests :: Module test_message_bus :: Class TestMessageBus
[hide private]
[frames] | no frames]

Class TestMessageBus

source code


Instance Methods [hide private]
 
__init__(self, methodName='runTest')
Construct an asynchronous test case for methodName.
source code
 
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_delayed_dispatch(self) source code
 
test_simple_emit(self)
Check a message receiver callback correctly gets called on message bus dispatch.
source code
 
test_message_filter(self) source code
 
test_multiple_filters(self) source code
 
test_decorator(self) source code

Inherited from elisa_test_case.ElisaTestCase: 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]

__init__(self, methodName='runTest')
(Constructor)

source code 
Construct an asynchronous test case for methodName.
Overrides: elisa_test_case.ElisaTestCase.__init__

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)