| Home | Trees | Index | Help |
|---|
|
|
object --+
|
extension.Extension --+
|
runnable.Runnable --+
|
test.Test --+
|
ExecTestBase --+
|
ShellCommandTest
Check a shell command's output and exit code.
A 'ShellCommandTest' runs the shell and compares its standard output, standard error, and exit code with expected values. The shell may be provided with command-line arguments and/or standard input.
QMTest determines which shell to use by the following method:
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Run(self,
context,
result)
Run the test. |
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
| arguments | |||
| _argument_dictionary | |||
| _argument_list | |||
| command | |||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
Run the test. 'context' -- A 'Context' giving run-time parameters to the test. 'result' -- A 'Result' object. The outcome will be 'Result.PASS' when this method is called. The 'result' may be modified by this method to indicate outcomes other than 'Result.PASS' or to add annotations.
|
|
|||
arguments
|
_argument_dictionary
|
_argument_list
|
command
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:31 2007 | http://epydoc.sf.net |