Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: gm/rebaseline_server/compare_to_expectations_test.py

Issue 208243003: rebaseline_server: rename results.py to compare_to_expectations.py (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/rebaseline_server/compare_to_expectations.py ('k') | gm/rebaseline_server/results.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/rebaseline_server/compare_to_expectations_test.py
diff --git a/gm/rebaseline_server/results_test.py b/gm/rebaseline_server/compare_to_expectations_test.py
similarity index 87%
rename from gm/rebaseline_server/results_test.py
rename to gm/rebaseline_server/compare_to_expectations_test.py
index 6d7b05fcd335632c3eb199f3d97e9885389f2a18..c0bf19003f6c86f0ad0bf9bf3feeb02fdc3b0453 100755
--- a/gm/rebaseline_server/results_test.py
+++ b/gm/rebaseline_server/compare_to_expectations_test.py
@@ -6,7 +6,7 @@ Copyright 2013 Google Inc.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-Test results.py
+Test compare_to_expectations.py
TODO(epoger): Create a command to update the expected results (in
self._output_dir_expected) when appropriate. For now, you should:
@@ -23,15 +23,16 @@ import sys
# Imports from within Skia
import base_unittest
+import compare_to_expectations
import results
import gm_json # must import results first, so that gm_json will be in sys.path
-class ResultsTest(base_unittest.TestCase):
+class CompareToExpectationsTest(base_unittest.TestCase):
def test_gm(self):
"""Process results of a GM run with the Results object."""
- results_obj = results.Results(
+ results_obj = compare_to_expectations.Results(
actuals_root=os.path.join(self._input_dir, 'gm-actuals'),
expected_root=os.path.join(self._input_dir, 'gm-expectations'),
generated_images_root=self._temp_dir,
@@ -49,7 +50,7 @@ def mock_get_timestamp():
def main():
- base_unittest.main(ResultsTest)
+ base_unittest.main(CompareToExpectationsTest)
if __name__ == '__main__':
« no previous file with comments | « gm/rebaseline_server/compare_to_expectations.py ('k') | gm/rebaseline_server/results.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698