![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
__init__ (self, config) | |
__getstate__ (self) | |
GetSkiaGoldTester (self) | |
Public Attributes | |
test_dir = config.test_dir | |
test_type = config.test_type | |
delete_output_on_success = config.delete_output_on_success | |
enforce_expected_images = config.enforce_expected_images | |
options = config.options | |
features = config.features | |
pdfium_test_path = config.GetPdfiumTestPath(finder) | |
fixup_path = finder.ScriptPath('fixup_pdf_template.py') | |
text_diff_path = finder.ScriptPath('text_diff.py') | |
font_dir = os.path.join(finder.TestingDir(), 'resources', 'fonts') | |
third_party_font_dir = finder.ThirdPartyFontsDir() | |
source_dir = finder.TestingDir() | |
working_dir = finder.WorkingDir(os.path.join('testing', self.test_dir)) | |
test_suppressor | |
image_differ | |
process_name = multiprocessing.current_process().name | |
skia_tester = None | |
State defined per process.
Definition at line 472 of file test_runner.py.
testing.tools.test_runner._PerProcessState.__init__ | ( | self, | |
config ) |
Definition at line 475 of file test_runner.py.
testing.tools.test_runner._PerProcessState.__getstate__ | ( | self | ) |
Definition at line 504 of file test_runner.py.
testing.tools.test_runner._PerProcessState.GetSkiaGoldTester | ( | self | ) |
Gets the `SkiaGoldTester` singleton for this worker.
Definition at line 507 of file test_runner.py.
References ImageWithBindOptions.options, language::SignalSlot.options, PrintOut::Box.options, QAbstractFileIconProviderPrivate.options, QAbstractPrintDialogPrivate.options, QAuthenticatorPrivate.options, QColorDialog.options, QColorDialogOptionsPrivate.options, QColorDialogPrivate.options, QFileDialog.options, QFileDialogArgs.options, QFileDialogOptionsPrivate.options, QFileDialogPrivate.options, QFileSystemModel.options, QFontDialog.options, QFontDialogOptionsPrivate.options, QFontDialogPrivate.options, QMdiAreaPrivate.options, QMdiSubWindowPrivate.options, QMessageBox.options, QMessageBoxPrivate.options, QMessageDialogOptionsPrivate.options, QPdfPageRendererPrivate::PageRequest.options, QPrintDialog.options, QPrintDialogPrivate.options, QQmlJS::Dom::AstDumper.options, QQmlJS::Dom::FormatPartialStatus.options, QQuickColorDialog.options, QQuickColorDialogImplPrivate.options, QQuickFileDialog.options, QQuickFileDialogImplPrivate.options, QQuickFolderDialog.options, QQuickFolderDialogImplPrivate.options, QQuickFontDialog.options, QQuickFontDialogImplPrivate.options, QQuickMessageDialogImplPrivate.options, QQuickPixmapKey.options, QSSGBufferManager::MeshData.options, QSSGQmlUtilities::OutputContext.options, QSvgRenderer.options, QSvgRendererPrivate.options, QWaylandKeymap.options, QWindowsOpenGLContextFormat.options, QWizard.options, testing.tools.test_runner._PerProcessConfig.options, options, process_name, skia_tester, and test_type.
testing.tools.test_runner._PerProcessState.delete_output_on_success = config.delete_output_on_success |
Definition at line 478 of file test_runner.py.
testing.tools.test_runner._PerProcessState.enforce_expected_images = config.enforce_expected_images |
Definition at line 479 of file test_runner.py.
testing.tools.test_runner._PerProcessState.features = config.features |
Definition at line 481 of file test_runner.py.
testing.tools.test_runner._PerProcessState.fixup_path = finder.ScriptPath('fixup_pdf_template.py') |
Definition at line 485 of file test_runner.py.
testing.tools.test_runner._PerProcessState.font_dir = os.path.join(finder.TestingDir(), 'resources', 'fonts') |
Definition at line 487 of file test_runner.py.
testing.tools.test_runner._PerProcessState.image_differ |
Definition at line 496 of file test_runner.py.
testing.tools.test_runner._PerProcessState.options = config.options |
Definition at line 480 of file test_runner.py.
Referenced by testing.tools.test_runner._TestCaseRunner._NewImageArtifact(), testing.tools.test_runner._TestCaseRunner._RegenerateIfNeeded(), GetSkiaGoldTester(), testing.tools.test_runner.TestRunner.IsSkiaGoldEnabled(), testing.tools.test_runner._TestCaseRunner.TestPixel(), and testing.tools.test_runner._TestCaseRunner.TestText().
testing.tools.test_runner._PerProcessState.pdfium_test_path = config.GetPdfiumTestPath(finder) |
Definition at line 484 of file test_runner.py.
testing.tools.test_runner._PerProcessState.process_name = multiprocessing.current_process().name |
Definition at line 501 of file test_runner.py.
Referenced by GetSkiaGoldTester().
testing.tools.test_runner._PerProcessState.skia_tester = None |
Definition at line 502 of file test_runner.py.
Referenced by GetSkiaGoldTester().
testing.tools.test_runner._PerProcessState.source_dir = finder.TestingDir() |
testing.tools.test_runner._PerProcessState.test_dir = config.test_dir |
Definition at line 476 of file test_runner.py.
testing.tools.test_runner._PerProcessState.test_suppressor |
Definition at line 493 of file test_runner.py.
testing.tools.test_runner._PerProcessState.test_type = config.test_type |
Definition at line 477 of file test_runner.py.
Referenced by GetSkiaGoldTester().
testing.tools.test_runner._PerProcessState.text_diff_path = finder.ScriptPath('text_diff.py') |
Definition at line 486 of file test_runner.py.
testing.tools.test_runner._PerProcessState.third_party_font_dir = finder.ThirdPartyFontsDir() |
Definition at line 488 of file test_runner.py.
testing.tools.test_runner._PerProcessState.working_dir = finder.WorkingDir(os.path.join('testing', self.test_dir)) |
Definition at line 491 of file test_runner.py.
Referenced by testing.tools.test_runner._TestCaseRunner.TestPixel(), and testing.tools.test_runner._TestCaseRunner.TestText().