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.pngdiffer._PathTemplates Class Reference
+ Collaboration diagram for testing.tools.pngdiffer._PathTemplates:

Public Member Functions

 __init__ (self, input_filename, source_dir, working_dir, os_name, suffix_order)
 
 GetActualPath (self, page)
 
 GetDiffPath (self, page)
 
 GetExpectedPaths (self, page)
 
 GetExpectedPath (self, page, default_to_base=True)
 

Public Attributes

 actual_path_template
 
 diff_path_template
 
list expected_templates = []
 

Protected Member Functions

 _GetPossibleExpectedPaths (self, page)
 

Detailed Description

Definition at line 216 of file pngdiffer.py.

Constructor & Destructor Documentation

◆ __init__()

testing.tools.pngdiffer._PathTemplates.__init__ ( self,
input_filename,
source_dir,
working_dir,
os_name,
suffix_order )

Definition at line 218 of file pngdiffer.py.

Member Function Documentation

◆ _GetPossibleExpectedPaths()

testing.tools.pngdiffer._PathTemplates._GetPossibleExpectedPaths ( self,
page )
protected

Definition at line 243 of file pngdiffer.py.

References testing.tools.pngdiffer._PathTemplates.expected_templates.

Referenced by testing.tools.pngdiffer._PathTemplates.GetExpectedPath(), and testing.tools.pngdiffer._PathTemplates.GetExpectedPaths().

+ Here is the caller graph for this function:

◆ GetActualPath()

testing.tools.pngdiffer._PathTemplates.GetActualPath ( self,
page )

◆ GetDiffPath()

testing.tools.pngdiffer._PathTemplates.GetDiffPath ( self,
page )

◆ GetExpectedPath()

testing.tools.pngdiffer._PathTemplates.GetExpectedPath ( self,
page,
default_to_base = True )
Returns the most specific expected path that exists.

Definition at line 249 of file pngdiffer.py.

References testing.tools.pngdiffer._PathTemplates._GetPossibleExpectedPaths().

+ Here is the call graph for this function:

◆ GetExpectedPaths()

testing.tools.pngdiffer._PathTemplates.GetExpectedPaths ( self,
page )

Definition at line 246 of file pngdiffer.py.

References testing.tools.pngdiffer._PathTemplates._GetPossibleExpectedPaths(), and list.

+ Here is the call graph for this function:

Member Data Documentation

◆ actual_path_template

testing.tools.pngdiffer._PathTemplates.actual_path_template
Initial value:
= os.path.join(working_dir,
input_root + _ACTUAL_TEMPLATE)

Definition at line 221 of file pngdiffer.py.

Referenced by testing.tools.pngdiffer._PathTemplates.GetActualPath().

◆ diff_path_template

testing.tools.pngdiffer._PathTemplates.diff_path_template
Initial value:
= os.path.join(working_dir,
input_root + _DIFF_TEMPLATE)

Definition at line 223 of file pngdiffer.py.

Referenced by testing.tools.pngdiffer._PathTemplates.GetDiffPath().

◆ expected_templates

list testing.tools.pngdiffer._PathTemplates.expected_templates = []

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