Table of Contents

Class: DirectorySuite qm/test/directory_suite.py

A DirectorySuite is a suite corresponding to a directory.

A DirectorySuite is an implicit suite that contains all tests within a given directory. The directory is given by a label, not a file system directory, so a DirectorySuite can work with any database.

Base Classes   
Suite
Methods   
GetSuiteIds
GetTestIds
IsImplicit
__init__
  GetSuiteIds 
GetSuiteIds ( self )

Return the suites contained in this suite.

returns
A sequence of labels corresponding to the suites contained in this suite. Suites that are contained in this suite only because they are contained in a suite which is itself contained in this suite are not returned.
  GetTestIds 
GetTestIds ( self )

Return the tests contained in this suite.

returns
A sequence of labels corresponding to the tests contained in this suite. Tests that are contained in this suite only because they are contained in a suite which is itself contained in this suite are not returned.
  IsImplicit 
IsImplicit ( self )

  __init__ 
__init__ (
        self,
        database,
        directory,
        )

Construct a new DirectorySuite.

database
The Database instance containing this suite.
directory
A label giving the directory corresponding to this suite.

Table of Contents

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