OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <map> | 5 #include <map> |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/rand_util.h" | 8 #include "base/rand_util.h" |
9 #include "base/stl_util-inl.h" | 9 #include "base/stl_util-inl.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 }; | 581 }; |
582 | 582 |
583 // Because we test some private methods of ExtensionUpdater, it's easer for the | 583 // Because we test some private methods of ExtensionUpdater, it's easer for the |
584 // actual test code to live in ExtenionUpdaterTest methods instead of TEST_F | 584 // actual test code to live in ExtenionUpdaterTest methods instead of TEST_F |
585 // subclasses where friendship with ExtenionUpdater is not inherited. | 585 // subclasses where friendship with ExtenionUpdater is not inherited. |
586 | 586 |
587 TEST(ExtensionUpdaterTest, TestExtensionUpdateCheckRequests) { | 587 TEST(ExtensionUpdaterTest, TestExtensionUpdateCheckRequests) { |
588 ExtensionUpdaterTest::TestExtensionUpdateCheckRequests(); | 588 ExtensionUpdaterTest::TestExtensionUpdateCheckRequests(); |
589 } | 589 } |
590 | 590 |
591 TEST(ExtensionUpdaterTest, TestBlacklistUpdateCheckRequests) { | 591 // This test is disabled, see bug 26035 |
| 592 TEST(ExtensionUpdaterTest, DISABLED_TestBlacklistUpdateCheckRequests) { |
592 ExtensionUpdaterTest::TestBlacklistUpdateCheckRequests(); | 593 ExtensionUpdaterTest::TestBlacklistUpdateCheckRequests(); |
593 } | 594 } |
594 | 595 |
595 TEST(ExtensionUpdaterTest, TestDetermineUpdates) { | 596 TEST(ExtensionUpdaterTest, TestDetermineUpdates) { |
596 ExtensionUpdaterTest::TestDetermineUpdates(); | 597 ExtensionUpdaterTest::TestDetermineUpdates(); |
597 } | 598 } |
598 | 599 |
599 TEST(ExtensionUpdaterTest, TestMultipleManifestDownloading) { | 600 TEST(ExtensionUpdaterTest, TestMultipleManifestDownloading) { |
600 ExtensionUpdaterTest::TestMultipleManifestDownloading(); | 601 ExtensionUpdaterTest::TestMultipleManifestDownloading(); |
601 } | 602 } |
(...skipping 16 matching lines...) Expand all Loading... |
618 // -prodversionmin (shouldn't update if browser version too old) | 619 // -prodversionmin (shouldn't update if browser version too old) |
619 // -manifests & updates arriving out of order / interleaved | 620 // -manifests & updates arriving out of order / interleaved |
620 // -Profile::GetDefaultRequestContext() returning null | 621 // -Profile::GetDefaultRequestContext() returning null |
621 // (should not crash, but just do check later) | 622 // (should not crash, but just do check later) |
622 // -malformed update url (empty, file://, has query, has a # fragment, etc.) | 623 // -malformed update url (empty, file://, has query, has a # fragment, etc.) |
623 // -An extension gets uninstalled while updates are in progress (so it doesn't | 624 // -An extension gets uninstalled while updates are in progress (so it doesn't |
624 // "come back from the dead") | 625 // "come back from the dead") |
625 // -An extension gets manually updated to v3 while we're downloading v2 (ie | 626 // -An extension gets manually updated to v3 while we're downloading v2 (ie |
626 // you don't get downgraded accidentally) | 627 // you don't get downgraded accidentally) |
627 // -An update manifest mentions multiple updates | 628 // -An update manifest mentions multiple updates |
OLD | NEW |