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/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
417 ASSERT_TRUE( | 417 ASSERT_TRUE( |
418 RunExtensionSubtest("webnavigation", "test_referenceFragment.html")) | 418 RunExtensionSubtest("webnavigation", "test_referenceFragment.html")) |
419 << message_; | 419 << message_; |
420 } | 420 } |
421 | 421 |
422 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, SimpleLoad) { | 422 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, SimpleLoad) { |
423 ASSERT_TRUE( | 423 ASSERT_TRUE( |
424 RunExtensionSubtest("webnavigation", "test_simpleLoad.html")) << message_; | 424 RunExtensionSubtest("webnavigation", "test_simpleLoad.html")) << message_; |
425 } | 425 } |
426 | 426 |
427 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, Failures) { | 427 //TODO(jochen): Flakily failing after http://crrev.com/150796. |
428 ASSERT_TRUE( | 428 //IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, Failures) { |
Mihai Parparita -not on Chrome
2012/08/09 22:48:00
Tests are disabled not by commenting them out, but
| |
429 RunExtensionSubtest("webnavigation", "test_failures.html")) << message_; | 429 // ASSERT_TRUE( |
430 } | 430 // RunExtensionSubtest("webnavigation", "test_failures.html")) << message_; |
431 //} | |
431 | 432 |
432 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, FilteredTest) { | 433 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, FilteredTest) { |
433 ASSERT_TRUE( | 434 ASSERT_TRUE( |
434 RunExtensionSubtest("webnavigation", "test_filtered.html")) << message_; | 435 RunExtensionSubtest("webnavigation", "test_filtered.html")) << message_; |
435 } | 436 } |
436 | 437 |
437 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, UserAction) { | 438 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, UserAction) { |
438 // Wait for the extension to set itself up and return control to us. | 439 // Wait for the extension to set itself up and return control to us. |
439 ASSERT_TRUE( | 440 ASSERT_TRUE( |
440 RunExtensionSubtest("webnavigation", "test_userAction.html")) << message_; | 441 RunExtensionSubtest("webnavigation", "test_userAction.html")) << message_; |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
618 test_server()->GetURL("test6"), | 619 test_server()->GetURL("test6"), |
619 "updateHistory()", | 620 "updateHistory()", |
620 extension->GetResourceURL("crossProcess/empty.html")); | 621 extension->GetResourceURL("crossProcess/empty.html")); |
621 | 622 |
622 ASSERT_TRUE(RunPageTest( | 623 ASSERT_TRUE(RunPageTest( |
623 extension->GetResourceURL("test_crossProcess.html").spec())) | 624 extension->GetResourceURL("test_crossProcess.html").spec())) |
624 << message_; | 625 << message_; |
625 } | 626 } |
626 | 627 |
627 } // namespace extensions | 628 } // namespace extensions |
OLD | NEW |