![]() |
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, dirname) | |
options (self) | |
IsSkiaGoldEnabled (self) | |
IsExecutionSuppressed (self, input_path) | |
IsResultSuppressed (self, input_filename) | |
HandleResult (self, test_case, test_result) | |
Run (self) | |
SetDeleteOutputOnSuccess (self, new_value) | |
SetEnforceExpectedImages (self, new_value) | |
Public Attributes | |
per_process_config | |
resultdb | |
per_process_state = _PerProcessState(self.per_process_config) | |
test_cases = TestCaseManager() | |
list | execution_suppressed_cases = [] |
list | failures = [] |
list | surprises = [] |
list | skia_gold_successes = [] |
list | skia_gold_unexpected_successes = [] |
list | skia_gold_failures = [] |
list | result_suppressed_cases = [] |
Protected Member Functions | |
_SuppressStatus (self, input_filename, status) | |
_SuppressArtifactStatus (self, test_result, status) | |
_PrintSummary (self) | |
Definition at line 42 of file test_runner.py.
testing.tools.test_runner.TestRunner.__init__ | ( | self, | |
dirname ) |
Definition at line 44 of file test_runner.py.
|
protected |
Definition at line 350 of file test_runner.py.
References execution_suppressed_cases, failures, IsSkiaGoldEnabled(), per_process_state, print(), result_suppressed_cases, skia_gold_failures, skia_gold_successes, skia_gold_unexpected_successes, sum, surprises, testing.tools.safetynet_compare.CompareRun.test_cases, and test_cases.
|
protected |
Definition at line 150 of file test_runner.py.
|
protected |
Definition at line 135 of file test_runner.py.
References testing.tools.suppressor.Suppressor.IsResultSuppressed(), and IsResultSuppressed().
Referenced by HandleResult().
testing.tools.test_runner.TestRunner.HandleResult | ( | self, | |
test_case, | |||
test_result ) |
Definition at line 68 of file test_runner.py.
References _SuppressStatus(), append(), failures, testing.tools.suppressor.Suppressor.IsResultSuppressed(), IsResultSuppressed(), print(), result_suppressed_cases, skia_gold_failures, skia_gold_successes, skia_gold_unexpected_successes, and surprises.
testing.tools.test_runner.TestRunner.IsExecutionSuppressed | ( | self, | |
input_path ) |
Definition at line 60 of file test_runner.py.
References per_process_state.
testing.tools.test_runner.TestRunner.IsResultSuppressed | ( | self, | |
input_filename ) |
Definition at line 64 of file test_runner.py.
References per_process_state.
Referenced by testing.tools.test_runner._TestCaseRunner._RegenerateIfNeeded(), _SuppressStatus(), HandleResult(), and testing.tools.test_runner._TestCaseRunner.TestText().
testing.tools.test_runner.TestRunner.IsSkiaGoldEnabled | ( | self | ) |
Definition at line 56 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, 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, options(), and per_process_config.
Referenced by _PrintSummary().
testing.tools.test_runner.TestRunner.options | ( | self | ) |
Definition at line 53 of file test_runner.py.
References per_process_config.
Referenced by testing.tools.test_runner._TestCaseRunner._NewImageArtifact(), testing.tools.test_runner._TestCaseRunner._RegenerateIfNeeded(), IsSkiaGoldEnabled(), testing.tools.test_runner._TestCaseRunner.TestPixel(), and testing.tools.test_runner._TestCaseRunner.TestText().
testing.tools.test_runner.TestRunner.Run | ( | self | ) |
Definition at line 159 of file test_runner.py.
References per_process_config, and print().
testing.tools.test_runner.TestRunner.SetDeleteOutputOnSuccess | ( | self, | |
new_value ) |
Set whether to delete generated output if the test passes.
Definition at line 379 of file test_runner.py.
References per_process_config.
testing.tools.test_runner.TestRunner.SetEnforceExpectedImages | ( | self, | |
new_value ) |
Set whether to enforce that each test case provide an expected image.
Definition at line 383 of file test_runner.py.
References per_process_config.
testing.tools.test_runner.TestRunner.execution_suppressed_cases = [] |
Definition at line 270 of file test_runner.py.
Referenced by _PrintSummary().
list testing.tools.test_runner.TestRunner.failures = [] |
Definition at line 294 of file test_runner.py.
Referenced by _PrintSummary(), and HandleResult().
testing.tools.test_runner.TestRunner.per_process_config |
Definition at line 49 of file test_runner.py.
Referenced by IsSkiaGoldEnabled(), options(), Run(), SetDeleteOutputOnSuccess(), and SetEnforceExpectedImages().
testing.tools.test_runner.TestRunner.per_process_state = _PerProcessState(self.per_process_config) |
Definition at line 252 of file test_runner.py.
Referenced by _PrintSummary(), IsExecutionSuppressed(), and IsResultSuppressed().
list testing.tools.test_runner.TestRunner.result_suppressed_cases = [] |
Definition at line 299 of file test_runner.py.
Referenced by _PrintSummary(), and HandleResult().
testing.tools.test_runner.TestRunner.resultdb |
Definition at line 104 of file test_runner.py.
list testing.tools.test_runner.TestRunner.skia_gold_failures = [] |
Definition at line 298 of file test_runner.py.
Referenced by _PrintSummary(), and HandleResult().
list testing.tools.test_runner.TestRunner.skia_gold_successes = [] |
Definition at line 296 of file test_runner.py.
Referenced by _PrintSummary(), and HandleResult().
list testing.tools.test_runner.TestRunner.skia_gold_unexpected_successes = [] |
Definition at line 297 of file test_runner.py.
Referenced by _PrintSummary(), and HandleResult().
list testing.tools.test_runner.TestRunner.surprises = [] |
Definition at line 295 of file test_runner.py.
Referenced by _PrintSummary(), and HandleResult().
testing.tools.test_runner.TestRunner.test_cases = TestCaseManager() |
Definition at line 269 of file test_runner.py.
Referenced by testing.tools.test_runner.TestCaseManager.__iter__(), testing.tools.test_runner.TestCaseManager.__len__(), _PrintSummary(), testing.tools.test_runner.TestCaseManager.GetTestCase(), and testing.tools.test_runner.TestCaseManager.NewTestCase().