Table of Contents

Class: ResourceDescriptor qm/test/database.py

A resource instance.

Base Classes   
ItemDescriptor
Methods   
CleanUp
GetClass
GetResource
SetUp
__init__
  CleanUp 
CleanUp ( self,  result )

Clean up the resource.

result
The Result object for this resource.
  GetClass 
GetClass ( self )

Return the class of the entity.

returns
The Python class object for the entity. For example, for a TestDescriptor, this method returns the test class.
  GetResource 
GetResource ( self )

Return the Resource object described by this descriptor.

  SetUp 
SetUp (
        self,
        context,
        result,
        )

Set up the resource.

context
The Context in which the resource should be executed.
result
The Result object for this resource.
  __init__ 
__init__ (
        self,
        database,
        resource_id,
        resource_class_name,
        arguments,
        )

Create a new resource instance.

database
The Database containing this resource.
resource_id
The resource ID.
resource_class_name
The name of the resource class of which this is an instance.
arguments
This resource's arguments to the resource class.

Table of Contents

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