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

Issue 11087027: WebSocket test server migration on ExtensionApiTest.WebSocket (Closed)

Created:
8 years, 2 months ago by Takashi Toyoshima
Modified:
8 years, 2 months ago
CC:
chromium-reviews, pam+watch_chromium.org, Aaron Boodman, cbentzel+watch_chromium.org, mihaip-chromium-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

WebSocket test server migration on ExtensionApiTest.WebSocket (fourth trial) WebSocket test server migration from content::TestWebSocketServer to net::TestServer. This is the first change to use net::TestServer as a WebSocket test server. Other changes will follow to obsoelte content::TestWebSocketServer. BUG=137639 TEST=browser_tests --gtest_filter='ExtensionApiTest.WebSocket' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161304 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161542 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161572 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161773

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix copyright #

Total comments: 9

Patch Set 3 : revise #

Patch Set 4 : FILE_PATH_LITERAL("foo/bar") style #

Patch Set 5 : rebase #

Patch Set 6 : rebase for retry #

Patch Set 7 : update test.json #

Patch Set 8 : add default value for testWebSocketPort #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -21 lines) Patch
M chrome/browser/extensions/extension_apitest.h View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/extensions/extension_apitest.cc View 1 2 3 4 5 6 7 3 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_websocket_apitest.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/common/extensions/api/test.json View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/websocket/test.js View 2 chunks +9 lines, -7 lines 0 comments Download
A net/data/websocket/echo_wsh.py View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M net/tools/testserver/testserver.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Takashi Toyoshima
Hi Ryan, and Sky. Could you review this CL? Sky, This is a change to ...
8 years, 2 months ago (2012-10-09 13:54:47 UTC) #1
sky
I'm not a good reviewer for this. I randomly added Matt.
8 years, 2 months ago (2012-10-09 16:10:26 UTC) #2
Matt Perry
As long as the tests still pass, LGTM
8 years, 2 months ago (2012-10-09 18:22:52 UTC) #3
Ryan Sleevi
A few nits, hopefully a quick turnaround. https://codereview.chromium.org/11087027/diff/10001/chrome/browser/extensions/extension_apitest.h File chrome/browser/extensions/extension_apitest.h (right): https://codereview.chromium.org/11087027/diff/10001/chrome/browser/extensions/extension_apitest.h#newcode160 chrome/browser/extensions/extension_apitest.h:160: // chrome.test.getConfig(). ...
8 years, 2 months ago (2012-10-09 19:39:07 UTC) #4
Takashi Toyoshima
+akalin for Python readability check. Akalin, I think major part of testserver.py was written by ...
8 years, 2 months ago (2012-10-10 01:34:48 UTC) #5
Takashi Toyoshima
https://codereview.chromium.org/11087027/diff/10001/chrome/browser/extensions/extension_websocket_apitest.cc File chrome/browser/extensions/extension_websocket_apitest.cc (right): https://codereview.chromium.org/11087027/diff/10001/chrome/browser/extensions/extension_websocket_apitest.cc#newcode12 chrome/browser/extensions/extension_websocket_apitest.cc:12: FilePath().AppendASCII("net/data/websocket"))); The reason of relative path exists in LocalTestServer::Init(). ...
8 years, 2 months ago (2012-10-10 04:14:41 UTC) #6
Ryan Sleevi
lgtm
8 years, 2 months ago (2012-10-10 18:13:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/11087027/6005
8 years, 2 months ago (2012-10-11 04:18:34 UTC) #8
commit-bot: I haz the power
Change committed as 161304
8 years, 2 months ago (2012-10-11 06:10:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/11087027/16001
8 years, 2 months ago (2012-10-12 06:36:53 UTC) #10
commit-bot: I haz the power
Change committed as 161542
8 years, 2 months ago (2012-10-12 09:19:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/11087027/16001
8 years, 2 months ago (2012-10-12 14:02:01 UTC) #12
commit-bot: I haz the power
Change committed as 161572
8 years, 2 months ago (2012-10-12 14:02:28 UTC) #13
Takashi Toyoshima
Debug build failed because of DCHECK failure. This is because testWebSocketPort was not registered to ...
8 years, 2 months ago (2012-10-13 16:10:29 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/11087027/25001
8 years, 2 months ago (2012-10-13 18:37:44 UTC) #15
commit-bot: I haz the power
8 years, 2 months ago (2012-10-13 20:52:21 UTC) #16
Change committed as 161773

Powered by Google App Engine
This is Rietveld 408576698