Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
testing.tools.safetynet_conclusions.CaseResult Class Reference
+ Collaboration diagram for testing.tools.safetynet_conclusions.CaseResult:

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
 

Detailed Description

The conclusion for the comparison of a single test case.

Definition at line 210 of file safetynet_conclusions.py.

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ GetOutputDict()

Member Data Documentation

◆ after

testing.tools.safetynet_conclusions.CaseResult.after = after

◆ before

testing.tools.safetynet_conclusions.CaseResult.before = before

◆ case_name

testing.tools.safetynet_conclusions.CaseResult.case_name = case_name

Definition at line 223 of file safetynet_conclusions.py.

◆ rating

testing.tools.safetynet_conclusions.CaseResult.rating = rating

◆ ratio

testing.tools.safetynet_conclusions.CaseResult.ratio = ratio

The documentation for this class was generated from the following file: