![]() |
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, build_location) | |
| ExecutablePath (self, name) | |
| ScriptPath (self, name) | |
| WorkingDir (self, other_components='') | |
| TestingDir (self, other_components='') | |
| ThirdPartyFontsDir (self) | |
Public Attributes | |
| testing_dir = os.path.join(root_finder.pdfium_root, 'testing') | |
| my_dir = os.path.join(self.testing_dir, 'tools') | |
| pdfium_dir = root_finder.pdfium_root | |
| base_dir = root_finder.source_root | |
| build_dir = os.path.join(self.base_dir, build_location) | |
| str | os_name = os_name() |
A class for finding directories and paths under either a standalone checkout or a chromium checkout of PDFium.
| testing.tools.common.DirectoryFinder.__init__ | ( | self, | |
| build_location ) |
| testing.tools.common.DirectoryFinder.ExecutablePath | ( | self, | |
| name ) |
| testing.tools.common.DirectoryFinder.ScriptPath | ( | self, | |
| name ) |
| testing.tools.common.DirectoryFinder.TestingDir | ( | self, | |
| other_components = '' ) |
Finds test files somewhere under the testing directory.
Definition at line 90 of file common.py.
References testing_dir.
| testing.tools.common.DirectoryFinder.ThirdPartyFontsDir | ( | self | ) |
| testing.tools.common.DirectoryFinder.WorkingDir | ( | self, | |
| other_components = '' ) |
| testing.tools.common.DirectoryFinder.base_dir = root_finder.source_root |
Definition at line 68 of file common.py.
Referenced by ThirdPartyFontsDir().
| testing.tools.common.DirectoryFinder.build_dir = os.path.join(self.base_dir, build_location) |
Definition at line 69 of file common.py.
Referenced by ExecutablePath(), testing.tools.safetynet_image.ImageComparison.Run(), and WorkingDir().
| testing.tools.common.DirectoryFinder.my_dir = os.path.join(self.testing_dir, 'tools') |
Definition at line 66 of file common.py.
Referenced by ScriptPath().
| str testing.tools.common.DirectoryFinder.os_name = os_name() |
Definition at line 70 of file common.py.
Referenced by testing.tools.pngdiffer.PNGDiffer.ComputeDifferences(), ExecutablePath(), testing.tools.pngdiffer.PNGDiffer.GetActualFiles(), and testing.tools.pngdiffer.PNGDiffer.Regenerate().
| testing.tools.common.DirectoryFinder.pdfium_dir = root_finder.pdfium_root |
| testing.tools.common.DirectoryFinder.testing_dir = os.path.join(root_finder.pdfium_root, 'testing') |
Definition at line 65 of file common.py.
Referenced by TestingDir().