![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
| __init__ (self, case_name, before, after, ratio, rating) | |
| GetOutputDict (self) | |
Public Attributes | |
| case_name = case_name | |
| before = before | |
| after = after | |
| ratio = ratio | |
| rating = rating | |
The conclusion for the comparison of a single test case.
Definition at line 210 of file safetynet_conclusions.py.
| testing.tools.safetynet_conclusions.CaseResult.__init__ | ( | self, | |
| case_name, | |||
| before, | |||
| after, | |||
| ratio, | |||
| rating ) |
Initializes an empty ComparisonConclusions. Args: case_name: String identifying the case. before: Measurement for the "before" version of the code. after: Measurement for the "after" version of the code. ratio: Difference between |after| and |before| as a fraction of |before|. rating: Rating for this test case.
Definition at line 213 of file safetynet_conclusions.py.
| testing.tools.safetynet_conclusions.CaseResult.GetOutputDict | ( | self | ) |
Returns a dict with the test case's conclusions.
Definition at line 229 of file safetynet_conclusions.py.
References after, qdesigner_internal::RemoveActionCommand::ActionDataItem.before, QQnxImfRequest.before, before, gadget::Book.rating, rating, QSimplexConstraint.ratio, and ratio.
| testing.tools.safetynet_conclusions.CaseResult.after = after |
Definition at line 225 of file safetynet_conclusions.py.
Referenced by GetOutputDict().
| testing.tools.safetynet_conclusions.CaseResult.before = before |
Definition at line 224 of file safetynet_conclusions.py.
Referenced by GetOutputDict().
| testing.tools.safetynet_conclusions.CaseResult.case_name = case_name |
Definition at line 223 of file safetynet_conclusions.py.
| testing.tools.safetynet_conclusions.CaseResult.rating = rating |
Definition at line 227 of file safetynet_conclusions.py.
Referenced by GetOutputDict().
| testing.tools.safetynet_conclusions.CaseResult.ratio = ratio |
Definition at line 226 of file safetynet_conclusions.py.
Referenced by GetOutputDict().