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

Issue 2715753002: Convert TabModelTest to use the public API of TabModel. (Closed)

Created:
3 years, 10 months ago by sdefresne
Modified:
3 years, 9 months ago
CC:
chromium-reviews, marq+watch_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert TabModelTest to use the public API of TabModel. Give a unique window name to all the inserted Tabs and disable web usage on the TabModel. With those changes it is possible to restrict TabModelTest to use the public API of TabModel. Using the public API makes it easier to refactor the code (as there is no dependency on the implementation or hole into it from the test). BUG=687207 Review-Url: https://codereview.chromium.org/2715753002 Cr-Commit-Position: refs/heads/master@{#454345} Committed: https://chromium.googlesource.com/chromium/src/+/8dd0cb3cdf573d6ea0021f2962ef8116c9e80857

Patch Set 1 #

Patch Set 2 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -108 lines) Patch
M ios/chrome/browser/tabs/tab_model.h View 1 1 chunk +0 lines, -17 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model.mm View 1 1 chunk +0 lines, -29 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model_unittest.mm View 1 24 chunks +371 lines, -62 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 15 (9 generated)
sdefresne
All the tests pass with this change. This make the test a bit more verbose ...
3 years, 10 months ago (2017-02-23 18:14:35 UTC) #2
sdefresne
rohitrao: ping
3 years, 9 months ago (2017-03-02 03:20:04 UTC) #3
rohitrao (ping after 24h)
LGTM, increased verbosity does not bother me. The testing methods seem to have slightly different ...
3 years, 9 months ago (2017-03-02 18:25:36 UTC) #9
sdefresne
On 2017/03/02 18:25:36, rohitrao wrote: > LGTM, increased verbosity does not bother me. > > ...
3 years, 9 months ago (2017-03-02 19:24:48 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/2715753002/40001
3 years, 9 months ago (2017-03-02 19:25:23 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 19:44:45 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8dd0cb3cdf573d6ea0021f2962ef...

Powered by Google App Engine
This is Rietveld 408576698