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
pdfium_skia_gold_session.py
Go to the documentation of this file.
1
# Copyright 2021 The PDFium Authors
2
# Use of this source code is governed by a BSD-style license that can be
3
# found in the LICENSE file.
4
"""PDFium implementation of //build/skia_gold_common/skia_gold_session.py."""
5
6
from
skia_gold_common
import
output_managerless_skia_gold_session
as
omsgs
7
8
9
# ComparisonResults nested inside the SkiaGoldSession causes issues with
10
# multiprocessing and pickling, so it was moved out here.
11
class
PDFiumComparisonResults
:
12
"""Struct-like object for storing results of an image comparison."""
13
14
def
__init__
(self):
15
self.
public_triage_link
=
None
16
self.
internal_triage_link
=
None
17
self.
triage_link_omission_reason
=
None
18
self.
local_diff_given_image
=
None
19
self.
local_diff_closest_image
=
None
20
self.
local_diff_diff_image
=
None
21
22
23
class
PDFiumSkiaGoldSession
(omsgs.OutputManagerlessSkiaGoldSession):
24
25
def
_GetDiffGoldInstance
(self):
26
return
str
(self.
_instance
)
27
28
def
ComparisonResults
(self):
29
return
PDFiumComparisonResults
()
testing.tools.skia_gold.pdfium_skia_gold_session.PDFiumComparisonResults
Definition
pdfium_skia_gold_session.py:11
testing.tools.skia_gold.pdfium_skia_gold_session.PDFiumComparisonResults.local_diff_closest_image
local_diff_closest_image
Definition
pdfium_skia_gold_session.py:19
testing.tools.skia_gold.pdfium_skia_gold_session.PDFiumComparisonResults.public_triage_link
public_triage_link
Definition
pdfium_skia_gold_session.py:15
testing.tools.skia_gold.pdfium_skia_gold_session.PDFiumComparisonResults.local_diff_diff_image
local_diff_diff_image
Definition
pdfium_skia_gold_session.py:20
testing.tools.skia_gold.pdfium_skia_gold_session.PDFiumComparisonResults.__init__
__init__(self)
Definition
pdfium_skia_gold_session.py:14
testing.tools.skia_gold.pdfium_skia_gold_session.PDFiumComparisonResults.internal_triage_link
internal_triage_link
Definition
pdfium_skia_gold_session.py:16
testing.tools.skia_gold.pdfium_skia_gold_session.PDFiumComparisonResults.local_diff_given_image
local_diff_given_image
Definition
pdfium_skia_gold_session.py:18
testing.tools.skia_gold.pdfium_skia_gold_session.PDFiumComparisonResults.triage_link_omission_reason
triage_link_omission_reason
Definition
pdfium_skia_gold_session.py:17
testing.tools.skia_gold.pdfium_skia_gold_session.PDFiumSkiaGoldSession
Definition
pdfium_skia_gold_session.py:23
testing.tools.skia_gold.pdfium_skia_gold_session.PDFiumSkiaGoldSession._instance
_instance
Definition
pdfium_skia_gold_session.py:26
testing.tools.skia_gold.pdfium_skia_gold_session.PDFiumSkiaGoldSession.ComparisonResults
ComparisonResults(self)
Definition
pdfium_skia_gold_session.py:28
testing.tools.skia_gold.pdfium_skia_gold_session.PDFiumSkiaGoldSession._GetDiffGoldInstance
_GetDiffGoldInstance(self)
Definition
pdfium_skia_gold_session.py:25
str
QString str
[2]
Definition
doc_src_containers.cpp:177
qtwebengine
src
3rdparty
chromium
third_party
pdfium
testing
tools
skia_gold
pdfium_skia_gold_session.py
Generated on Sat Sep 21 2024 01:06:19 for Qt by
1.12.0