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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_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
Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py
index 1c81ae65c010f0df7817f602ce0fb05262fa8981..0db4b9bd4c95feced5ee623f20d015336057858f 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py
@@ -161,14 +161,12 @@ class RebaselineCLTest(BaseTestCase, LoggingTestCase):
"""Tests the list of commands that are invoked when rebaseline is called."""
# First write test contents to the mock filesystem so that
# fast/dom/prototype-taco.html is considered a real test to rebaseline.
- # TODO(qyearsley): Change this to avoid accessing protected methods.
- # pylint: disable=protected-access
port = self.tool.port_factory.get('test-win-win7')
self._write(
port.host.filesystem.join(port.layout_tests_dir(), 'fast/dom/prototype-taco.html'),
'test contents')
- self.command._rebaseline(
+ self.command.rebaseline(
self.command_options(issue=11112222),
{"fast/dom/prototype-taco.html": {Build("MOCK Try Win", 5000): ["txt", "png"]}})

Powered by Google App Engine
This is Rietveld 408576698