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

Public Member Functions

 __init__ (self, source_type, skia_gold_args, process_name=None)
 
 WriteCLTriageLink (self, link)
 
 GetSkiaGoldProperties (self)
 
 GetSkiaGoldSessionManager (self)
 
 IsTryjobRun (self)
 
 GetCLTriageLink (self)
 
 UploadTestResultToSkiaGold (self, image_name, image_path)
 

Protected Attributes

 _source_type = source_type
 
 _output_dir = skia_gold_args.gold_output_dir
 
 _keys = _ParseKeyValuePairs(skia_gold_args.gold_key)
 
 _skia_gold_args = skia_gold_args
 
 _skia_gold_session_manager = None
 
 _skia_gold_properties = None
 

Detailed Description

Definition at line 99 of file skia_gold.py.

Constructor & Destructor Documentation

◆ __init__()

testing.tools.skia_gold.skia_gold.SkiaGoldTester.__init__ ( self,
source_type,
skia_gold_args,
process_name = None )
source_type: source_type (=corpus) field used for all results.
skia_gold_args: Parsed arguments from argparse.ArgumentParser.
process_name: Unique name of current process, if multiprocessing is on.

Definition at line 101 of file skia_gold.py.

Member Function Documentation

◆ GetCLTriageLink()

testing.tools.skia_gold.skia_gold.SkiaGoldTester.GetCLTriageLink ( self)

Definition at line 149 of file skia_gold.py.

References _source_type, and GetSkiaGoldProperties().

+ Here is the call graph for this function:

◆ GetSkiaGoldProperties()

testing.tools.skia_gold.skia_gold.SkiaGoldTester.GetSkiaGoldProperties ( self)

Definition at line 129 of file skia_gold.py.

References _skia_gold_args, and _skia_gold_properties.

Referenced by GetCLTriageLink(), GetSkiaGoldSessionManager(), IsTryjobRun(), and UploadTestResultToSkiaGold().

+ Here is the caller graph for this function:

◆ GetSkiaGoldSessionManager()

testing.tools.skia_gold.skia_gold.SkiaGoldTester.GetSkiaGoldSessionManager ( self)

Definition at line 139 of file skia_gold.py.

References _output_dir, _skia_gold_session_manager, and GetSkiaGoldProperties().

Referenced by UploadTestResultToSkiaGold().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsTryjobRun()

testing.tools.skia_gold.skia_gold.SkiaGoldTester.IsTryjobRun ( self)

Definition at line 146 of file skia_gold.py.

References GetSkiaGoldProperties(), and IsTryjobRun().

Referenced by IsTryjobRun().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UploadTestResultToSkiaGold()

testing.tools.skia_gold.skia_gold.SkiaGoldTester.UploadTestResultToSkiaGold ( self,
image_name,
image_path )

Definition at line 154 of file skia_gold.py.

References _keys, testing.tools.skia_gold.skia_gold._OutputLocalDiffFiles(), _source_type, GetSkiaGoldProperties(), GetSkiaGoldSessionManager(), and print().

+ Here is the call graph for this function:

◆ WriteCLTriageLink()

testing.tools.skia_gold.skia_gold.SkiaGoldTester.WriteCLTriageLink ( self,
link )

Definition at line 119 of file skia_gold.py.

References _output_dir, and open().

+ Here is the call graph for this function:

Member Data Documentation

◆ _keys

testing.tools.skia_gold.skia_gold.SkiaGoldTester._keys = _ParseKeyValuePairs(skia_gold_args.gold_key)
protected

Definition at line 114 of file skia_gold.py.

Referenced by UploadTestResultToSkiaGold().

◆ _output_dir

testing.tools.skia_gold.skia_gold.SkiaGoldTester._output_dir = skia_gold_args.gold_output_dir
protected

Definition at line 108 of file skia_gold.py.

Referenced by GetSkiaGoldSessionManager(), and WriteCLTriageLink().

◆ _skia_gold_args

testing.tools.skia_gold.skia_gold.SkiaGoldTester._skia_gold_args = skia_gold_args
protected

Definition at line 115 of file skia_gold.py.

Referenced by GetSkiaGoldProperties().

◆ _skia_gold_properties

testing.tools.skia_gold.skia_gold.SkiaGoldTester._skia_gold_properties = None
protected

Definition at line 117 of file skia_gold.py.

Referenced by GetSkiaGoldProperties().

◆ _skia_gold_session_manager

testing.tools.skia_gold.skia_gold.SkiaGoldTester._skia_gold_session_manager = None
protected

Definition at line 116 of file skia_gold.py.

Referenced by GetSkiaGoldSessionManager().

◆ _source_type

testing.tools.skia_gold.skia_gold.SkiaGoldTester._source_type = source_type
protected

Definition at line 107 of file skia_gold.py.

Referenced by GetCLTriageLink(), and UploadTestResultToSkiaGold().


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