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

Issue 439007: Apply test isolation goodness to net_unittests. (Closed)

Created:
11 years, 1 month ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
Reviewers:
eroman, wtc
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Apply test isolation goodness to net_unittests. We're going to have it enabled for all tests, but I'm enabling it one-by-one to limit damage from possible problems. TEST=none BUG=12710 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=33202

Patch Set 1 #

Patch Set 2 : fix Linux failures #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -7 lines) Patch
M net/base/host_resolver_proc.cc View 2 chunks +10 lines, -6 lines 1 comment Download
M net/base/run_all_unittests.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/ocsp/nss_ocsp.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Paweł Hajdan Jr.
Hope you'll like it. The short story is that this makes it harder to accidentally ...
11 years, 1 month ago (2009-11-23 20:45:13 UTC) #1
eroman
LGTM however, the try job had some failures, make sure it passes before committing.
11 years, 1 month ago (2009-11-23 21:15:42 UTC) #2
wtc
LGTM.
11 years, 1 month ago (2009-11-24 19:12:31 UTC) #3
Paweł Hajdan Jr.
On 2009/11/23 21:15:42, eroman wrote: > LGTM > > however, the try job had some ...
11 years ago (2009-11-25 11:59:52 UTC) #4
wtc
LGTM. http://codereview.chromium.org/439007/diff/2001/3001 File net/base/host_resolver_proc.cc (right): http://codereview.chromium.org/439007/diff/2001/3001#newcode109 net/base/host_resolver_proc.cc:109: friend struct DefaultSingletonTraits<DnsReloadTimer>; Do singleton classes need to ...
11 years ago (2009-11-25 18:17:01 UTC) #5
Paweł Hajdan Jr.
11 years ago (2009-11-25 21:22:15 UTC) #6
On 2009/11/25 18:17:01, wtc wrote:
> LGTM.
> 
> http://codereview.chromium.org/439007/diff/2001/3001
> File net/base/host_resolver_proc.cc (right):
> 
> http://codereview.chromium.org/439007/diff/2001/3001#newcode109
> net/base/host_resolver_proc.cc:109: friend struct
> DefaultSingletonTraits<DnsReloadTimer>;
> Do singleton classes need to have their constructor and
> destructor declared private?

Not strictly needed, but helps prevent misuse (making other instances for
example).

Powered by Google App Engine
This is Rietveld 408576698