Package qm :: Package test :: Package classes :: Module dir_run_database :: Class DirRunDatabase
[hide private]
[frames] | no frames]

Class DirRunDatabase

source code

          object --+        
                   |        
 extension.Extension --+    
                       |    
run_database.RunDatabase --+
                           |
                          DirRunDatabase

A 'DirRunDatabase' reads test runs from a directory.

A 'DirRunDatabase' is associated with a given directory. The database consists of all '.qmr' files in the directory. Each '.qmr' file is treated as a result file.

Nested Classes [hide private]

Inherited from extension.Extension: Type, __metaclass__

Instance Methods [hide private]
 
__init__(self, directory, database)
Create a new 'DirRunDatabase'.
source code
 
GetAllRuns(self)
Return all the 'TestRun's in the database.
source code

Inherited from run_database.RunDatabase: GetAnnotations, GetOutcomes, GetRunInTimeframe, GetRuns, GetRunsByAnnotations, GetTimeframe

Inherited from extension.Extension: GetClassName, GetExplicitArguments, MakeDomDocument, MakeDomElement, Write, __getattr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from extension.Extension: arguments, kind

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, directory, database)
(Constructor)

source code 

Create a new 'DirRunDatabase'.

'directory' -- The path to the directory containing the results files.

'database' -- The test 'Database' to which the results files correspond.

Overrides: object.__init__

GetAllRuns(self)

source code 

Return all the 'TestRun's in the database.

returns -- A sequence consisting of all of the 'TestRun's in the database.

Overrides: run_database.RunDatabase.GetAllRuns
(inherited documentation)