Lines Matching refs:expectation
256 expectation is different between the following two files:
307 # Store old and new versions of the expectation for each GM
335 for expectation in self._expectations:
338 expectation.device_name + '-' +
339 expectation.image_name)
342 expectation.device_name + '-' +
343 expectation.image_name)
346 expectation.image_name, expectation.device_name))
349 download_gm_image(expectation.image_name,
351 expectation.expected_hash)
353 download_gm_image(expectation.image_name,
355 expectation.actual_hash)
359 expectation.expected_image_path = expected_image_path
360 expectation.actual_image_path = actual_image_path
363 image_map[expected_image_path] = (False, expectation)
364 image_map[actual_image_path] = (True, expectation)
397 for expectation in self._expectations:
398 expectation.is_rebaselined = False
399 self._set_expected_hash(expectation.device_name,
400 expectation.image_name,
401 expectation.expected_hash)
406 is_actual, expectation = self.image_map[image_path]
408 expectation.is_rebaselined = is_actual
409 expectation_hash = expectation.actual_hash if is_actual else\
410 expectation.expected_hash
413 self._set_expected_hash(expectation.device_name,
414 expectation.image_name,