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

Issue 7582002: Add check to help prevent test-only function usage in production code. (Closed)

Created:
9 years, 4 months ago by Jói
Modified:
9 years, 4 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, darin (slow to review)
Visibility:
Public.

Description

Add check to help prevent test-only function usage in production code. BUG=none TEST=Manual testing was performed. Warning message from presubmit test includes note to report issues to joi@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96184

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -0 lines) Patch
M PRESUBMIT.py View 1 2 chunks +52 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Jói
As promised in http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/7863d6c4f2919c80 Cheers, Jói
9 years, 4 months ago (2011-08-05 11:09:10 UTC) #1
M-A Ruel
False positives have a high cost, is there any at the moment? http://codereview.chromium.org/7582002/diff/1/PRESUBMIT.py File PRESUBMIT.py ...
9 years, 4 months ago (2011-08-05 18:27:41 UTC) #2
Jói
To test whether there are many false positives, I made a changelist that included all ...
9 years, 4 months ago (2011-08-08 23:11:00 UTC) #3
Jói
maruel: ping On Mon, Aug 8, 2011 at 11:11 PM, <joi@chromium.org> wrote: > To test ...
9 years, 4 months ago (2011-08-09 22:32:56 UTC) #4
M-A Ruel
lgtm sorry for the delay, I wasn't convinced until I reread your comment and realized ...
9 years, 4 months ago (2011-08-10 15:08:06 UTC) #5
Jói
9 years, 4 months ago (2011-08-10 15:11:46 UTC) #6
:-)  Thanks, no problem.

On Wed, Aug 10, 2011 at 3:08 PM,  <maruel@chromium.org> wrote:
> lgtm
>
> sorry for the delay, I wasn't convinced until I reread your comment and
> realized
> I had misread it; e.g. there is no false positive; I had somehow read it the
> reverse.
>
> http://codereview.chromium.org/7582002/
>

Powered by Google App Engine
This is Rietveld 408576698