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

Public Member Functions

 GetSkiaGoldId (self)
 
 GetDiffStatus (self)
 
 GetDiffReason (self)
 
 GetDiffArtifacts (self)
 

Public Attributes

 image_path
 

Static Public Attributes

str skia_gold_status = None
 
pngdiffer image_diff = None
 

Detailed Description

Image artifact for a test result.

Attributes:
  image_path: The absolute path to the image file.
  md5_hash: The MD5 hash of the pixel buffer.
  skia_gold_status: Optional Skia Gold status.
  image_diff: Optional image diff.

Definition at line 860 of file test_runner.py.

Member Function Documentation

◆ GetDiffArtifacts()

testing.tools.test_runner.ImageArtifact.GetDiffArtifacts ( self)

Definition at line 886 of file test_runner.py.

References testing.tools.test_runner._GetArtifactFromFilePath(), testing.tools.test_runner.ImageArtifact.image_diff, and testing.tools.test_runner.ImageArtifact.image_path.

+ Here is the call graph for this function:

◆ GetDiffReason()

testing.tools.test_runner.ImageArtifact.GetDiffReason ( self)

◆ GetDiffStatus()

testing.tools.test_runner.ImageArtifact.GetDiffStatus ( self)

◆ GetSkiaGoldId()

testing.tools.test_runner.ImageArtifact.GetSkiaGoldId ( self)

Definition at line 874 of file test_runner.py.

Member Data Documentation

◆ image_diff

pngdiffer testing.tools.test_runner.ImageArtifact.image_diff = None
static

◆ image_path

testing.tools.test_runner.ImageArtifact.image_path

◆ skia_gold_status

str testing.tools.test_runner.ImageArtifact.skia_gold_status = None
static

Definition at line 871 of file test_runner.py.


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