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

Unified Diff: omaha_request_params_unittest.cc

Issue 4520001: AU: Add test-channel to the list of valid tracks. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git@master
Patch Set: rename test-channel to canary-channel Created 10 years, 1 month 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 c136e06ecabbac31b38206884e3f6474b831223a..65d86cbc3de87f940cd92c111ba76556ff95a29b 100644
--- a/omaha_request_params_unittest.cc
+++ b/omaha_request_params_unittest.cc
@@ -325,11 +325,13 @@ TEST_F(OmahaRequestDeviceParamsTest, SetTrackInvalidTest) {
TEST_F(OmahaRequestDeviceParamsTest, IsValidTrackTest) {
params_.SetBuildTypeOfficial(true);
+ EXPECT_TRUE(params_.IsValidTrack("canary-channel"));
EXPECT_TRUE(params_.IsValidTrack("beta-channel"));
EXPECT_TRUE(params_.IsValidTrack("dev-channel"));
EXPECT_FALSE(params_.IsValidTrack("some-channel"));
EXPECT_FALSE(params_.IsValidTrack(""));
params_.SetBuildTypeOfficial(false);
+ EXPECT_TRUE(params_.IsValidTrack("canary-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