inet.test.task.MultipleTestTaskResults¶
- class inet.test.task.MultipleTestTaskResults(multiple_tasks=None, results=[], expected_result='PASS', possible_results=['PASS', 'SKIP', 'CANCEL', 'FAIL', 'ERROR'], possible_result_colors=[COLOR_GREEN, COLOR_CYAN, COLOR_CYAN, COLOR_YELLOW, COLOR_RED], **kwargs)¶
Bases:
inet.common.MultipleTaskResultsRepresents multiple test task results that are created when multiple test tasks are run.
Initializes a new multiple task results object.
- Parameters:
multiple_tasks (
MultipleTasks) – The original multiple tasks object that was run when this multiple task result was produced.results (List of
TaskResult) – The list of individual task results corresponding to the individual tasks.expected_result="DONE" (string) – The expected result of the multiple task execution. The value must be one of the values in the possible_results attribute.
elapsed_wall_time (number) – The elapsed time while the task was running.
possible_results (List of string) – The list of possible results with which the execution of the original multiple task can end.
possible_result_colors (List of string) – The list of colors for the corresponding possible results.
- rerun(**kwargs)¶
Runs the original multiple tasks again that created this multiple task results.
- Returns (
MultipleTaskResults): The multiple task results.
- Returns (