Table of Contents

Class: Runnable qm/test/runnable.py

A Runnable can run on a Target.

Runnable is an abstract base class for Test and Resource.

Base Classes   
qm.extension.Extension
Methods   
GetAttachments
GetDatabase
GetId
__GetAttachments
__init__
  GetAttachments 
GetAttachments ( self )

Return the 'Attachment's to this Runnable.

returns
A sequence consisting of the Attachment objects associated with this runnable.
  GetDatabase 
GetDatabase ( self )

Return the Database in which this test or resource is stored.

returns
The Database in which this test or resource is stored.
  GetId 
GetId ( self )

Return the name of this test or resource.

context
The Context in which this entity is running.
returns
The name of this test or resource.
  __GetAttachments 
__GetAttachments (
        self,
        field,
        value,
        attachments,
        )

Return the Attachments that are part of field.

field
The Field being examined.
value
The value of that Field in self.
attachments
A sequence consisting of the attachments found so far. Additional 'Attachment's are appended to this sequence by this function.
  __init__ 
__init__ (
        self,
        arguments,
        **extras,
        )

Construct a new Runnable.

arguments
As for Extension.__init__.
extras
Extra keyword arguments provided by QMTest. Derived classes must pass along any unrecognized keyword arguments to this method. All extra keyword arguments provided by QMTest will begin with qmtest_. These arguments are provided as keyword arguments so that additional arguments can be added in the future without necessitating changes to test or resource classes. Derived classes should not rely in any way on the contents of extras.

Table of Contents

This document was automatically generated on Mon Jan 3 09:42:29 2005 by HappyDoc version 2.1