예제 #1
0
 def gather_baselines_for_test(result):
     if result.did_pass_or_run_as_expected():
         return
     result_dict = result.result_dict()
     result_dict['state'] = STATE_NEEDS_REBASELINE
     result_dict['baselines'] = get_test_baselines(result.test_name(), self._test_config)
     new_tests_subtree[result.test_name()] = result_dict
예제 #2
0
 def gather_baselines_for_test(result):
     if result.did_pass_or_run_as_expected():
         return
     result_dict = result.result_dict()
     result_dict['state'] = STATE_NEEDS_REBASELINE
     result_dict['baselines'] = get_test_baselines(result.test_name(), self._test_config)
     new_tests_subtree[result.test_name()] = result_dict
예제 #3
0
 def _assertBaselines(self, test_files, test_name, expected_baselines):
     actual_baselines = rebaseline_server.get_test_baselines(
         test_name, get_test_config(test_files))
     self.assertEqual(expected_baselines, actual_baselines)
예제 #4
0
 def _assertBaselines(self, test_files, test_name, expected_baselines):
     actual_baselines = rebaseline_server.get_test_baselines(test_name, get_test_config(test_files))
     self.assertEqual(expected_baselines, actual_baselines)