OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/apps/app_browsertest_util.h" | 6 #include "chrome/browser/apps/app_browsertest_util.h" |
7 #include "chrome/browser/extensions/extension_test_message_listener.h" | 7 #include "chrome/browser/extensions/extension_test_message_listener.h" |
8 #include "chrome/browser/guest_view/guest_view_manager.h" | 8 #include "chrome/browser/guest_view/guest_view_manager.h" |
9 #include "chrome/browser/guest_view/guest_view_manager_factory.h" | 9 #include "chrome/browser/guest_view/guest_view_manager_factory.h" |
10 #include "chrome/common/chrome_switches.h" | 10 #include "chrome/common/chrome_switches.h" |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // Tests that <appview> is able to navigate to another installed app. | 141 // Tests that <appview> is able to navigate to another installed app. |
142 IN_PROC_BROWSER_TEST_F(AppViewTest, TestAppViewBasic) { | 142 IN_PROC_BROWSER_TEST_F(AppViewTest, TestAppViewBasic) { |
143 const extensions::Extension* skeleton_app = | 143 const extensions::Extension* skeleton_app = |
144 InstallPlatformApp("app_view/shim/skeleton"); | 144 InstallPlatformApp("app_view/shim/skeleton"); |
145 TestHelper("testAppViewBasic", | 145 TestHelper("testAppViewBasic", |
146 "app_view/shim", | 146 "app_view/shim", |
147 skeleton_app->id(), | 147 skeleton_app->id(), |
148 NO_TEST_SERVER); | 148 NO_TEST_SERVER); |
149 } | 149 } |
150 | 150 |
| 151 // Tests that <appview> is able to navigate to another installed app. |
| 152 IN_PROC_BROWSER_TEST_F(AppViewTest, TestAppViewParams) { |
| 153 const extensions::Extension* skeleton_app = |
| 154 InstallPlatformApp("app_view/shim/skeleton"); |
| 155 TestHelper("testAppViewParams", |
| 156 "app_view/shim", |
| 157 skeleton_app->id(), |
| 158 NO_TEST_SERVER); |
| 159 } |
OLD | NEW |