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

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
 

Detailed Description

State defined per process.

Definition at line 472 of file test_runner.py.

Constructor & Destructor Documentation

◆ __init__()

testing.tools.test_runner._PerProcessState.__init__ ( self,
config )

Definition at line 475 of file test_runner.py.

Member Function Documentation

◆ __getstate__()

testing.tools.test_runner._PerProcessState.__getstate__ ( self)

Definition at line 504 of file test_runner.py.

◆ GetSkiaGoldTester()

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, QAbstractFileIconEngine.options(), QAbstractFileIconProvider.options(), QAbstractFileIconProviderPrivate.options, QAbstractPrintDialogPrivate.options, QAuthenticator.options(), QAuthenticatorPrivate.options, QCocoaIntegration.options(), QColorDialog.options, QColorDialog.options(), QColorDialogOptionsPrivate.options, QColorDialogPrivate.options, QFileDialog.options, QFileDialog.options(), QFileDialogArgs.options, QFileDialogOptions.options(), QFileDialogOptionsPrivate.options, QFileDialogPrivate.options, QFileSystemModel.options, QFileSystemModel.options(), QFontDialog.options, QFontDialog.options(), QFontDialogOptions.options(), QFontDialogOptionsPrivate.options, QFontDialogPrivate.options, QInputDialog.options(), QMdiAreaPrivate.options, QMdiSubWindowPrivate.options, QMessageBox.options, QMessageBox.options(), QMessageBoxPrivate.options, QMessageDialogOptions.options(), QMessageDialogOptionsPrivate.options, QMinimalIntegration.options(), QOpenGLCachedTexture.options(), QPdfPageRendererPrivate::PageRequest.options, QPlatformColorDialogHelper.options(), QPlatformFileDialogHelper.options(), QPlatformFontDialogHelper.options(), QPlatformMessageDialogHelper.options(), QPrintDialog.options, QPrintDialog.options(), QPrintDialogPrivate.options, QQmlJS::Dom::AstDumper.options, QQmlJS::Dom::ConstantData.options(), QQmlJS::Dom::DomEnvironment.options(), QQmlJS::Dom::FormatPartialStatus.options, QQmlJS::Dom::LineWriter.options(), QQnxIntegration.options(), QQuickColorDialog.options, QQuickColorDialog.options(), QQuickColorDialogImpl.options(), QQuickColorDialogImplPrivate.options, QQuickFileDialog.options, QQuickFileDialog.options(), QQuickFileDialogImpl.options(), QQuickFileDialogImplPrivate.options, QQuickFileNameFilter.options(), QQuickFolderDialog.options, QQuickFolderDialog.options(), QQuickFolderDialogImpl.options(), QQuickFolderDialogImplPrivate.options, QQuickFontDialog.options, QQuickFontDialog.options(), QQuickFontDialogImpl.options(), QQuickFontDialogImplPrivate.options, QQuickLabsPlatformColorDialog.options, QQuickLabsPlatformColorDialog.options(), QQuickLabsPlatformFileDialog.options, QQuickLabsPlatformFileDialog.options(), QQuickLabsPlatformFileNameFilter.options(), QQuickLabsPlatformFolderDialog.options, QQuickLabsPlatformFolderDialog.options(), QQuickLabsPlatformFontDialog.options, QQuickLabsPlatformFontDialog.options(), QQuickMessageDialogImpl.options(), QQuickMessageDialogImplPrivate.options, QQuickPixmapKey.options, QSSGBufferManager::MeshData.options, QSSGQmlUtilities::OutputContext.options, QStorageIterator.options(), QSurfaceFormat.options(), QSvgHandler.options(), QSvgRenderer.options, QSvgRenderer.options(), QSvgRendererPrivate.options, QSvgTinyDocument.options(), QSvgWidget.options(), QWaylandKeymap.options, QWaylandKeymap.options(), QWindowsIntegration.options(), QWindowsOpenGLContextFormat.options, QWindowsTabletSupport.options(), QWizard.options, QWizard.options(), testing.tools.test_runner._PerProcessConfig.options, testing.tools.test_runner._PerProcessState.options, testing.tools.test_runner._TestCaseRunner.options(), testing.tools.test_runner.TestRunner.options(), testing.tools.test_runner._PerProcessState.process_name, testing.tools.test_runner._PerProcessState.skia_tester, and testing.tools.test_runner._PerProcessState.test_type.

Member Data Documentation

◆ delete_output_on_success

testing.tools.test_runner._PerProcessState.delete_output_on_success = config.delete_output_on_success

Definition at line 478 of file test_runner.py.

◆ enforce_expected_images

testing.tools.test_runner._PerProcessState.enforce_expected_images = config.enforce_expected_images

Definition at line 479 of file test_runner.py.

◆ features

testing.tools.test_runner._PerProcessState.features = config.features

◆ fixup_path

testing.tools.test_runner._PerProcessState.fixup_path = finder.ScriptPath('fixup_pdf_template.py')

Definition at line 485 of file test_runner.py.

◆ font_dir

testing.tools.test_runner._PerProcessState.font_dir = os.path.join(finder.TestingDir(), 'resources', 'fonts')

Definition at line 487 of file test_runner.py.

◆ image_differ

testing.tools.test_runner._PerProcessState.image_differ
Initial value:
= pngdiffer.PNGDiffer(finder,
self.options.reverse_byte_order,
config.rendering_option,
config.default_renderer)

Definition at line 496 of file test_runner.py.

◆ options

◆ pdfium_test_path

testing.tools.test_runner._PerProcessState.pdfium_test_path = config.GetPdfiumTestPath(finder)

◆ process_name

testing.tools.test_runner._PerProcessState.process_name = multiprocessing.current_process().name

◆ skia_tester

testing.tools.test_runner._PerProcessState.skia_tester = None

◆ source_dir

testing.tools.test_runner._PerProcessState.source_dir = finder.TestingDir()

◆ test_dir

testing.tools.test_runner._PerProcessState.test_dir = config.test_dir

Definition at line 476 of file test_runner.py.

◆ test_suppressor

testing.tools.test_runner._PerProcessState.test_suppressor
Initial value:
= suppressor.Suppressor(
finder, self.features, self.options.disable_javascript,
self.options.disable_xfa, config.rendering_option)

Definition at line 493 of file test_runner.py.

◆ test_type

testing.tools.test_runner._PerProcessState.test_type = config.test_type

◆ text_diff_path

testing.tools.test_runner._PerProcessState.text_diff_path = finder.ScriptPath('text_diff.py')

Definition at line 486 of file test_runner.py.

◆ third_party_font_dir

testing.tools.test_runner._PerProcessState.third_party_font_dir = finder.ThirdPartyFontsDir()

Definition at line 488 of file test_runner.py.

◆ working_dir

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.TestText().


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