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

Issue 1171943002: [test] Refactoring - Use subject/observer pattern for progress indicators. (Closed)

Created:
5 years, 6 months ago by Michael Achenbach
Modified:
5 years, 6 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[test] Refactoring - Use subject/observer pattern for progress indicators. This should prevent bugs caused by missing super calls in overridden methods. The assumption is that methods of different indicators are independent. Committed: https://crrev.com/fbe973ff1722a6158a5b2babce9c1a32d26a1d3b Cr-Commit-Position: refs/heads/master@{#28866}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Review #

Total comments: 2

Patch Set 3 : Review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -34 lines) Patch
M tools/run-tests.py View 1 1 chunk +6 lines, -6 lines 0 comments Download
M tools/testrunner/local/execution.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/testrunner/local/progress.py View 1 2 7 chunks +30 lines, -27 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1171943002/1
5 years, 6 months ago (2015-06-09 08:42:48 UTC) #2
Michael Achenbach
PTAL
5 years, 6 months ago (2015-06-09 08:50:01 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-09 09:06:31 UTC) #6
tandrii(chromium)
https://codereview.chromium.org/1171943002/diff/1/tools/testrunner/local/progress.py File tools/testrunner/local/progress.py (right): https://codereview.chromium.org/1171943002/diff/1/tools/testrunner/local/progress.py#newcode52 tools/testrunner/local/progress.py:52: class IndicatorNotifier: inherit from "(object)" https://codereview.chromium.org/1171943002/diff/1/tools/testrunner/local/progress.py#newcode57 tools/testrunner/local/progress.py:57: def register(self, ...
5 years, 6 months ago (2015-06-09 09:18:02 UTC) #7
Jakob Kummerow
Looks good. https://codereview.chromium.org/1171943002/diff/1/tools/testrunner/local/progress.py File tools/testrunner/local/progress.py (right): https://codereview.chromium.org/1171943002/diff/1/tools/testrunner/local/progress.py#newcode70 tools/testrunner/local/progress.py:70: def SetRunner(self, runner): On 2015/06/09 09:18:01, tandrii(chromium) ...
5 years, 6 months ago (2015-06-09 09:49:51 UTC) #8
tandrii(chromium)
https://codereview.chromium.org/1171943002/diff/1/tools/testrunner/local/progress.py File tools/testrunner/local/progress.py (right): https://codereview.chromium.org/1171943002/diff/1/tools/testrunner/local/progress.py#newcode70 tools/testrunner/local/progress.py:70: def SetRunner(self, runner): On 2015/06/09 09:49:51, Jakob wrote: > ...
5 years, 6 months ago (2015-06-09 10:14:34 UTC) #9
Michael Achenbach
Thanks to Andrii's help, the code is now statically initializing the generic methods. Now there ...
5 years, 6 months ago (2015-06-09 12:47:15 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1171943002/20001
5 years, 6 months ago (2015-06-09 13:14:04 UTC) #12
tandrii(chromium)
lgtm https://codereview.chromium.org/1171943002/diff/1/tools/testrunner/local/progress.py File tools/testrunner/local/progress.py (right): https://codereview.chromium.org/1171943002/diff/1/tools/testrunner/local/progress.py#newcode70 tools/testrunner/local/progress.py:70: def SetRunner(self, runner): On 2015/06/09 12:47:14, Michael Achenbach ...
5 years, 6 months ago (2015-06-09 13:24:45 UTC) #13
Jakob Kummerow
Funky. LGTM.
5 years, 6 months ago (2015-06-09 13:28:39 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-09 13:46:54 UTC) #16
Michael Achenbach
https://codereview.chromium.org/1171943002/diff/20001/tools/testrunner/local/progress.py File tools/testrunner/local/progress.py (right): https://codereview.chromium.org/1171943002/diff/20001/tools/testrunner/local/progress.py#newcode96 tools/testrunner/local/progress.py:96: def _Indicator_apply(func): On 2015/06/09 13:24:45, tandrii(chromium) wrote: > nit: ...
5 years, 6 months ago (2015-06-09 14:09:27 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1171943002/40001
5 years, 6 months ago (2015-06-09 14:10:09 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1171943002/40001
5 years, 6 months ago (2015-06-09 14:22:48 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-09 14:41:22 UTC) #24
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/fbe973ff1722a6158a5b2babce9c1a32d26a1d3b Cr-Commit-Position: refs/heads/master@{#28866}
5 years, 6 months ago (2015-06-09 14:41:40 UTC) #25
Michael Achenbach
5 years, 6 months ago (2015-06-09 15:31:44 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1163373005/ by machenbach@chromium.org.

The reason for reverting is: might break stuff.

Powered by Google App Engine
This is Rietveld 408576698