Table of Contents

Class: DejaGNUBase qm/test/classes/dejagnu_base.py

A DejaGNUBase is a base class for tests and resources.

Methods   
_RecordCommand
_RecordCommandOutput
_SetUp
  _RecordCommand 
_RecordCommand (
        self,
        result,
        command,
        )

Record the execution of command.

result
The Result for the test.
command
A sequence of strings, giving the arguments to a command that is about to be executed.
returns
An integer giving the the index for this command. This value should be provided to _RecordCommandOutput after the command's output is known.
  _RecordCommandOutput 
_RecordCommandOutput (
        self,
        result,
        index,
        status,
        output,
        )

Record the result of running a command.

result
The Result for the test.
index
An integer, return from a previous call to _RecordCommand.
status
The exit status from the command.
output
A string containing the output, if any, from the command.
  _SetUp 
_SetUp ( self,  context )

Prepare to run a test.

context
The Context in which this test will run.

This method may be overridden by derived classes, but they must call this version.


Table of Contents

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