c.t.l.LaunchpadZopelessLayer(LaunchpadScriptLayer) : class documentation

Part of canonical.testing.layers View In Hierarchy

Known subclasses: canonical.launchpad.ftests.test_system_documentation.ProcessMailLayer, canonical.testing.layers.ExperimentalLaunchpadZopelessLayer, canonical.testing.layers.TwistedLaunchpadZopelessLayer, canonical.testing.layers.ZopelessAppServerLayer

Full Zopeless environment including Component Architecture and database connections initialized.
Class Method setUp Undocumented
Class Method tearDown Undocumented
Class Method testSetUp Undocumented
Class Method testTearDown 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:

Class Method switchDbConfig Undocumented

Inherited from BaseLayer (via 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 LaunchpadScriptLayer):

Class Method resetSessionDb Reset the session database.

Inherited from DatabaseLayer (via 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 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 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 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 LaunchpadScriptLayer, LaunchpadLayer):

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

Inherited from BaseLayer (via 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
@profiled
def setUp(cls):
Undocumented
@classmethod
@profiled
def tearDown(cls):
Undocumented
@classmethod
@profiled
def testSetUp(cls):
Undocumented
@classmethod
@profiled
def testTearDown(cls):
Undocumented
@classmethod
@profiled
def commit(cls):
Undocumented
@classmethod
@profiled
def abort(cls):
Undocumented
@classmethod
@profiled
def switchDbUser(cls, dbuser):
Undocumented
@classmethod
@profiled
def alterConnection(cls, **kw):
Reset the connection, and reopen the connection by calling initZopeless with the given keyword arguments.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.