qualification::result::QualTestResult Class Reference
Result of Qualification test.
More...
List of all members.
Detailed Description
Result of Qualification test.
Stores and logs all data
- Todo:
- Make unit test of this class. Should get a series of subresults, check links,
Definition at line 447 of file result.py.
Member Function Documentation
def qualification::result::QualTestResult::__init__ |
( |
|
self, |
|
|
|
qual_item, |
|
|
|
qual_test, |
|
|
|
start_time | |
|
) |
| | |
- Parameters:
-
| qual_item | QualTestItem : Item under test |
| qual_test | Test : Test we're running |
| start_time | int : Start time from rospy, or time.time() |
Definition at line 451 of file result.py.
def qualification::result::QualTestResult::_log_config_result |
( |
|
self, |
|
|
|
invent | |
|
) |
| | [private] |
def qualification::result::QualTestResult::_write_tar_file |
( |
|
self |
) |
[private] |
Dumps all files in results directory into tar file.
Definition at line 939 of file result.py.
def qualification::result::QualTestResult::add_prestartup_result |
( |
|
self, |
|
|
|
index, |
|
|
|
msg | |
|
) |
| | |
def qualification::result::QualTestResult::add_shutdown_result |
( |
|
self, |
|
|
|
msg | |
|
) |
| | |
- Todo:
- All these should just be appending to a list
Definition at line 562 of file result.py.
def qualification::result::QualTestResult::add_sub_result |
( |
|
self, |
|
|
|
index, |
|
|
|
msg | |
|
) |
| | |
def qualification::result::QualTestResult::cancel |
( |
|
self |
) |
|
def qualification::result::QualTestResult::close |
( |
|
self |
) |
|
def qualification::result::QualTestResult::email_qual_team |
( |
|
self |
) |
|
Email qualification team results as HTML summary and tar file.
Definition at line 1050 of file result.py.
def qualification::result::QualTestResult::error |
( |
|
self |
) |
|
def qualification::result::QualTestResult::export_data |
( |
|
self |
) |
|
Exports result data to wg_invent_client.TestData
Unit testing and Invent logging only.
\return wg_invent_client.TestData : Data for test
Definition at line 996 of file result.py.
def qualification::result::QualTestResult::get_pass_bool |
( |
|
self |
) |
|
def qualification::result::QualTestResult::get_prestarts |
( |
|
self |
) |
|
def qualification::result::QualTestResult::get_qual_team |
( |
|
self |
) |
|
def qualification::result::QualTestResult::get_retry |
( |
|
self, |
|
|
|
index | |
|
) |
| | |
def qualification::result::QualTestResult::get_retrys |
( |
|
self, |
|
|
|
reverse = False | |
|
) |
| | |
def qualification::result::QualTestResult::get_subresult |
( |
|
self, |
|
|
|
index | |
|
) |
| | |
def qualification::result::QualTestResult::get_subresults |
( |
|
self, |
|
|
|
reverse = False | |
|
) |
| | |
def qualification::result::QualTestResult::get_test_result_str |
( |
|
self |
) |
|
def qualification::result::QualTestResult::get_test_result_str_invent |
( |
|
self |
) |
|
def qualification::result::QualTestResult::is_prestart_error |
( |
|
self |
) |
|
def qualification::result::QualTestResult::line_summary |
( |
|
self |
) |
|
def qualification::result::QualTestResult::log |
( |
|
self, |
|
|
|
entry | |
|
) |
| | |
def qualification::result::QualTestResult::log_results |
( |
|
self, |
|
|
|
invent | |
|
) |
| | |
def qualification::result::QualTestResult::make_email_message |
( |
|
self |
) |
|
Creates MIMEMultipart email message with proper attachments.
- Returns:
- MIMEMultipart email message with tarfile attachment of plots
Definition at line 1028 of file result.py.
def qualification::result::QualTestResult::make_index |
( |
|
self, |
|
|
|
link, |
|
|
|
link_dir | |
|
) |
| | |
def qualification::result::QualTestResult::make_log_table |
( |
|
self |
) |
|
def qualification::result::QualTestResult::make_prestart_table |
( |
|
self |
) |
|
def qualification::result::QualTestResult::make_retry_index |
( |
|
self, |
|
|
|
link, |
|
|
|
link_dir | |
|
) |
| | |
def qualification::result::QualTestResult::make_shutdown_results |
( |
|
self |
) |
|
def qualification::result::QualTestResult::make_startup_data |
( |
|
self |
) |
|
def qualification::result::QualTestResult::make_summary_page |
( |
|
self, |
|
|
|
link = True , |
|
|
|
link_dir = TEMP_DIR | |
|
) |
| | |
- Todo:
Append strings, make parse tests
Rename all "make_" methods to "write_" methods
Definition at line 680 of file result.py.
def qualification::result::QualTestResult::prestarts_ok |
( |
|
self |
) |
|
def qualification::result::QualTestResult::results_dir |
( |
|
self |
) |
|
def qualification::result::QualTestResult::retry_subresult |
( |
|
self, |
|
|
|
index, |
|
|
|
notes = '' | |
|
) |
| | |
Stores data from subtest as a "retry".
Definition at line 588 of file result.py.
def qualification::result::QualTestResult::set_notes |
( |
|
self, |
|
|
|
note | |
|
) |
| | |
def qualification::result::QualTestResult::set_operator |
( |
|
self, |
|
|
|
name | |
|
) |
| | |
def qualification::result::QualTestResult::set_results_dir |
( |
|
self, |
|
|
|
path | |
|
) |
| | |
def qualification::result::QualTestResult::tar_name |
( |
|
self |
) |
|
def qualification::result::QualTestResult::write_results_to_file |
( |
|
self, |
|
|
|
temp = True , |
|
|
|
local_link = False | |
|
) |
| | |
Member Data Documentation
- Todo:
- Fix this See if the qual_item is a configuration item
Definition at line 477 of file result.py.
The documentation for this class was generated from the following file: