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

Issue 2822016: [chrome_frame] Refactor/merge IE no interference tests with other mock event ... (Closed)

Created:
10 years, 6 months ago by kkania
Modified:
7 years, 9 months ago
Reviewers:
amit
CC:
chromium-reviews, amit
Visibility:
Public.

Description

[chrome_frame] Refactor/merge IE no interference tests with other mock event sink tests. Have the test mock contain, not inherit the IE event sink. Use the new test server to verify the right requests are being sent. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52137

Patch Set 1 #

Total comments: 27

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2848 lines, -2143 lines) Patch
M chrome_frame/chrome_frame.gyp View 1 2 1 chunk +7 lines, -3 lines 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.h View 2 2 chunks +12 lines, -14 lines 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.cc View 2 2 chunks +52 lines, -1 line 0 comments Download
M chrome_frame/test/data/anchor.html View 1 2 2 chunks +7 lines, -8 lines 0 comments Download
A chrome_frame/test/data/javascript_redirect.html View 1 chunk +11 lines, -0 lines 0 comments Download
A chrome_frame/test/data/link.html View 1 chunk +5 lines, -0 lines 0 comments Download
D chrome_frame/test/data/no_interference/javascript_redirect.html View 1 chunk +0 lines, -11 lines 0 comments Download
D chrome_frame/test/data/no_interference/link.html View 1 chunk +0 lines, -5 lines 0 comments Download
D chrome_frame/test/data/no_interference/window_open.html View 1 1 chunk +0 lines, -13 lines 0 comments Download
A chrome_frame/test/data/simple.html View 1 chunk +6 lines, -0 lines 0 comments Download
A chrome_frame/test/data/window_open.html View 1 1 chunk +24 lines, -0 lines 0 comments Download
A chrome_frame/test/ie_event_sink.h View 1 2 1 chunk +230 lines, -0 lines 0 comments Download
A chrome_frame/test/ie_event_sink.cc View 1 2 1 chunk +507 lines, -0 lines 0 comments Download
A chrome_frame/test/mock_ie_event_sink_actions.h View 1 1 chunk +172 lines, -0 lines 0 comments Download
A chrome_frame/test/mock_ie_event_sink_test.h View 1 2 1 chunk +228 lines, -0 lines 0 comments Download
A chrome_frame/test/mock_ie_event_sink_test.cc View 1 2 1 chunk +172 lines, -0 lines 0 comments Download
A chrome_frame/test/navigation_test.cc View 1 2 1 chunk +638 lines, -0 lines 0 comments Download
D chrome_frame/test/no_interference_test.cc View 1 1 chunk +0 lines, -269 lines 0 comments Download
M chrome_frame/test/simulate_input.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome_frame/test/simulate_input.cc View 1 2 1 chunk +6 lines, -10 lines 0 comments Download
D chrome_frame/test/test_mock_with_web_server.h View 1 2 1 chunk +0 lines, -139 lines 0 comments Download
D chrome_frame/test/test_mock_with_web_server.cc View 1 2 1 chunk +0 lines, -1635 lines 0 comments Download
M chrome_frame/test/test_server.h View 1 2 2 chunks +17 lines, -4 lines 0 comments Download
M chrome_frame/test/test_server.cc View 1 2 5 chunks +33 lines, -5 lines 0 comments Download
M chrome_frame/test/test_with_web_server.h View 1 2 3 chunks +94 lines, -24 lines 0 comments Download
M chrome_frame/test/test_with_web_server.cc View 1 2 2 chunks +83 lines, -0 lines 0 comments Download
A chrome_frame/test/ui_test.cc View 1 2 1 chunk +541 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
kkania
Let me know if you want me to break this into smaller pieces. I will ...
10 years, 6 months ago (2010-06-16 22:41:19 UTC) #1
stoyan
http://codereview.chromium.org/2822016/diff/1/25 File chrome_frame/test/test_with_web_server.h (right): http://codereview.chromium.org/2822016/diff/1/25#newcode279 chrome_frame/test/test_with_web_server.h:279: void ExpectAndServeRequest(CFInvocation invocation, const std::wstring& url); I don't like ...
10 years, 6 months ago (2010-06-17 15:18:17 UTC) #2
kkania
http://codereview.chromium.org/2822016/diff/1/25 File chrome_frame/test/test_with_web_server.h (right): http://codereview.chromium.org/2822016/diff/1/25#newcode279 chrome_frame/test/test_with_web_server.h:279: void ExpectAndServeRequest(CFInvocation invocation, const std::wstring& url); I think some ...
10 years, 6 months ago (2010-06-17 16:41:13 UTC) #3
stoyan
LGTM Yet, consider extracting the content and header manipulation methods out of MockWebServer class.
10 years, 6 months ago (2010-06-17 16:48:41 UTC) #4
amit
Looks quite impressive. http://codereview.chromium.org/2822016/diff/1/2 File chrome_frame/chrome_frame.gyp (right): http://codereview.chromium.org/2822016/diff/1/2#newcode232 chrome_frame/chrome_frame.gyp:232: 'test/ie_event_sink.cc', I like the new structure ...
10 years, 6 months ago (2010-06-17 22:23:53 UTC) #5
stoyan
http://codereview.chromium.org/2822016/diff/1/11 File chrome_frame/test/ie_event_sink.cc (right): http://codereview.chromium.org/2822016/diff/1/11#newcode172 chrome_frame/test/ie_event_sink.cc:172: AutoLock lock(listener_lock_); On 2010/06/17 22:23:53, amit wrote: > The ...
10 years, 6 months ago (2010-06-18 16:44:01 UTC) #6
amit
[ananta, for STA/MTA related history] http://codereview.chromium.org/2822016/diff/1/11 File chrome_frame/test/ie_event_sink.cc (right): http://codereview.chromium.org/2822016/diff/1/11#newcode172 chrome_frame/test/ie_event_sink.cc:172: AutoLock lock(listener_lock_); On 2010/06/18 ...
10 years, 6 months ago (2010-06-18 17:38:58 UTC) #7
kkania
ping, ananta, do you remember the reason this is MTA?
10 years, 5 months ago (2010-07-01 17:57:34 UTC) #8
ananta
On 2010/07/01 17:57:34, kkania wrote: > ping, ananta, do you remember the reason this is ...
10 years, 5 months ago (2010-07-01 19:05:29 UTC) #9
kkania
Got rid of lock, fixed comments, and fixed test problems on different platforms. http://codereview.chromium.org/2822016/diff/1/11 File ...
10 years, 5 months ago (2010-07-02 01:41:08 UTC) #10
amit
lgtm++ http://codereview.chromium.org/2822016/diff/22001/23011 File chrome_frame/test/ie_event_sink.cc (right): http://codereview.chromium.org/2822016/diff/22001/23011#newcode183 chrome_frame/test/ie_event_sink.cc:183: if (renderer_window) { nit: IsWindow(renderer_window) here and elsewhere ...
10 years, 5 months ago (2010-07-02 18:06:22 UTC) #11
kkania
7 years, 9 months ago (2013-02-28 21:51:09 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/2822016/diff/22001/chrome_frame/test/ie_event...
File chrome_frame/test/ie_event_sink.cc (right):

https://codereview.chromium.org/2822016/diff/22001/chrome_frame/test/ie_event...
chrome_frame/test/ie_event_sink.cc:183: if (renderer_window) {
On 2010/07/02 18:06:22, amit wrote:
> nit: IsWindow(renderer_window) here and elsewhere for window handle validity.

Done.

Powered by Google App Engine
This is Rietveld 408576698