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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py

Issue 2398733002: Make the AbstractParallelRebaselineCommand rebaseline function public/non-protected. (Closed)
Patch Set: Rebased Created 4 years, 2 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 | « third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py
index 6c72d1a1202df383463ed8ad16a6bf2ac9da2253..64f128706704a0c2ac1239da1bc064f5c934311a 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py
@@ -420,7 +420,7 @@ class TestRebaselineJson(BaseTestCase):
self._write(self.mac_expectations_path, "Bug(x) userscripts/first-test.html [ Failure ]\n")
self._write("userscripts/first-test.html", "Dummy test contents")
- self.command._rebaseline(self.options(), {"userscripts/first-test.html": {Build("MOCK Win7"): ["txt", "png"]}})
+ self.command.rebaseline(self.options(), {"userscripts/first-test.html": {Build("MOCK Win7"): ["txt", "png"]}})
self.assertEqual(self.tool.executive.calls, [])
@@ -428,7 +428,7 @@ class TestRebaselineJson(BaseTestCase):
self._setup_mock_build_data()
self._write("userscripts/first-test.html", "Dummy test contents")
- self.command._rebaseline(self.options(), {"userscripts/first-test.html": {Build("MOCK Win7"): ["txt", "png"]}})
+ self.command.rebaseline(self.options(), {"userscripts/first-test.html": {Build("MOCK Win7"): ["txt", "png"]}})
# Note that we have one run_in_parallel() call followed by a run_command()
self.assertEqual(
@@ -446,7 +446,7 @@ class TestRebaselineJson(BaseTestCase):
self._setup_mock_build_data()
self._write("userscripts/first-test.html", "Dummy test contents")
- self.command._rebaseline(self.options(), {"userscripts/first-test.html": {Build("MOCK Win7 (dbg)"): ["txt", "png"]}})
+ self.command.rebaseline(self.options(), {"userscripts/first-test.html": {Build("MOCK Win7 (dbg)"): ["txt", "png"]}})
# Note that we have one run_in_parallel() call followed by a run_command()
self.assertEqual(
@@ -463,7 +463,7 @@ class TestRebaselineJson(BaseTestCase):
def test_no_optimize(self):
self._setup_mock_build_data()
self._write("userscripts/first-test.html", "Dummy test contents")
- self.command._rebaseline(
+ self.command.rebaseline(
self.options(optimize=False),
{"userscripts/first-test.html": {Build("MOCK Win7"): ["txt", "png"]}})
@@ -480,7 +480,7 @@ class TestRebaselineJson(BaseTestCase):
def test_results_directory(self):
self._setup_mock_build_data()
self._write("userscripts/first-test.html", "Dummy test contents")
- self.command._rebaseline(
+ self.command.rebaseline(
self.options(optimize=False, results_directory='/tmp'),
{"userscripts/first-test.html": {Build("MOCK Win7"): ["txt", "png"]}})
@@ -522,7 +522,7 @@ class TestRebaselineJsonUpdatesExpectationsFiles(BaseTestCase):
self._write("userscripts/first-test.html", "Dummy test contents")
self._setup_mock_build_data()
- self.command._rebaseline(
+ self.command.rebaseline(
self.options(),
{"userscripts/first-test.html": {Build("MOCK Mac10.11"): ["txt", "png"]}})
@@ -536,7 +536,7 @@ class TestRebaselineJsonUpdatesExpectationsFiles(BaseTestCase):
self._write(self.mac_expectations_path, "Bug(x) userscripts/first-test.html [ Failure ]\n")
self._write("userscripts/first-test.html", "Dummy test contents")
self._setup_mock_build_data()
- self.command._rebaseline(
+ self.command.rebaseline(
self.options(),
{"userscripts/first-test.html": {Build("MOCK Mac10.11"): ["txt", "png"]}})
new_expectations = self._read(self.mac_expectations_path)
@@ -552,7 +552,7 @@ class TestRebaselineJsonUpdatesExpectationsFiles(BaseTestCase):
self._write("userscripts/first-test.html", "Dummy test contents")
self._setup_mock_build_data()
- self.command._rebaseline(
+ self.command.rebaseline(
self.options(),
{"userscripts/first-test.html": {Build("MOCK Mac10.11"): ["txt", "png"]}})
@@ -572,7 +572,7 @@ class TestRebaselineJsonUpdatesExpectationsFiles(BaseTestCase):
self._write("userscripts/first-test.html", "Dummy test contents")
self._setup_mock_build_data()
- self.command._rebaseline(
+ self.command.rebaseline(
self.options(),
{"userscripts/first-test.html": {Build("MOCK Mac10.11"): ["txt", "png"]}})
@@ -592,7 +592,7 @@ class TestRebaselineJsonUpdatesExpectationsFiles(BaseTestCase):
self._write("userscripts/first-test.html", "Dummy test contents")
self._setup_mock_build_data()
- self.command._rebaseline(
+ self.command.rebaseline(
self.options(),
{"userscripts/first-test.html": {Build("MOCK Mac10.11"): ["txt", "png"]}})
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698