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

Issue 643703007: Adding app_view tests to app_shell_browsertests. (Closed)

Created:
6 years, 1 month ago by lfg
Modified:
6 years, 1 month ago
Reviewers:
Yoyo Zhou, lazyboy
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@multiple_apps
Project:
chromium
Visibility:
Public.

Description

Adding app_view tests to app_shell_browsertests. This CL adds the following tests to app_shell_browsertests: AppViewTest.TestAppViewGoodDataShouldSucceed AppViewTest.TestAppViewRefusedDataShouldFail AppViewTest.TestAppViewWithUndefinedDataShouldSucceed BUG=352293 Committed: https://crrev.com/45e87e9d03f09ffdcbd0d2477ba703380c324ed8 Cr-Commit-Position: refs/heads/master@{#302198}

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -59 lines) Patch
A extensions/browser/guest_view/app_view/app_view_apitest.cc View 1 2 1 chunk +105 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_apitest.cc View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M extensions/shell/app_shell.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + extensions/test/data/app_view/apitest/main.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/app_view/apitest/main.js View 1 3 chunks +38 lines, -58 lines 0 comments Download
A + extensions/test/data/app_view/apitest/manifest.json View 1 chunk +1 line, -0 lines 0 comments Download
A + extensions/test/data/app_view/apitest/skeleton/main.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/app_view/apitest/skeleton/main.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/app_view/apitest/skeleton/manifest.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/app_view/apitest/test.js View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
lfg
PTAL.
6 years, 1 month ago (2014-10-24 17:50:01 UTC) #2
lazyboy
https://chromiumcodereview.appspot.com/643703007/diff/1/extensions/browser/guest_view/app_view/app_view_apitest.cc File extensions/browser/guest_view/app_view/app_view_apitest.cc (right): https://chromiumcodereview.appspot.com/643703007/diff/1/extensions/browser/guest_view/app_view/app_view_apitest.cc#newcode48 extensions/browser/guest_view/app_view/app_view_apitest.cc:48: const Extension* extension = extension_system_->LoadApp(test_data_dir); nit: return extension_system_->LoadApp .. ...
6 years, 1 month ago (2014-10-24 20:13:25 UTC) #3
lfg
https://chromiumcodereview.appspot.com/643703007/diff/1/extensions/browser/guest_view/app_view/app_view_apitest.cc File extensions/browser/guest_view/app_view/app_view_apitest.cc (right): https://chromiumcodereview.appspot.com/643703007/diff/1/extensions/browser/guest_view/app_view/app_view_apitest.cc#newcode48 extensions/browser/guest_view/app_view/app_view_apitest.cc:48: const Extension* extension = extension_system_->LoadApp(test_data_dir); On 2014/10/24 20:13:24, lazyboy ...
6 years, 1 month ago (2014-10-24 20:24:30 UTC) #4
lazyboy
Thanks, LGTM.
6 years, 1 month ago (2014-10-24 20:33:09 UTC) #5
lfg
yoz@chromium.org: Please review changes in extensions/*
6 years, 1 month ago (2014-10-24 20:46:15 UTC) #7
Yoyo Zhou
LGTM https://chromiumcodereview.appspot.com/643703007/diff/20001/extensions/browser/guest_view/app_view/app_view_apitest.cc File extensions/browser/guest_view/app_view/app_view_apitest.cc (right): https://chromiumcodereview.appspot.com/643703007/diff/20001/extensions/browser/guest_view/app_view/app_view_apitest.cc#newcode28 extensions/browser/guest_view/app_view/app_view_apitest.cc:28: extensions::GuestViewManager::set_factory_for_testing(&factory_); nit: don't need extensions:: https://chromiumcodereview.appspot.com/643703007/diff/20001/extensions/browser/guest_view/app_view/app_view_apitest.cc#newcode75 extensions/browser/guest_view/app_view/app_view_apitest.cc:75: LOG(ERROR) ...
6 years, 1 month ago (2014-10-29 20:37:59 UTC) #8
lfg
https://codereview.chromium.org/643703007/diff/20001/extensions/browser/guest_view/app_view/app_view_apitest.cc File extensions/browser/guest_view/app_view/app_view_apitest.cc (right): https://codereview.chromium.org/643703007/diff/20001/extensions/browser/guest_view/app_view/app_view_apitest.cc#newcode28 extensions/browser/guest_view/app_view/app_view_apitest.cc:28: extensions::GuestViewManager::set_factory_for_testing(&factory_); On 2014/10/29 20:37:58, Yoyo Zhou wrote: > nit: ...
6 years, 1 month ago (2014-10-30 23:38:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/643703007/40001
6 years, 1 month ago (2014-10-30 23:54:18 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-10-31 00:38:11 UTC) #12
commit-bot: I haz the power
6 years, 1 month ago (2014-10-31 00:39:10 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/45e87e9d03f09ffdcbd0d2477ba703380c324ed8
Cr-Commit-Position: refs/heads/master@{#302198}

Powered by Google App Engine
This is Rietveld 408576698