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

Issue 12235003: Split out policy code from net/tools/testserver. (Closed)

Created:
7 years, 10 months ago by Mattias Nissler (ping if slow)
Modified:
7 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Split out policy code from net/tools/testserver. This moves the policy-specific code to chrome/browser/policy/cloud/test and adds LocalPolicyTestServer which simplifies policy test server use in unit tests. BUG=chromium:119403 TEST=unit tests TBR=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183159

Patch Set 1 #

Patch Set 2 : Rebase, some cleanup. #

Patch Set 3 : Fix tests, add simplified LocalPolicyTestServer ctor. #

Patch Set 4 : Saving a file, sherlock? ;) #

Total comments: 31

Patch Set 5 : Address comments. #

Patch Set 6 : Rebase. #

Patch Set 7 : Remove stray include. #

Patch Set 8 : It's base::FilePath now. #

Patch Set 9 : more base::FilePath #

Patch Set 10 : 80 chars. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -885 lines) Patch
M chrome/browser/policy/cloud_policy_browsertest.cc View 1 2 3 4 5 6 7 8 5 chunks +14 lines, -28 lines 0 comments Download
M chrome/browser/policy/device_management_service_browsertest.cc View 1 2 3 4 5 7 4 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/policy/test/asn1der.py View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/browser/policy/test/local_policy_test_server.h View 1 2 3 4 5 6 7 8 9 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/browser/policy/test/local_policy_test_server.cc View 1 2 3 4 5 6 7 1 chunk +92 lines, -0 lines 0 comments Download
A + chrome/browser/policy/test/policy_testserver.py View 1 2 3 4 5 16 chunks +92 lines, -40 lines 0 comments Download
M chrome/browser_tests.isolate View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/test/data/policy/blank.html View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
D chrome/test/data/policy/device_management View 1 chunk +0 lines, -12 lines 0 comments Download
A + chrome/test/data/policy/policy_device_management_service_browsertest.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M net/test/local_test_server.cc View 1 1 chunk +0 lines, -7 lines 0 comments Download
M net/tools/testserver/OWNERS View 1 chunk +0 lines, -5 lines 0 comments Download
D net/tools/testserver/asn1der.py View 1 chunk +0 lines, -60 lines 0 comments Download
D net/tools/testserver/device_management.py View 1 2 3 4 5 1 chunk +0 lines, -686 lines 0 comments Download
M net/tools/testserver/testserver.py View 1 2 3 4 5 4 chunks +0 lines, -39 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Mattias Nissler (ping if slow)
Here's the test server CL. Just FYI at this point, I need to rebase so ...
7 years, 10 months ago (2013-02-11 19:17:09 UTC) #1
Mattias Nissler (ping if slow)
Ready for review!
7 years, 10 months ago (2013-02-12 16:31:50 UTC) #2
Mattias Nissler (ping if slow)
Adding Paweł for reviewing the test infrastructure bits.
7 years, 10 months ago (2013-02-12 18:04:04 UTC) #3
Joao da Silva
lgtm with nits https://codereview.chromium.org/12235003/diff/11001/chrome/browser/policy/cloud_policy_browsertest.cc File chrome/browser/policy/cloud_policy_browsertest.cc (right): https://codereview.chromium.org/12235003/diff/11001/chrome/browser/policy/cloud_policy_browsertest.cc#newcode5 chrome/browser/policy/cloud_policy_browsertest.cc:5: #include "base/base_paths.h" remove https://codereview.chromium.org/12235003/diff/11001/chrome/browser/policy/cloud_policy_browsertest.cc#newcode10 chrome/browser/policy/cloud_policy_browsertest.cc:10: #include ...
7 years, 10 months ago (2013-02-12 19:06:05 UTC) #4
Mattias Nissler (ping if slow)
https://codereview.chromium.org/12235003/diff/11001/chrome/browser/policy/cloud_policy_browsertest.cc File chrome/browser/policy/cloud_policy_browsertest.cc (right): https://codereview.chromium.org/12235003/diff/11001/chrome/browser/policy/cloud_policy_browsertest.cc#newcode5 chrome/browser/policy/cloud_policy_browsertest.cc:5: #include "base/base_paths.h" On 2013/02/12 19:06:05, Joao da Silva wrote: ...
7 years, 10 months ago (2013-02-13 11:54:10 UTC) #5
Mattias Nissler (ping if slow)
Paweł: Friendly ping.
7 years, 10 months ago (2013-02-13 11:55:24 UTC) #6
Paweł Hajdan Jr.
LGTM, thanks!
7 years, 10 months ago (2013-02-13 13:32:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/12235003/25008
7 years, 10 months ago (2013-02-18 14:30:00 UTC) #8
commit-bot: I haz the power
Presubmit check for 12235003-25008 failed and returned exit status 1. INFO:root:Found 14 file(s). Running presubmit ...
7 years, 10 months ago (2013-02-18 14:30:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/12235003/34002
7 years, 10 months ago (2013-02-18 14:35:40 UTC) #10
commit-bot: I haz the power
Presubmit check for 12235003-34002 failed and returned exit status 1. INFO:root:Found 14 file(s). Running presubmit ...
7 years, 10 months ago (2013-02-18 14:35:56 UTC) #11
anagy4698
Ezt a beszélgetést a program automatikusan lefordította: angol... check useful? Please send feedback & hate ...
7 years, 10 months ago (2013-02-18 14:50:42 UTC) #12
Mattias Nissler (ping if slow)
And finally Ben to TBR for the gyp change.
7 years, 10 months ago (2013-02-18 14:53:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/12235003/34002
7 years, 10 months ago (2013-02-18 14:54:40 UTC) #14
commit-bot: I haz the power
Change committed as 183159
7 years, 10 months ago (2013-02-19 05:13:52 UTC) #15
Ben Goodger (Google)
7 years, 10 months ago (2013-02-19 17:50:17 UTC) #16
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698