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

Issue 2213953003: Relanding: MD Settings: Adding some unit tests for <settings-main>. (Closed)

Created:
4 years, 4 months ago by dpapad
Modified:
4 years, 4 months ago
Reviewers:
michaelpg
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Relanding: MD Settings: Adding some unit tests for <settings-main>. Initial commit was reverted at https://codereview.chromium.org/2217493002 because the tests failed when run in debug bots. The issue causing this is now fixed. Specifically testing the "no results" message is shown/hidden as expected. - Splitting SearchManager to an interface and an implementation. - Using a TestSearchManager class (implements SearchManager) for testing <settings-main>. BUG=630383 NOPRESUBMIT=true CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/1c22a24eea98efce6f07c71706668cbc2ca71b3f Cr-Commit-Position: refs/heads/master@{#409887}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -42 lines) Patch
M chrome/browser/resources/settings/search_settings.js View 8 chunks +37 lines, -18 lines 0 comments Download
M chrome/browser/resources/settings/settings_main/settings_main.html View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/settings_main/settings_main.js View 2 chunks +25 lines, -20 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/main_page_behavior.js View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/test/data/webui/settings/cr_settings_browsertest.js View 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/test/data/webui/settings/settings_main_test.js View 1 chunk +104 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
dpapad
4 years, 4 months ago (2016-08-04 18:54:44 UTC) #4
dpapad
FYI, the only difference with previous attempt is inside suiteSetup() in the test file.
4 years, 4 months ago (2016-08-04 18:55:11 UTC) #5
michaelpg
cursory lgtm based on last CL and our discussion
4 years, 4 months ago (2016-08-04 18:57:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2213953003/1
4 years, 4 months ago (2016-08-04 19:08:53 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/231340)
4 years, 4 months ago (2016-08-04 19:17:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2213953003/1
4 years, 4 months ago (2016-08-04 19:43:42 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-04 20:30:23 UTC) #14
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 20:31:48 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1c22a24eea98efce6f07c71706668cbc2ca71b3f
Cr-Commit-Position: refs/heads/master@{#409887}

Powered by Google App Engine
This is Rietveld 408576698