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 ) |
Finds compiled binaries under the build path.
Definition at line 72 of file common.py.
References testing.tools.common.DirectoryFinder.build_dir, testing.tools.safetynet_image.ImageComparison.build_dir, testing.tools.common.DirectoryFinder.os_name, and testing.tools.pngdiffer.PNGDiffer.os_name.
testing.tools.common.DirectoryFinder.ScriptPath | ( | self, | |
name ) |
Finds other scripts in the same directory as this one.
Definition at line 79 of file common.py.
References testing.tools.common.DirectoryFinder.my_dir.
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.tools.common.DirectoryFinder.testing_dir.
testing.tools.common.DirectoryFinder.ThirdPartyFontsDir | ( | self | ) |
Finds directory with the test fonts.
Definition at line 97 of file common.py.
References testing.tools.common.DirectoryFinder.base_dir.
testing.tools.common.DirectoryFinder.WorkingDir | ( | self, | |
other_components = '' ) |
Places generated files under the build directory, not source dir.
Definition at line 83 of file common.py.
References testing.tools.common.DirectoryFinder.build_dir, and testing.tools.safetynet_image.ImageComparison.build_dir.
testing.tools.common.DirectoryFinder.base_dir = root_finder.source_root |
Definition at line 68 of file common.py.
Referenced by testing.tools.common.DirectoryFinder.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 testing.tools.common.DirectoryFinder.ExecutablePath(), testing.tools.safetynet_image.ImageComparison.Run(), and testing.tools.common.DirectoryFinder.WorkingDir().
testing.tools.common.DirectoryFinder.my_dir = os.path.join(self.testing_dir, 'tools') |
Definition at line 66 of file common.py.
Referenced by testing.tools.common.DirectoryFinder.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(), testing.tools.common.DirectoryFinder.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 testing.tools.common.DirectoryFinder.TestingDir().