c.t.l.BaseWindmillLayer(AppServerLayer) : class documentation

Part of canonical.testing.layers View In Hierarchy

Known subclasses: lp.bugs.windmill.testing.BugsWindmillLayer, lp.code.windmill.testing.CodeWindmillLayer, lp.registry.windmill.testing.RegistryWindmillLayer, lp.soyuz.windmill.testing.SoyuzWindmillLayer, lp.translations.windmill.testing.TranslationsWindmillLayer

Layer for Windmill tests.

This layer shouldn't be used directly. A subclass needs to be created specifying which base URL to use (e.g. http://bugs.launchpad.dev:8085/).

Class Method setUp Undocumented
Class Method tearDown Undocumented
Class Method testSetUp Undocumented
Class Method _fixStandardInputFileno Patch the STDIN fileno so Windmill doesn't break.
Class Method _configureWindmillLogging Override the default windmill log handling.
Class Method _configureWindmillStartup Pass our startup parameters to the windmill server.

Inherited from AppServerLayer:

Class Method testTearDown Undocumented

Inherited from LaunchpadLayer (via AppServerLayer, LaunchpadFunctionalLayer):

Class Method resetSessionDb Reset the session database.

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

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

Inherited from BaseLayer (via AppServerLayer, LaunchpadFunctionalLayer, 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.

Inherited from BaseLayer (via AppServerLayer, LaunchpadFunctionalLayer, FunctionalLayer):

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
def _fixStandardInputFileno(cls):
Patch the STDIN fileno so Windmill doesn't break.
@classmethod
def _configureWindmillLogging(cls):
Override the default windmill log handling.
@classmethod
def _configureWindmillStartup(cls):
Pass our startup parameters to the windmill server.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.