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

Issue 339009: GMocking Externaltab tests. (Closed)

Created:
11 years, 1 month ago by stoyan
Modified:
9 years, 7 months ago
Reviewers:
amit, Paweł Hajdan Jr.
CC:
chromium-reviews_googlegroups.com, tim (not reviewing)
Visibility:
Public.

Description

GMocking Externaltab tests. Yet I cannot delete AutomationProxyForExternalTab because it is used by extension_uitest.cc. Enable some tests meanwhile - now they should be stable enough. BUG=18797, 24664 TEST=ui_tests ok Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31016

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 8

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 13

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 1

Patch Set 10 : '' #

Total comments: 6

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 14

Patch Set 13 : '' #

Total comments: 14

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Total comments: 8

Patch Set 17 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -98 lines) Patch
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/automation/automation_proxy.h View 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/automation_proxy_uitest.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/test/automation/automation_proxy_uitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +186 lines, -97 lines 0 comments Download
M chrome/test/ui_test_utils.h View 12 13 14 15 16 2 chunks +29 lines, -0 lines 0 comments Download
M chrome/test/ui_test_utils.cc View 12 13 14 15 16 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
stoyan
11 years, 1 month ago (2009-10-29 19:08:47 UTC) #1
Paweł Hajdan Jr.
Drive-by. http://codereview.chromium.org/339009/diff/11/7001 File chrome/test/automation/automation_proxy_uitest.cc (right): http://codereview.chromium.org/339009/diff/11/7001#newcode6 Line 6: #include <gmock/gmock.h> Shouldn't this #include use "" ...
11 years, 1 month ago (2009-10-29 19:49:39 UTC) #2
stoyan
http://codereview.chromium.org/339009/diff/11/7001 File chrome/test/automation/automation_proxy_uitest.cc (right): http://codereview.chromium.org/339009/diff/11/7001#newcode6 Line 6: #include <gmock/gmock.h> On 2009/10/29 19:49:40, Paweł Hajdan Jr. ...
11 years, 1 month ago (2009-10-29 20:26:23 UTC) #3
amit
Excellent stuff, all the odd waits are no longer necessary. Looks so much better. http://codereview.chromium.org/339009/diff/9002/10002 ...
11 years, 1 month ago (2009-10-29 21:04:56 UTC) #4
stoyan
http://codereview.chromium.org/339009/diff/9002/10002 File chrome/test/automation/automation_proxy_uitest.cc (right): http://codereview.chromium.org/339009/diff/9002/10002#newcode885 Line 885: // Here comes an ugly hack. Chrome sends ...
11 years, 1 month ago (2009-10-29 21:32:11 UTC) #5
Paweł Hajdan Jr.
After fixing the issues below, LGTM. http://codereview.chromium.org/339009/diff/6013/11011 File chrome/test/automation/automation_proxy_uitest.cc (right): http://codereview.chromium.org/339009/diff/6013/11011#newcode862 Line 862: struct ExternalTabUITestMockClient ...
11 years, 1 month ago (2009-10-30 06:06:58 UTC) #6
stoyan
http://codereview.chromium.org/339009/diff/6013/11011 File chrome/test/automation/automation_proxy_uitest.cc (right): http://codereview.chromium.org/339009/diff/6013/11011#newcode862 Line 862: struct ExternalTabUITestMockClient : public AutomationProxy { On 2009/10/30 ...
11 years, 1 month ago (2009-10-30 16:28:37 UTC) #7
stoyan
moved TimedMsgLoop to ui_test_utils
11 years, 1 month ago (2009-10-30 19:46:51 UTC) #8
amit
lgtm http://codereview.chromium.org/339009/diff/10007/10008 File chrome/test/automation/automation_proxy_uitest.cc (right): http://codereview.chromium.org/339009/diff/10007/10008#newcode873 Line 873: MOCK_METHOD1(HandleDestroyed, void(int handle)); nit: rename it to ...
11 years, 1 month ago (2009-10-30 20:28:07 UTC) #9
Paweł Hajdan Jr.
It's really important to keep thing in ui_test_utils hard to misuse and obvious when looking ...
11 years, 1 month ago (2009-10-30 20:33:42 UTC) #10
stoyan
http://codereview.chromium.org/339009/diff/8004/4006 File chrome/test/automation/automation_proxy_uitest.cc (right): http://codereview.chromium.org/339009/diff/8004/4006#newcode939 Line 939: void ExternalTabUITestMockClient::DestroyHostWindow() { Helpers moved. Macros will pull ...
11 years, 1 month ago (2009-10-30 22:20:28 UTC) #11
Paweł Hajdan Jr.
http://codereview.chromium.org/339009/diff/4017/8016 File chrome/test/ui_test_utils.h (right): http://codereview.chromium.org/339009/diff/4017/8016#newcode140 Line 140: class TimedMsgLoop { Please don't use the Msg ...
11 years, 1 month ago (2009-10-30 22:27:45 UTC) #12
stoyan
http://codereview.chromium.org/339009/diff/4017/8016 File chrome/test/ui_test_utils.h (right): http://codereview.chromium.org/339009/diff/4017/8016#newcode140 Line 140: class TimedMsgLoop { On 2009/10/30 22:27:46, Paweł Hajdan ...
11 years, 1 month ago (2009-11-02 20:34:21 UTC) #13
stoyan
ping
11 years, 1 month ago (2009-11-04 20:39:17 UTC) #14
Paweł Hajdan Jr.
After fixing the nits, LGTM. Sorry for the delay. http://codereview.chromium.org/339009/diff/13012/12009 File chrome/test/ui_test_utils.cc (right): http://codereview.chromium.org/339009/diff/13012/12009#newcode507 Line ...
11 years, 1 month ago (2009-11-04 20:45:17 UTC) #15
stoyan
11 years, 1 month ago (2009-11-04 20:50:19 UTC) #16

          

Powered by Google App Engine
This is Rietveld 408576698