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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 } | 597 } |
598 | 598 |
599 TEST(ExtensionUpdaterTest, TestMultipleManifestDownloading) { | 599 TEST(ExtensionUpdaterTest, TestMultipleManifestDownloading) { |
600 ExtensionUpdaterTest::TestMultipleManifestDownloading(); | 600 ExtensionUpdaterTest::TestMultipleManifestDownloading(); |
601 } | 601 } |
602 | 602 |
603 TEST(ExtensionUpdaterTest, TestSingleExtensionDownloading) { | 603 TEST(ExtensionUpdaterTest, TestSingleExtensionDownloading) { |
604 ExtensionUpdaterTest::TestSingleExtensionDownloading(); | 604 ExtensionUpdaterTest::TestSingleExtensionDownloading(); |
605 } | 605 } |
606 | 606 |
| 607 // This test is disabled, see bug 26035 |
607 TEST(ExtensionUpdaterTest, DISABLED_TestBlacklistDownloading) { | 608 TEST(ExtensionUpdaterTest, DISABLED_TestBlacklistDownloading) { |
608 ExtensionUpdaterTest::TestBlacklistDownloading(); | 609 ExtensionUpdaterTest::TestBlacklistDownloading(); |
609 } | 610 } |
610 | 611 |
611 TEST(ExtensionUpdaterTest, TestMultipleExtensionDownloading) { | 612 TEST(ExtensionUpdaterTest, TestMultipleExtensionDownloading) { |
612 ExtensionUpdaterTest::TestMultipleExtensionDownloading(); | 613 ExtensionUpdaterTest::TestMultipleExtensionDownloading(); |
613 } | 614 } |
614 | 615 |
615 | 616 |
616 // TODO(asargent) - (http://crbug.com/12780) add tests for: | 617 // TODO(asargent) - (http://crbug.com/12780) add tests for: |
617 // -prodversionmin (shouldn't update if browser version too old) | 618 // -prodversionmin (shouldn't update if browser version too old) |
618 // -manifests & updates arriving out of order / interleaved | 619 // -manifests & updates arriving out of order / interleaved |
619 // -Profile::GetDefaultRequestContext() returning null | 620 // -Profile::GetDefaultRequestContext() returning null |
620 // (should not crash, but just do check later) | 621 // (should not crash, but just do check later) |
621 // -malformed update url (empty, file://, has query, has a # fragment, etc.) | 622 // -malformed update url (empty, file://, has query, has a # fragment, etc.) |
622 // -An extension gets uninstalled while updates are in progress (so it doesn't | 623 // -An extension gets uninstalled while updates are in progress (so it doesn't |
623 // "come back from the dead") | 624 // "come back from the dead") |
624 // -An extension gets manually updated to v3 while we're downloading v2 (ie | 625 // -An extension gets manually updated to v3 while we're downloading v2 (ie |
625 // you don't get downgraded accidentally) | 626 // you don't get downgraded accidentally) |
626 // -An update manifest mentions multiple updates | 627 // -An update manifest mentions multiple updates |
OLD | NEW |