c.l.f.t.ProcessMailLayer(LaunchpadZopelessLayer) : class documentation

Part of canonical.launchpad.ftests.test_system_documentation View In Hierarchy

Layer containing the tests running inside process-mail.py.
Class Method testSetUp Fixture replicating the process-mail.py environment.
Class Method testTearDown Tear down the test fixture.
Class Method addTestsToSpecial Adds all the tests related to process-mail.py to special
Class Method createLayeredDocFileSuite Helper to create a doctest using this layer.

Inherited from LaunchpadZopelessLayer:

Class Method setUp Undocumented
Class Method tearDown Undocumented
Class Method commit Undocumented
Class Method abort Undocumented
Class Method switchDbUser Undocumented
Class Method alterConnection Reset the connection, and reopen the connection by calling

Inherited from LaunchpadScriptLayer (via LaunchpadZopelessLayer):

Class Method switchDbConfig Undocumented

Inherited from BaseLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, ZopelessLayer):

Class Method check Check that the environment is working as expected.
Class Method flagTestIsolationFailure Handle a breakdown in test isolation.
Class Method getCurrentTestResult Return the TestResult currently in play.
Class Method getCurrentTestCase Return the test currently in play.

Inherited from LaunchpadLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer):

Class Method resetSessionDb Reset the session database.

Inherited from DatabaseLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, LaunchpadLayer):

Class Method installMockDb Undocumented
Class Method uninstallMockDb Undocumented
Class Method force_dirty_database Undocumented
Class Method connect Undocumented
Class Method _dropDb Undocumented

Inherited from BaseLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, LaunchpadLayer, DatabaseLayer):

Class Method check Check that the environment is working as expected.
Class Method flagTestIsolationFailure Handle a breakdown in test isolation.
Class Method getCurrentTestResult Return the TestResult currently in play.
Class Method getCurrentTestCase Return the test currently in play.

Inherited from LibrarianLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, LaunchpadLayer):

Class Method hide Hide the Librarian so nothing can find it. We don't want to
Class Method reveal Reveal a hidden Librarian.
Class Method _check_and_reset Raise an exception if the Librarian has been killed.

Inherited from BaseLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, LaunchpadLayer, LibrarianLayer):

Class Method check Check that the environment is working as expected.
Class Method flagTestIsolationFailure Handle a breakdown in test isolation.
Class Method getCurrentTestResult Return the TestResult currently in play.
Class Method getCurrentTestCase Return the test currently in play.

Inherited from MemcachedLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, LaunchpadLayer):

Class Method getPidFile Undocumented
Class Method purge Purge everything from our memcached.

Inherited from BaseLayer (via LaunchpadZopelessLayer, LaunchpadScriptLayer, LaunchpadLayer, MemcachedLayer):

Class Method check Check that the environment is working as expected.
Class Method flagTestIsolationFailure Handle a breakdown in test isolation.
Class Method getCurrentTestResult Return the TestResult currently in play.
Class Method getCurrentTestCase Return the test currently in play.
@classmethod
def testSetUp(cls):
Fixture replicating the process-mail.py environment.

This zopeless script uses the regular security policy and connects as a specific DB user.

@classmethod
def testTearDown(cls):
Tear down the test fixture.
@classmethod
def addTestsToSpecial(cls):
Adds all the tests related to process-mail.py to special
@classmethod
def createLayeredDocFileSuite(cls, filename, stdout_logging=False):
Helper to create a doctest using this layer.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.