OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "apps/native_app_window.h" | 5 #include "apps/native_app_window.h" |
6 #include "base/strings/stringprintf.h" | 6 #include "base/strings/stringprintf.h" |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "chrome/browser/apps/app_browsertest_util.h" | 8 #include "chrome/browser/apps/app_browsertest_util.h" |
9 #include "chrome/browser/automation/automation_util.h" | 9 #include "chrome/browser/automation/automation_util.h" |
10 #include "chrome/browser/extensions/extension_test_message_listener.h" | 10 #include "chrome/browser/extensions/extension_test_message_listener.h" |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 | 645 |
646 // Tests the existence of WebRequest API event objects on the request | 646 // Tests the existence of WebRequest API event objects on the request |
647 // object, on the webview element, and hanging directly off webview. | 647 // object, on the webview element, and hanging directly off webview. |
648 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIExistence) { | 648 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIExistence) { |
649 TestHelper("testWebRequestAPIExistence", | 649 TestHelper("testWebRequestAPIExistence", |
650 "DoneShimTest.PASSED", | 650 "DoneShimTest.PASSED", |
651 "DoneShimTest.FAILED", | 651 "DoneShimTest.FAILED", |
652 "web_view/shim"); | 652 "web_view/shim"); |
653 } | 653 } |
654 | 654 |
| 655 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestChromeExtensionURL) { |
| 656 TestHelper("testChromeExtensionURL", |
| 657 "DoneShimTest.PASSED", |
| 658 "DoneShimTest.FAILED", |
| 659 "web_view/shim"); |
| 660 } |
| 661 |
655 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestEventName) { | 662 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestEventName) { |
656 TestHelper("testEventName", | 663 TestHelper("testEventName", |
657 "DoneShimTest.PASSED", | 664 "DoneShimTest.PASSED", |
658 "DoneShimTest.FAILED", | 665 "DoneShimTest.FAILED", |
659 "web_view/shim"); | 666 "web_view/shim"); |
660 } | 667 } |
661 | 668 |
662 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestOnEventProperty) { | 669 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestOnEventProperty) { |
663 TestHelper("testOnEventProperties", | 670 TestHelper("testOnEventProperties", |
664 "DoneShimTest.PASSED", | 671 "DoneShimTest.PASSED", |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 "web_view/shim"); | 842 "web_view/shim"); |
836 } | 843 } |
837 | 844 |
838 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadStartLoadRedirect) { | 845 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadStartLoadRedirect) { |
839 TestHelper("testLoadStartLoadRedirect", | 846 TestHelper("testLoadStartLoadRedirect", |
840 "DoneShimTest.PASSED", | 847 "DoneShimTest.PASSED", |
841 "DoneShimTest.FAILED", | 848 "DoneShimTest.FAILED", |
842 "web_view/shim"); | 849 "web_view/shim"); |
843 } | 850 } |
844 | 851 |
| 852 IN_PROC_BROWSER_TEST_F(WebViewTest, |
| 853 Shim_TestLoadAbortChromeExtensionURLWrongPartition) { |
| 854 TestHelper("testLoadAbortChromeExtensionURLWrongPartition", |
| 855 "DoneShimTest.PASSED", |
| 856 "DoneShimTest.FAILED", |
| 857 "web_view/shim"); |
| 858 } |
| 859 |
845 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadAbortEmptyResponse) { | 860 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadAbortEmptyResponse) { |
846 TestHelper("testLoadAbortEmptyResponse", | 861 TestHelper("testLoadAbortEmptyResponse", |
847 "DoneShimTest.PASSED", | 862 "DoneShimTest.PASSED", |
848 "DoneShimTest.FAILED", | 863 "DoneShimTest.FAILED", |
849 "web_view/shim"); | 864 "web_view/shim"); |
850 } | 865 } |
851 | 866 |
852 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadAbortIllegalChromeURL) { | 867 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadAbortIllegalChromeURL) { |
853 TestHelper("testLoadAbortIllegalChromeURL", | 868 TestHelper("testLoadAbortIllegalChromeURL", |
854 "DoneShimTest.PASSED", | 869 "DoneShimTest.PASSED", |
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1764 "DoneDialogTest.FAILED", | 1779 "DoneDialogTest.FAILED", |
1765 "web_view/dialog"); | 1780 "web_view/dialog"); |
1766 } | 1781 } |
1767 | 1782 |
1768 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestPromptDialog) { | 1783 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestPromptDialog) { |
1769 TestHelper("testPromptDialog", | 1784 TestHelper("testPromptDialog", |
1770 "DoneDialogTest.PASSED", | 1785 "DoneDialogTest.PASSED", |
1771 "DoneDialogTest.FAILED", | 1786 "DoneDialogTest.FAILED", |
1772 "web_view/dialog"); | 1787 "web_view/dialog"); |
1773 } | 1788 } |
OLD | NEW |