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

Unified Diff: omaha_request_params_unittest.cc

Issue 6823087: AU: stable channel (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: Created 9 years, 8 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 | « omaha_request_params.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: omaha_request_params_unittest.cc
diff --git a/omaha_request_params_unittest.cc b/omaha_request_params_unittest.cc
index 8f2d7c8dddebc5a04eec7dd06b98b05611bad6eb..3bf4ebc858a1edd966a8fec6e301bfcf413daa2a 100644
--- a/omaha_request_params_unittest.cc
+++ b/omaha_request_params_unittest.cc
@@ -397,12 +397,14 @@ TEST_F(OmahaRequestDeviceParamsTest, SetTrackInvalidTest) {
TEST_F(OmahaRequestDeviceParamsTest, IsValidTrackTest) {
params_.SetLockDown(true);
EXPECT_TRUE(params_.IsValidTrack("canary-channel"));
+ EXPECT_TRUE(params_.IsValidTrack("stable-channel"));
EXPECT_TRUE(params_.IsValidTrack("beta-channel"));
EXPECT_TRUE(params_.IsValidTrack("dev-channel"));
EXPECT_FALSE(params_.IsValidTrack("some-channel"));
EXPECT_FALSE(params_.IsValidTrack(""));
params_.SetLockDown(false);
EXPECT_TRUE(params_.IsValidTrack("canary-channel"));
+ EXPECT_TRUE(params_.IsValidTrack("stable-channel"));
EXPECT_TRUE(params_.IsValidTrack("beta-channel"));
EXPECT_TRUE(params_.IsValidTrack("dev-channel"));
EXPECT_TRUE(params_.IsValidTrack("some-channel"));
« no previous file with comments | « omaha_request_params.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698