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

Issue 7553009: Add some browser tests for net-internals (Closed)

Created:
9 years, 4 months ago by mmenke
Modified:
9 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, tburkard+watch_chromium.org, dominich+watch_chromium.org, eroman, arv (Not doing code reviews), mmenke
Visibility:
Public.

Description

Update net_internals tests to use the updated framework. BUG=89057 TEST=NetInternalsTest.*

Patch Set 1 : '' #

Patch Set 2 : update comments #

Patch Set 3 : Fix test_view.js #

Total comments: 2

Patch Set 4 : Response to Paweł's comment, test fix (?) #

Patch Set 5 : Just test result of first test #

Patch Set 6 : Just test result of first test #

Total comments: 57

Patch Set 7 : Response to comments #

Patch Set 8 : Rename framework.js #

Patch Set 9 : Use g_browser.receive as function name when appropriate. #

Patch Set 10 : Use g_browser.receive as function name when appropriate (Really, this time). #

Total comments: 38

Patch Set 11 : Response to Sheridan's comments (+Jdoc, +Unreached(). #

Patch Set 12 : Fix comments #

Total comments: 10

Patch Set 13 : Response to Sheridan's comments #

Total comments: 2

Patch Set 14 : Response to Sheridan's comments (3) #

Patch Set 15 : ??? #

Patch Set 16 : sync #

Patch Set 17 : Fix comment #

Patch Set 18 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -141 lines) Patch
M chrome/browser/ui/webui/net_internals_ui_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 8 chunks +19 lines, -81 lines 0 comments Download
M chrome/test/data/webui/net_internals/log_view_painter.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/data/webui/net_internals/net_internals_test.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +13 lines, -57 lines 0 comments Download
M chrome/test/data/webui/net_internals/prerender_view.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/net_internals/test_view.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
mmenke
Want to hear what you think of this testing framework for about:net-internals. On the plus ...
9 years, 4 months ago (2011-08-02 18:59:47 UTC) #1
eroman
I definitely like the title of this code review! Note that I am gone for ...
9 years, 4 months ago (2011-08-02 19:06:35 UTC) #2
Paweł Hajdan Jr.
Drive-by with testing comments (chrome/test/OWNERS here, you need approval to commit). http://codereview.chromium.org/7553009/diff/7021/chrome/test/base/ui_test_utils.h File chrome/test/base/ui_test_utils.h (right): ...
9 years, 4 months ago (2011-08-02 20:19:15 UTC) #3
mmenke
Thanks for the feedback. http://codereview.chromium.org/7553009/diff/7021/chrome/test/base/ui_test_utils.h File chrome/test/base/ui_test_utils.h (right): http://codereview.chromium.org/7553009/diff/7021/chrome/test/base/ui_test_utils.h#newcode501 chrome/test/base/ui_test_utils.h:501: // probably best not to ...
9 years, 4 months ago (2011-08-02 21:04:40 UTC) #4
Paweł Hajdan Jr.
Code I commented in the drive-by LGTM with comments, thank you. http://codereview.chromium.org/7553009/diff/7023/chrome/test/base/ui_test_utils.h File chrome/test/base/ui_test_utils.h (right): ...
9 years, 4 months ago (2011-08-02 21:45:57 UTC) #5
eroman
Thanks for adding this Matt! I am still digesting the entirety of this change, I ...
9 years, 4 months ago (2011-08-03 00:32:24 UTC) #6
mmenke
Just a couple high level responses. http://codereview.chromium.org/7553009/diff/7023/chrome/browser/ui/webui/net_internals_ui_browsertest.cc File chrome/browser/ui/webui/net_internals_ui_browsertest.cc (right): http://codereview.chromium.org/7553009/diff/7023/chrome/browser/ui/webui/net_internals_ui_browsertest.cc#newcode56 chrome/browser/ui/webui/net_internals_ui_browsertest.cc:56: NetInternalsTest::NetInternalsTest() : expected_title_(kPassTitle) ...
9 years, 4 months ago (2011-08-03 00:53:22 UTC) #7
mmenke
http://codereview.chromium.org/7553009/diff/7023/chrome/browser/resources/net_internals/browser_bridge.js File chrome/browser/resources/net_internals/browser_bridge.js (right): http://codereview.chromium.org/7553009/diff/7023/chrome/browser/resources/net_internals/browser_bridge.js#newcode329 chrome/browser/resources/net_internals/browser_bridge.js:329: this.disabled_ = true; On 2011/08/03 00:32:24, eroman wrote: > ...
9 years, 4 months ago (2011-08-03 15:44:17 UTC) #8
mmenke
[+scr]: Please review the changes to test_api.js. The change is so that I can use ...
9 years, 4 months ago (2011-08-03 16:25:34 UTC) #9
eroman
LGTM
9 years, 4 months ago (2011-08-03 17:29:59 UTC) #10
Sheridan Rawlins
Partial review of js (have to run to meetings). Mostly nits on JSDoc. Also, use ...
9 years, 4 months ago (2011-08-03 18:29:57 UTC) #11
mmenke
http://codereview.chromium.org/7553009/diff/25001/chrome/test/data/webui/net_internals/net_internals_test.js File chrome/test/data/webui/net_internals/net_internals_test.js (right): http://codereview.chromium.org/7553009/diff/25001/chrome/test/data/webui/net_internals/net_internals_test.js#newcode6 chrome/test/data/webui/net_internals/net_internals_test.js:6: * The way these tests work is as follows: ...
9 years, 4 months ago (2011-08-03 19:30:11 UTC) #12
Sheridan Rawlins
LGTM with nits. http://codereview.chromium.org/7553009/diff/20023/chrome/test/data/webui/net_internals/log_view_painter.js File chrome/test/data/webui/net_internals/log_view_painter.js (right): http://codereview.chromium.org/7553009/diff/20023/chrome/test/data/webui/net_internals/log_view_painter.js#newcode71 chrome/test/data/webui/net_internals/log_view_painter.js:71: expectTrue(stripped !== entry, Does expectNotEquals do ...
9 years, 4 months ago (2011-08-03 22:21:15 UTC) #13
mmenke
Thanks so much for the review. http://codereview.chromium.org/7553009/diff/20023/chrome/test/data/webui/net_internals/log_view_painter.js File chrome/test/data/webui/net_internals/log_view_painter.js (right): http://codereview.chromium.org/7553009/diff/20023/chrome/test/data/webui/net_internals/log_view_painter.js#newcode71 chrome/test/data/webui/net_internals/log_view_painter.js:71: expectTrue(stripped !== entry, ...
9 years, 4 months ago (2011-08-04 00:21:14 UTC) #14
Sheridan Rawlins
missed one nit - there may be other places you return stuff... If so, just ...
9 years, 4 months ago (2011-08-04 00:25:21 UTC) #15
mmenke
http://codereview.chromium.org/7553009/diff/24022/chrome/test/data/webui/net_internals/net_internals_test.js File chrome/test/data/webui/net_internals/net_internals_test.js (right): http://codereview.chromium.org/7553009/diff/24022/chrome/test/data/webui/net_internals/net_internals_test.js#newcode67 chrome/test/data/webui/net_internals/net_internals_test.js:67: * @param {Function} testFunction The function to run. On ...
9 years, 4 months ago (2011-08-04 00:54:59 UTC) #16
commit-bot: I haz the power
Can't process patch for file chrome/test/data/webui/net_internals/test_view.js. File's status is None, patchset upload is incomplete.
9 years, 4 months ago (2011-08-04 13:41:44 UTC) #17
commit-bot: I haz the power
9 years, 4 months ago (2011-08-04 16:59:13 UTC) #18
Change committed as 95430

Powered by Google App Engine
This is Rietveld 408576698