Adding webview tests to app_shell_browsertest.
commit19132ce1ce87227133c1f1da5ca027a1bda9f5e2
authorlfg <lfg@chromium.org>
Fri, 10 Oct 2014 15:46:20 +0000 (10 08:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 10 Oct 2014 15:49:50 +0000 (10 15:49 +0000)
tree8c723e173332f9caf80871e34d34206ca06142d3
parentd2061d67be46908bb069329c9278a98ad39fc8cb
Adding webview tests to app_shell_browsertest.

This CL adds the following tests to app_shell_browsertest:
- TestDialogAlert
- TestDialogConfirm
- TestDialogConfirmCancel
- TestDialogConfirmDefaultCancel
- TestDialogConfirmDefaultGCCancel
- TestDialogPrompt

Also, makes sure that we call content::BrowserTestBase::SetUpCommandLine(...) from AppShellTest.

BUG=352293

Review URL: https://codereview.chromium.org/634403003

Cr-Commit-Position: refs/heads/master@{#299121}
extensions/browser/guest_view/web_view/web_view_apitest.cc
extensions/browser/guest_view/web_view/web_view_apitest.h
extensions/shell/test/shell_test.cc
extensions/test/data/web_view/dialog/embedder.html [new file with mode: 0644]
extensions/test/data/web_view/dialog/embedder.js [new file with mode: 0644]
extensions/test/data/web_view/dialog/inject_dialog.js [new file with mode: 0644]
extensions/test/data/web_view/dialog/manifest.json [new file with mode: 0644]
extensions/test/data/web_view/dialog/test.js [new file with mode: 0644]