| 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/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
| 7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
| 8 #include "components/guest_view/browser/guest_view_manager.h" | 8 #include "components/guest_view/browser/guest_view_manager.h" |
| 9 #include "components/guest_view/browser/guest_view_manager_factory.h" | 9 #include "components/guest_view/browser/guest_view_manager_factory.h" |
| 10 #include "components/guest_view/browser/test_guest_view_manager.h" | 10 #include "components/guest_view/browser/test_guest_view_manager.h" |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 181 |
| 182 // Tests that <appview> correctly processes parameters passed on connect. | 182 // Tests that <appview> correctly processes parameters passed on connect. |
| 183 // This test should fail to connect because the embedded app (skeleton) will | 183 // This test should fail to connect because the embedded app (skeleton) will |
| 184 // refuse the data passed by the embedder app and deny the request. | 184 // refuse the data passed by the embedder app and deny the request. |
| 185 IN_PROC_BROWSER_TEST_P(AppViewTest, TestAppViewRefusedDataShouldFail) { | 185 IN_PROC_BROWSER_TEST_P(AppViewTest, TestAppViewRefusedDataShouldFail) { |
| 186 RunTest("testAppViewRefusedDataShouldFail", | 186 RunTest("testAppViewRefusedDataShouldFail", |
| 187 "app_view/apitest", | 187 "app_view/apitest", |
| 188 "app_view/apitest/skeleton"); | 188 "app_view/apitest/skeleton"); |
| 189 } | 189 } |
| 190 | 190 |
| 191 #if defined(OS_WIN) |
| 192 #define MAYBE_TestAppViewWithUndefinedDataShouldSucceed \ |
| 193 DISABLED_TestAppViewWithUndefinedDataShouldSucceed |
| 194 #else |
| 195 #define MAYBE_TestAppViewWithUndefinedDataShouldSucceed \ |
| 196 TestAppViewWithUndefinedDataShouldSucceed |
| 197 #endif |
| 191 // Tests that <appview> is able to navigate to another installed app. | 198 // Tests that <appview> is able to navigate to another installed app. |
| 192 IN_PROC_BROWSER_TEST_P(AppViewTest, TestAppViewWithUndefinedDataShouldSucceed) { | 199 IN_PROC_BROWSER_TEST_P(AppViewTest, |
| 200 MAYBE_TestAppViewWithUndefinedDataShouldSucceed) { |
| 193 RunTest("testAppViewWithUndefinedDataShouldSucceed", | 201 RunTest("testAppViewWithUndefinedDataShouldSucceed", |
| 194 "app_view/apitest", | 202 "app_view/apitest", |
| 195 "app_view/apitest/skeleton"); | 203 "app_view/apitest/skeleton"); |
| 196 } | 204 } |
| 197 | 205 |
| 198 } // namespace extensions | 206 } // namespace extensions |
| OLD | NEW |