Lines Matching +full:set +full:- +full:image
1 # SPDX-License-Identifier: Apache-2.0
2 # -----------------------------------------------------------------------------
9 # http://www.apache.org/licenses/LICENSE-2.0
16 # -----------------------------------------------------------------------------
18 An ASTC TestSet is comprised of a set of TestImages. Images are stored in a
20 each image - such as color profile and data encoding - in the directory and
24 find all of the test images that comprise the set.
29 from testlib.image import TestImage
34 Exception thrown for bad test set specification.
46 name: The name of the test set.
47 tests: The list of TestImages forming the set.
55 name (str): The name of the test set.
56 rootDir (str): The root directory of the test set.
58 formats (list(str)): The image formats to allow.
59 imageFilter (str): The name of the image to include (for bug repo).
67 raise TSetException("Bad test set root directory (%s)" % rootDir)
73 # Only select image files
80 image = TestImage(filePath)
83 if image.colorProfile not in profiles:
86 if image.colorFormat not in formats:
89 if imageFilter and image.testFile != imageFilter:
92 self.tests.append((filePath, image))