Lines Matching refs:input_filename

32     input_filename, source_dir = test_case
33 result = this.GenerateAndTest(input_filename, source_dir);
34 return (result, input_filename, source_dir)
49 def GenerateAndTest(self, input_filename, source_dir): argument
50 input_root, _ = os.path.splitext(input_filename)
56 actual_images = self.image_differ.GetActualFiles(input_filename, source_dir,
64 raised_exception = self.Generate(source_dir, input_filename, input_root,
68 print 'FAILURE: %s; %s' % (input_filename, raised_exception)
78 print 'FAILURE: %s; %s' % (input_filename, raised_exception)
82 if self.image_differ.HasDifferences(input_filename, source_dir,
85 and not self.test_suppressor.IsResultSuppressed(input_filename)
86 and not self.test_suppressor.IsImageDiffSuppressed(input_filename)):
88 self.image_differ.Regenerate(input_filename, source_dir,
93 and not self.test_suppressor.IsImageDiffSuppressed(input_filename)):
94 print 'FAILURE: %s; Missing expected images' % input_filename
99 def Generate(self, source_dir, input_filename, input_root, pdf_path): argument
100 original_path = os.path.join(source_dir, input_filename)
136 def HandleResult(self, input_filename, input_path, result): argument
146 if not self.test_suppressor.IsResultSuppressed(input_filename):
156 if self.test_suppressor.IsResultSuppressed(input_filename):
157 self.result_suppressed_cases.append(input_filename)
253 for input_filename in filename_list:
254 if input_file_re.match(input_filename):
255 input_path = os.path.join(file_dir, input_filename)
260 self.test_cases.append((input_filename, file_dir))
282 result, input_filename, source_dir = worker_result
283 input_path = os.path.join(source_dir, input_filename)
285 self.HandleResult(input_filename, input_path, result)
294 input_filename, input_file_dir = test_case
295 result = self.GenerateAndTest(input_filename, input_file_dir)
296 self.HandleResult(input_filename,
297 os.path.join(input_file_dir, input_filename), result)