def METHOD_NAME(self):
    """Get all the textures to be tested."""
    # 1. Get all the images from projects and resources
    images = []
    for directory in ['projects', 'resources']:
        for rootPath, dirNames, fileNames in os.walk(os.path.join(os.path.normpath(os.environ['WEBOTS_HOME']), directory)):
            for fileName in fnmatch.filter(fileNames, '*.png'):
                image = os.path.join(rootPath, fileName)
                images.append(image)
            for fileName in fnmatch.filter(fileNames, '*.jpg'):
                image = os.path.join(rootPath, fileName)
                images.append(image)
    # 2. filter-out the images which are not textures
    self.textures = []
    for image in images:
        if not (
            'controllers' in image or
            'docs' in image or
            'icons' in image or
            'libraries' in image or
            'plugins' in image or
            'simulator-sdk' in image or
            os.path.join('resources', 'images') in image or
            os.path.join('resources', 'web') in image or
            os.path.join('resources', 'wren') in image
        ):
            self.textures.append(image)