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

Issue 165293002: Add an API test to exersize the open error case. This is a regression test for (Closed)

Created:
6 years, 10 months ago by Munjal (Google)
Modified:
6 years ago
Reviewers:
mark a. foltz, Wez
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Add an API test to exersize the open error case. This is a regression test for bug 340727 BUG=340727

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Total comments: 16

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -5 lines) Patch
M chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc View 1 2 3 4 5 4 chunks +43 lines, -5 lines 3 comments Download
A chrome/test/data/extensions/api_test/cast_channel/api/test_open_error.html View 1 chunk +2 lines, -0 lines 2 comments Download
A chrome/test/data/extensions/api_test/cast_channel/api/test_open_error.js View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 2 comments Download

Messages

Total messages: 18 (0 generated)
Munjal (Google)
Mark and Wez, note that I have a comment at the top of cast_channel_apitest.cc where ...
6 years, 10 months ago (2014-02-13 23:36:25 UTC) #1
Wez
On 2014/02/13 23:36:25, Munjal (Google) wrote: > Mark and Wez, note that I have a ...
6 years, 10 months ago (2014-02-14 00:43:23 UTC) #2
Munjal (Google)
Re-uploaded and checked that it works now.
6 years, 10 months ago (2014-02-14 01:42:44 UTC) #3
Munjal (Google)
I should note that I was able to repro the crash with this test and ...
6 years, 10 months ago (2014-02-15 01:38:12 UTC) #4
Wez
https://codereview.chromium.org/165293002/diff/70001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc File chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc (right): https://codereview.chromium.org/165293002/diff/70001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc#newcode58 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc:58: MockCastSocket*, cast_socket), This should be HAS_2_TEMPLATE_PARAMS. https://codereview.chromium.org/165293002/diff/70001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc#newcode215 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc:215: // ...
6 years, 10 months ago (2014-02-15 01:45:51 UTC) #5
Munjal (Google)
https://codereview.chromium.org/165293002/diff/70001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc File chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc (right): https://codereview.chromium.org/165293002/diff/70001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc#newcode58 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc:58: MockCastSocket*, cast_socket), On 2014/02/15 01:45:52, Wez wrote: > This ...
6 years, 10 months ago (2014-02-20 23:27:08 UTC) #6
mark a. foltz
Minor comments, I am not the API test expert so take them with a grain ...
6 years, 10 months ago (2014-02-24 06:14:04 UTC) #7
Munjal (Google)
https://codereview.chromium.org/165293002/diff/220001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc File chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc (right): https://codereview.chromium.org/165293002/diff/220001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc#newcode54 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc:54: // better to use ACTION_TEMPLATE for consistency with InvokeCompletionCallback ...
6 years, 10 months ago (2014-02-26 20:46:32 UTC) #8
mark a. foltz
lgtm FYI, I made a couple of comments on the .js file that I didn't ...
6 years, 10 months ago (2014-02-26 21:10:40 UTC) #9
Munjal (Google)
https://codereview.chromium.org/165293002/diff/220001/chrome/test/data/extensions/api_test/cast_channel/api/test_open_error.js File chrome/test/data/extensions/api_test/cast_channel/api/test_open_error.js (right): https://codereview.chromium.org/165293002/diff/220001/chrome/test/data/extensions/api_test/cast_channel/api/test_open_error.js#newcode1 chrome/test/data/extensions/api_test/cast_channel/api/test_open_error.js:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
6 years, 10 months ago (2014-02-26 21:30:15 UTC) #10
Wez
https://codereview.chromium.org/165293002/diff/310001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc File chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc (right): https://codereview.chromium.org/165293002/diff/310001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc#newcode209 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc:209: .WillOnce(DoAll( nit: Indentation https://codereview.chromium.org/165293002/diff/310001/chrome/test/data/extensions/api_test/cast_channel/api/test_open_error.html File chrome/test/data/extensions/api_test/cast_channel/api/test_open_error.html (right): https://codereview.chromium.org/165293002/diff/310001/chrome/test/data/extensions/api_test/cast_channel/api/test_open_error.html#newcode1 chrome/test/data/extensions/api_test/cast_channel/api/test_open_error.html:1: ...
6 years, 9 months ago (2014-03-04 21:29:53 UTC) #11
Wez
Ping; is this going to land?
6 years, 8 months ago (2014-04-25 22:14:18 UTC) #12
Munjal (Google)
Did not realize this was still not committed. Sorry. https://codereview.chromium.org/165293002/diff/310001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc File chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc (right): https://codereview.chromium.org/165293002/diff/310001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc#newcode209 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc:209: ...
6 years, 7 months ago (2014-05-21 22:41:06 UTC) #13
Wez
https://codereview.chromium.org/165293002/diff/310001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc File chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc (right): https://codereview.chromium.org/165293002/diff/310001/chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc#newcode209 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc:209: .WillOnce(DoAll( On 2014/05/21 22:41:06, Munjal (Google) wrote: > On ...
6 years, 7 months ago (2014-05-21 22:57:34 UTC) #14
Munjal (Google)
Wez, Mark: I had to upload a new patch with the same test using git ...
6 years, 7 months ago (2014-05-22 19:04:03 UTC) #15
Wez
You can associate a git branch w/ an existing CL with "git cl issue <number>" ...
6 years, 7 months ago (2014-05-22 19:59:43 UTC) #16
Wez
On 2014/05/22 19:59:43, Wez wrote: > You can associate a git branch w/ an existing ...
6 years, 6 months ago (2014-05-29 23:03:25 UTC) #17
Wez
6 years ago (2014-12-18 01:15:46 UTC) #18
Message was sent while issue was closed.
Closing this CL since it's been superceded.

Powered by Google App Engine
This is Rietveld 408576698