summaryrefslogtreecommitdiffstats
path: root/chrome/browser/about_flags_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/about_flags_unittest.cc')
-rw-r--r--chrome/browser/about_flags_unittest.cc22
1 files changed, 0 insertions, 22 deletions
diff --git a/chrome/browser/about_flags_unittest.cc b/chrome/browser/about_flags_unittest.cc
index 3d9fbd2..34219c3 100644
--- a/chrome/browser/about_flags_unittest.cc
+++ b/chrome/browser/about_flags_unittest.cc
@@ -110,13 +110,6 @@ static Experiment kExperiments[] = {
},
};
-static Migration kMigrations[] = {
- {
- kFlags1,
- kFlags2
- }
-};
-
class AboutFlagsTest : public ::testing::Test {
protected:
AboutFlagsTest() : flags_storage_(&prefs_) {
@@ -230,21 +223,6 @@ TEST_F(AboutFlagsTest, ConvertFlagsToSwitches) {
EXPECT_TRUE(command_line.HasSwitch(kSwitch1));
}
-TEST_F(AboutFlagsTest, ConvertFlagsToSwitchesMigration) {
- testing::SetMigrations(kMigrations, arraysize(kMigrations));
- SetExperimentEnabled(&flags_storage_,kFlags1, true);
-
- CommandLine command_line(CommandLine::NO_PROGRAM);
-
- EXPECT_FALSE(command_line.HasSwitch(kSwitch1));
- EXPECT_FALSE(command_line.HasSwitch(kSwitch2));
-
- ConvertFlagsToSwitches(&flags_storage_, &command_line);
-
- EXPECT_FALSE(command_line.HasSwitch(kSwitch1));
- EXPECT_TRUE(command_line.HasSwitch(kSwitch2));
-}
-
TEST_F(AboutFlagsTest, CompareSwitchesToCurrentCommandLine) {
SetExperimentEnabled(&flags_storage_, kFlags1, true);