twisted.trial._dist.worker.LocalWorkerAMP(AMP) class documentationtwisted.trial._dist.worker
          View Source
          (View In Hierarchy)
        
      Local implementation of the manager commands.
| Method | addSuccess | Add a success to the reporter. | 
| Method | addError | Add an error to the reporter. | 
| Method | addFailure | Add a failure to the reporter. | 
| Method | addSkip | Add a skip to the reporter. | 
| Method | addExpectedFailure | Add an expected failure to the reporter. | 
| Method | addUnexpectedSuccess | Add an unexpected success to the reporter. | 
| Method | testWrite | Print test output from the worker. | 
| Method | run | Run a test. | 
| Method | setTestStream | Set the stream used to log output from tests. | 
| Method | _buildFailure | Helper to build a Failure with some traceback. | 
  
| Method | _stopTest | Stop the current running test case, forwarding the result. | 
Inherited from CommandLocator (via AMP):
| Class | __metaclass__ | No summary | 
| Method | lookupFunction | Deprecated synonym for locateResponder | 
  
| Method | _wrapWithSerialization | Wrap aCallable with its command's argument de-serialization and result serialization logic. | 
Inherited from CommandLocator (via AMP):
| Class | __metaclass__ | No summary | 
| Method | lookupFunction | Deprecated synonym for locateResponder | 
  
| Method | _wrapWithSerialization | Wrap aCallable with its command's argument de-serialization and result serialization logic. | 
Inherited from CommandLocator (via AMP):
| Class | __metaclass__ | No summary | 
| Method | lookupFunction | Deprecated synonym for locateResponder | 
  
| Method | _wrapWithSerialization | Wrap aCallable with its command's argument de-serialization and result serialization logic. | 
Inherited from CommandLocator (via AMP):
| Class | __metaclass__ | No summary | 
| Method | lookupFunction | Deprecated synonym for locateResponder | 
  
| Method | _wrapWithSerialization | Wrap aCallable with its command's argument de-serialization and result serialization logic. | 
Inherited from CommandLocator (via AMP):
| Class | __metaclass__ | No summary | 
| Method | lookupFunction | Deprecated synonym for locateResponder | 
  
| Method | _wrapWithSerialization | Wrap aCallable with its command's argument de-serialization and result serialization logic. | 
Inherited from CommandLocator (via AMP):
| Class | __metaclass__ | No summary | 
| Method | lookupFunction | Deprecated synonym for locateResponder | 
  
| Method | _wrapWithSerialization | Wrap aCallable with its command's argument de-serialization and result serialization logic. | 
Inherited from CommandLocator (via AMP):
| Class | __metaclass__ | No summary | 
| Method | lookupFunction | Deprecated synonym for locateResponder | 
  
| Method | _wrapWithSerialization | Wrap aCallable with its command's argument de-serialization and result serialization logic. | 
Inherited from CommandLocator (via AMP):
| Class | __metaclass__ | No summary | 
| Method | lookupFunction | Deprecated synonym for locateResponder | 
  
| Method | _wrapWithSerialization | Wrap aCallable with its command's argument de-serialization and result serialization logic. | 
Inherited from CommandLocator (via AMP):
| Class | __metaclass__ | No summary | 
| Method | lookupFunction | Deprecated synonym for locateResponder | 
  
| Method | _wrapWithSerialization | Wrap aCallable with its command's argument de-serialization and result serialization logic. | 
Inherited from CommandLocator (via AMP):
| Class | __metaclass__ | No summary | 
| Method | lookupFunction | Deprecated synonym for locateResponder | 
  
| Method | _wrapWithSerialization | Wrap aCallable with its command's argument de-serialization and result serialization logic. | 
Helper to build a Failure with some traceback.
| Parameters | error | An Exception instance. | 
| error | The class name of the error class. | |
| frames | A flat list of strings representing the information need to approximatively
rebuild Failure frames. | |
| Returns | A Failure 
instance with enough information about a test error. | |
Add an expected failure to the reporter.