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.ComparisonSummary Class Reference
Collaboration diagram for testing.tools.safetynet_conclusions.ComparisonSummary:

Public Member Functions

 __init__ (self)
 ProcessCaseResult (self, case_result)
 GetTotal (self)
 GetCount (self, rating)
 GetOutputDict (self)

Public Attributes

 rating_counter = Counter()

Detailed Description

Totals computed for a comparison.

Definition at line 185 of file safetynet_conclusions.py.

Constructor & Destructor Documentation

◆ __init__()

testing.tools.safetynet_conclusions.ComparisonSummary.__init__ ( self)

Definition at line 188 of file safetynet_conclusions.py.

Member Function Documentation

◆ GetCount()

testing.tools.safetynet_conclusions.ComparisonSummary.GetCount ( self,
rating )
Gets the number of test cases processed with a given rating.

Definition at line 198 of file safetynet_conclusions.py.

References rating_counter.

Referenced by GetOutputDict().

Here is the caller graph for this function:

◆ GetOutputDict()

testing.tools.safetynet_conclusions.ComparisonSummary.GetOutputDict ( self)
Returns a dict that can be serialized with all the totals.

Definition at line 202 of file safetynet_conclusions.py.

References CPDF_Bookmark.GetCount(), CPDF_NameTree.GetCount(), CPWL_ListBox.GetCount(), CPWL_ListCtrl.GetCount(), CXFA_Node.GetCount(), MFAbstractActivate.GetCount(), GetCount(), and GetTotal().

Here is the call graph for this function:

◆ GetTotal()

testing.tools.safetynet_conclusions.ComparisonSummary.GetTotal ( self)
Gets the number of test cases processed.

Definition at line 194 of file safetynet_conclusions.py.

References rating_counter, and sum.

Referenced by GetOutputDict().

Here is the caller graph for this function:

◆ ProcessCaseResult()

testing.tools.safetynet_conclusions.ComparisonSummary.ProcessCaseResult ( self,
case_result )

Definition at line 191 of file safetynet_conclusions.py.

References rating_counter.

Member Data Documentation

◆ rating_counter

testing.tools.safetynet_conclusions.ComparisonSummary.rating_counter = Counter()

Definition at line 189 of file safetynet_conclusions.py.

Referenced by GetCount(), GetTotal(), and ProcessCaseResult().


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