qualification::test::Test Class Reference
Qualification test to run.
More...
List of all members.
Detailed Description
Qualification test to run.
Holds instructions, subtests, pre_startup scripts, etc.
Definition at line 163 of file test.py.
Member Function Documentation
def qualification::test::Test::__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
part = '' | |
|
) |
| | |
def qualification::test::Test::check_assembly |
( |
|
self |
) |
|
def qualification::test::Test::get_name |
( |
|
self |
) |
|
def qualification::test::Test::getInstructionsFile |
( |
|
self |
) |
|
Full path to instructions file.
Definition at line 362 of file test.py.
def qualification::test::Test::getName |
( |
|
self |
) |
|
Name or basename or startup script.
- Todo:
- Change functions names to Python style or properties
Definition at line 337 of file test.py.
def qualification::test::Test::getShutdownScript |
( |
|
self |
) |
|
Full path to shutdown script.
Definition at line 355 of file test.py.
def qualification::test::Test::getStartupScript |
( |
|
self |
) |
|
Full path to startup script.
Definition at line 348 of file test.py.
def qualification::test::Test::instructions_file |
( |
|
self |
) |
|
def qualification::test::Test::load |
( |
|
self, |
|
|
|
test_str, |
|
|
|
test_dir | |
|
) |
| | |
Loads qual test from and XML string.
- Parameters:
-
| test_str,: | XML file to load, as string |
| test_dir,: | Base directory of test, appended to qual tests |
- Returns:
- True if load succeeded
Definition at line 236 of file test.py.
def qualification::test::Test::name |
( |
|
self |
) |
|
def qualification::test::Test::part_number |
( |
|
self |
) |
|
def qualification::test::Test::shutdown_script |
( |
|
self |
) |
|
def qualification::test::Test::startup_script |
( |
|
self |
) |
|
def qualification::test::Test::testid |
( |
|
self |
) |
|
def qualification::test::Test::validate |
( |
|
self |
) |
|
Check that all prestartups, subtests, instructions, etc are real files.
This does not do any kind of parsing of the files themselves. It only checks that they exist, and that all files are ".launch" files. Instructions files must be ".html" files. Checks that test is named.
- Returns:
- True if Test is valid.
Definition at line 184 of file test.py.
Member Data Documentation
The documentation for this class was generated from the following file: