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

Issue 2404933002: Remove SafeSearchURLCheckerTest.Equivalence which doesn't test anything (Closed)

Created:
4 years, 2 months ago by msramek
Modified:
4 years, 2 months ago
Reviewers:
Marc Treib
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove SafeSearchURLCheckerTest.Equivalence which doesn't test anything SafeSearchURLCheckerTest.Equivalence contains three unused variables named |url_response|. After removing these unused variables, the test only verifies that the callback is called, which is already covered by SafeSearchURLCheckerTest.Simple. The test hints at URL normalization functionality which is, however, not implemented. BUG=653479 Committed: https://crrev.com/f97276943c4780c90a28c8062f00b171ef89f6c4 Cr-Commit-Position: refs/heads/master@{#424410}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -27 lines) Patch
M chrome/browser/safe_search_api/safe_search_url_checker_unittest.cc View 1 chunk +0 lines, -27 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
msramek
Hi Marc, PTAL! I noticed this while writing the previous CL. I hope I'm not ...
4 years, 2 months ago (2016-10-10 20:10:14 UTC) #6
Marc Treib
lgtm Nice catch! I think this is a historic artifact: Before the SafeSearch API existed, ...
4 years, 2 months ago (2016-10-11 12:40:30 UTC) #7
msramek
On 2016/10/11 12:40:30, Marc Treib wrote: > lgtm > > Nice catch! > > I ...
4 years, 2 months ago (2016-10-11 12:43:34 UTC) #8
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/2404933002/1
4 years, 2 months ago (2016-10-11 12:43:58 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-11 12:49:20 UTC) #11
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 12:51:07 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f97276943c4780c90a28c8062f00b171ef89f6c4
Cr-Commit-Position: refs/heads/master@{#424410}

Powered by Google App Engine
This is Rietveld 408576698