List of all members.
Detailed Description
Definition at line 2110 of file blocks.py.
Constructor & Destructor Documentation
def blockit::Fortran::blocks::TestRunner::__init__ |
( |
|
self, |
|
|
|
parameters |
|
) |
| |
A test runner block:
TestRunner(prefix)
end TestRunner
This block gathers all functions that start with `prefix` in the
module found in the sole use statement of the enclosing block. If no
use statement is found in the enclosing block, it traverses up its
block tree to find the enclosing module it is contained in and uses
that for the function finding. It then creates the following pattern
in its show method for each function it finds:
call setUp(<function name as string here>)
if(.not. <function with call signature as found in module>) then
print *,'Test <function name> : failed'
else
print *,'Test <function name> : passed'
endif
call tearDown(<function name as string here>)
Input
-----
parameters : the groups from the factory static method
Definition at line 2137 of file blocks.py.
Member Function Documentation
def blockit::Fortran::blocks::TestRunner::factory |
( |
|
s, |
|
|
|
lineNo, |
|
|
|
tokens |
|
) |
| |
Factory method called by the BlockParser to produce an
instance of the class.
Definition at line 2127 of file blocks.py.
def blockit::Fortran::blocks::TestRunner::show |
( |
|
self, |
|
|
|
mangle = False |
|
) |
| |
Member Data Documentation
The documentation for this class was generated from the following file: