MultipleTestTaskResults¶
from inet.test.task
- class MultipleTestTaskResults(multiple_tasks=None, results=[], expected_result='PASS', possible_results=['PASS', 'SKIP', 'CANCEL', 'FAIL', 'ERROR'], possible_result_colors=['\x1b[0;32m', '\x1b[0;36m', '\x1b[0;36m', '\x1b[1;33m', '\x1b[1;31m'], **kwargs)[source]¶
Bases:
inet.common.task.MultipleTaskResults
Represents 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.
Methods
Runs the original multiple tasks again that created this multiple task results.
Attributes
- rerun(**kwargs)¶
Runs the original multiple tasks again that created this multiple task results.
- Returns (
MultipleTaskResults
): The multiple task results.
- Returns (