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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc

Issue 2296043003: Rename Lo-Fi previews to lite pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newLoFiInfoBarAddTests
Patch Set: tbansal comments Created 4 years, 3 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
Index: components/data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc
index 50dcf4068f3edf9a129bdee8304769b998882d32..548fd351874c9246d234f958c34e14685bb6c1a1 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc
@@ -334,7 +334,7 @@ TEST_F(DataReductionProxyParamsTest, LoFiEnabledFieldTrial) {
std::string trial_group_name;
bool expected_enabled;
bool expected_control;
- bool expected_preview_enabled;
+ bool expected_lite_page_enabled;
} tests[] = {
{"Enabled", true, false, false},
{"Enabled_Control", true, false, false},
@@ -353,8 +353,8 @@ TEST_F(DataReductionProxyParamsTest, LoFiEnabledFieldTrial) {
EXPECT_EQ(test.expected_control,
params::IsIncludedInLoFiControlFieldTrial())
<< test.trial_group_name;
- EXPECT_EQ(test.expected_preview_enabled,
- params::IsIncludedInLoFiPreviewFieldTrial())
+ EXPECT_EQ(test.expected_lite_page_enabled,
+ params::IsIncludedInLitePageFieldTrial())
<< test.trial_group_name;
}
}
@@ -365,7 +365,7 @@ TEST_F(DataReductionProxyParamsTest, LoFiControlFieldTrial) {
std::string trial_group_name;
bool expected_enabled;
bool expected_control;
- bool expected_preview_enabled;
+ bool expected_lite_page_enabled;
} tests[] = {
{"Control", false, true, false},
{"Control_Enabled", false, true, false},
@@ -384,8 +384,8 @@ TEST_F(DataReductionProxyParamsTest, LoFiControlFieldTrial) {
EXPECT_EQ(test.expected_control,
params::IsIncludedInLoFiControlFieldTrial())
<< test.trial_group_name;
- EXPECT_EQ(test.expected_preview_enabled,
- params::IsIncludedInLoFiPreviewFieldTrial())
+ EXPECT_EQ(test.expected_lite_page_enabled,
+ params::IsIncludedInLitePageFieldTrial())
<< test.trial_group_name;
}
}
@@ -396,7 +396,7 @@ TEST_F(DataReductionProxyParamsTest, LoFiPreviewFieldTrial) {
std::string trial_group_name;
bool expected_enabled;
bool expected_control;
- bool expected_preview_enabled;
+ bool expected_lite_page_enabled;
} tests[] = {
{"Enabled_Preview", true, false, true},
{"Enabled_Preview_Control", true, false, true},
@@ -415,8 +415,8 @@ TEST_F(DataReductionProxyParamsTest, LoFiPreviewFieldTrial) {
EXPECT_EQ(test.expected_control,
params::IsIncludedInLoFiControlFieldTrial())
<< test.trial_group_name;
- EXPECT_EQ(test.expected_preview_enabled,
- params::IsIncludedInLoFiPreviewFieldTrial())
+ EXPECT_EQ(test.expected_lite_page_enabled,
+ params::IsIncludedInLitePageFieldTrial())
<< test.trial_group_name;
}
}

Powered by Google App Engine
This is Rietveld 408576698