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

Side by Side Diff: components/password_manager/core/browser/password_manager_settings_migration_experiment_unittest.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/password_manager/core/browser/password_manager_settings_mig ration_experiment.h" 5 #include "components/password_manager/core/browser/password_manager_settings_mig ration_experiment.h"
6 6
7 #include "base/macros.h"
7 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
8 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
11 namespace { 12 namespace {
12 13
13 const char kPasswordManagerSettingMigrationFieldTrialName[] = 14 const char kPasswordManagerSettingMigrationFieldTrialName[] =
14 "PasswordManagerSettingsMigration"; 15 "PasswordManagerSettingsMigration";
15 const char kEnabledPasswordManagerSettingsMigrationGroupName[] = "Enable"; 16 const char kEnabledPasswordManagerSettingsMigrationGroupName[] = "Enable";
16 const char kDisablePasswordManagerSettingsMigrationGroupName[] = "Disable"; 17 const char kDisablePasswordManagerSettingsMigrationGroupName[] = "Disable";
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 } 69 }
69 70
70 TEST_F(PasswordManagerSettingsMigrationExperimentTest, 71 TEST_F(PasswordManagerSettingsMigrationExperimentTest,
71 IsBehaviourChangeDisabled) { 72 IsBehaviourChangeDisabled) {
72 EnforcePasswordManagerSettingsBehaviourChangeExperimentGroup( 73 EnforcePasswordManagerSettingsBehaviourChangeExperimentGroup(
73 kPasswordManagerSettingsBehaviourChangeDisabledGroupName); 74 kPasswordManagerSettingsBehaviourChangeDisabledGroupName);
74 EXPECT_FALSE(IsSettingsBehaviorChangeActive()); 75 EXPECT_FALSE(IsSettingsBehaviorChangeActive());
75 } 76 }
76 77
77 } // namespace password_manager 78 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698