Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4297)

Unified Diff: chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc

Issue 2169323003: Test current behavior of -component-updater=fast-update in ConfiguratorImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/component_updater/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc
diff --git a/chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc b/chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc
index dcd57143b343edf607c84f582876f8cc523f796f..6581d331a67bd263fd9d5118bfa19140e551e31c 100644
--- a/chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc
+++ b/chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc
@@ -34,6 +34,10 @@ TEST(ChromeComponentUpdaterConfiguratorTest, TestFastUpdate) {
const auto config(MakeChromeComponentUpdaterConfigurator(&cmdline, nullptr));
ASSERT_EQ(10, config->InitialDelay());
+ CHECK_EQ(60, config->NextCheckDelay());
+ CHECK_EQ(1, config->StepDelay());
+ CHECK_EQ(2, config->OnDemandDelay());
+ CHECK_EQ(10, config->UpdateDelay());
}
TEST(ChromeComponentUpdaterConfiguratorTest, TestOverrideUrl) {
« no previous file with comments | « no previous file | components/component_updater/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698