| 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 <list> | 5 #include <list> |
| 6 #include <set> | 6 #include <set> |
| 7 | 7 |
| 8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 ASSERT_TRUE(StartEmbeddedTestServer()); | 456 ASSERT_TRUE(StartEmbeddedTestServer()); |
| 457 ASSERT_TRUE(RunExtensionTest("webnavigation/referenceFragment")) | 457 ASSERT_TRUE(RunExtensionTest("webnavigation/referenceFragment")) |
| 458 << message_; | 458 << message_; |
| 459 } | 459 } |
| 460 | 460 |
| 461 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, SimpleLoad) { | 461 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, SimpleLoad) { |
| 462 ASSERT_TRUE(StartEmbeddedTestServer()); | 462 ASSERT_TRUE(StartEmbeddedTestServer()); |
| 463 ASSERT_TRUE(RunExtensionTest("webnavigation/simpleLoad")) << message_; | 463 ASSERT_TRUE(RunExtensionTest("webnavigation/simpleLoad")) << message_; |
| 464 } | 464 } |
| 465 | 465 |
| 466 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, Failures) { | 466 #if defined(OS_WIN) // http://crbug.com/477840 |
| 467 #define MAYBE_Failures DISABLED_Failures |
| 468 #else |
| 469 #define MAYBE_Failures Failures |
| 470 #endif |
| 471 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, MAYBE_Failures) { |
| 467 ASSERT_TRUE(StartEmbeddedTestServer()); | 472 ASSERT_TRUE(StartEmbeddedTestServer()); |
| 468 ASSERT_TRUE(RunExtensionTest("webnavigation/failures")) << message_; | 473 ASSERT_TRUE(RunExtensionTest("webnavigation/failures")) << message_; |
| 469 } | 474 } |
| 470 | 475 |
| 471 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, FilteredTest) { | 476 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, FilteredTest) { |
| 472 ASSERT_TRUE(StartEmbeddedTestServer()); | 477 ASSERT_TRUE(StartEmbeddedTestServer()); |
| 473 ASSERT_TRUE(RunExtensionTest("webnavigation/filtered")) << message_; | 478 ASSERT_TRUE(RunExtensionTest("webnavigation/filtered")) << message_; |
| 474 } | 479 } |
| 475 | 480 |
| 476 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, UserAction) { | 481 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, UserAction) { |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 753 "extensions/api_test/webnavigation/crash/b.html", | 758 "extensions/api_test/webnavigation/crash/b.html", |
| 754 embedded_test_server()->port())); | 759 embedded_test_server()->port())); |
| 755 ui_test_utils::NavigateToURL(browser(), url); | 760 ui_test_utils::NavigateToURL(browser(), url); |
| 756 | 761 |
| 757 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); | 762 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); |
| 758 } | 763 } |
| 759 | 764 |
| 760 #endif | 765 #endif |
| 761 | 766 |
| 762 } // namespace extensions | 767 } // namespace extensions |
| OLD | NEW |