t.t.r._AdaptedReporter(TestResultDecorator) : class documentation

Part of twisted.trial.reporter View Source View In Hierarchy

TestResult decorator that makes sure that addError only gets tests that have been adapted with a particular test adapter.
Method __init__ Construct an _AdaptedReporter.
Method addError See itrial.IReporter.
Method addExpectedFailure See itrial.IReporter.
Method addFailure See itrial.IReporter.
Method addSkip See itrial.IReporter.
Method addUnexpectedSuccess See itrial.IReporter.
Method startTest See itrial.IReporter.
Method stopTest See itrial.IReporter.
def __init__(self, original, testAdapter): (source)
Construct an _AdaptedReporter.
ParametersoriginalAn {itrial.IReporter}.
testAdapterA callable that returns an itrial.ITestCase.
def addError(self, test, error): (source)
See itrial.IReporter.
def addExpectedFailure(self, test, failure, todo): (source)
See itrial.IReporter.
def addFailure(self, test, failure): (source)
See itrial.IReporter.
def addSkip(self, test, skip): (source)
See itrial.IReporter.
def addUnexpectedSuccess(self, test, todo): (source)
See itrial.IReporter.
def startTest(self, test): (source)
See itrial.IReporter.
def stopTest(self, test): (source)
See itrial.IReporter.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:07:41.