OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/strings/stringprintf.h" | 5 #include "base/strings/stringprintf.h" |
6 #include "base/strings/utf_string_conversions.h" | 6 #include "base/strings/utf_string_conversions.h" |
7 #include "chrome/browser/automation/automation_util.h" | 7 #include "chrome/browser/automation/automation_util.h" |
8 #include "chrome/browser/extensions/extension_test_message_listener.h" | 8 #include "chrome/browser/extensions/extension_test_message_listener.h" |
9 #include "chrome/browser/extensions/platform_app_browsertest_util.h" | 9 #include "chrome/browser/extensions/platform_app_browsertest_util.h" |
10 #include "chrome/browser/prerender/prerender_link_manager.h" | 10 #include "chrome/browser/prerender/prerender_link_manager.h" |
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1375 | 1375 |
1376 IN_PROC_BROWSER_TEST_F(WebViewTest, SetPropertyOnDocumentReady) { | 1376 IN_PROC_BROWSER_TEST_F(WebViewTest, SetPropertyOnDocumentReady) { |
1377 ASSERT_TRUE(RunPlatformAppTest("platform_apps/web_view/document_ready")) | 1377 ASSERT_TRUE(RunPlatformAppTest("platform_apps/web_view/document_ready")) |
1378 << message_; | 1378 << message_; |
1379 } | 1379 } |
1380 | 1380 |
1381 IN_PROC_BROWSER_TEST_F(WebViewTest, SetPropertyOnDocumentInteractive) { | 1381 IN_PROC_BROWSER_TEST_F(WebViewTest, SetPropertyOnDocumentInteractive) { |
1382 ASSERT_TRUE(RunPlatformAppTest("platform_apps/web_view/document_interactive")) | 1382 ASSERT_TRUE(RunPlatformAppTest("platform_apps/web_view/document_interactive")) |
1383 << message_; | 1383 << message_; |
1384 } | 1384 } |
| 1385 |
| 1386 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestAlertDialog) { |
| 1387 TestHelper("testAlertDialog", |
| 1388 "DoneDialogTest.PASSED", |
| 1389 "DoneDialogTest.FAILED", |
| 1390 "web_view/dialog"); |
| 1391 } |
| 1392 |
| 1393 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestConfirmDialog) { |
| 1394 TestHelper("testConfirmDialog", |
| 1395 "DoneDialogTest.PASSED", |
| 1396 "DoneDialogTest.FAILED", |
| 1397 "web_view/dialog"); |
| 1398 } |
| 1399 |
| 1400 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestConfirmDialogCancel) { |
| 1401 TestHelper("testConfirmDialogCancel", |
| 1402 "DoneDialogTest.PASSED", |
| 1403 "DoneDialogTest.FAILED", |
| 1404 "web_view/dialog"); |
| 1405 } |
| 1406 |
| 1407 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestConfirmDialogDefaultCancel) { |
| 1408 TestHelper("testConfirmDialogDefaultCancel", |
| 1409 "DoneDialogTest.PASSED", |
| 1410 "DoneDialogTest.FAILED", |
| 1411 "web_view/dialog"); |
| 1412 } |
| 1413 |
| 1414 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestConfirmDialogDefaultGCCancel) { |
| 1415 TestHelper("testConfirmDialogDefaultGCCancel", |
| 1416 "DoneDialogTest.PASSED", |
| 1417 "DoneDialogTest.FAILED", |
| 1418 "web_view/dialog"); |
| 1419 } |
| 1420 |
| 1421 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestPromptDialog) { |
| 1422 TestHelper("testPromptDialog", |
| 1423 "DoneDialogTest.PASSED", |
| 1424 "DoneDialogTest.FAILED", |
| 1425 "web_view/dialog"); |
| 1426 } |
OLD | NEW |