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

Unified Diff: chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc

Issue 1112843003: Revert "Enable BlockingLoginTest, ForceMaximizeOnFirstRunTest, UserCloudPolicyManagerTest, for webv… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc b/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc
index 0105d8813e5157bc02218b0ebad6c92e005325da..fff003698e3e3ba65378d417d23a3314b15354de 100644
--- a/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc
@@ -17,14 +17,9 @@
namespace policy {
-// Boolean parameter is used to run this test for webview (true) and for
-// iframe (false) GAIA sign in.
-class UserCloudPolicyManagerTest : public LoginPolicyTestBase,
- public testing::WithParamInterface<bool> {
+class UserCloudPolicyManagerTest : public LoginPolicyTestBase {
protected:
- UserCloudPolicyManagerTest() : LoginPolicyTestBase() {
- set_use_webview(GetParam());
- }
+ UserCloudPolicyManagerTest() : LoginPolicyTestBase() {}
scoped_ptr<base::DictionaryValue> GetMandatoryPoliciesValue() const override {
scoped_ptr<base::ListValue> list(new base::ListValue);
@@ -43,7 +38,7 @@ class UserCloudPolicyManagerTest : public LoginPolicyTestBase,
DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyManagerTest);
};
-IN_PROC_BROWSER_TEST_P(UserCloudPolicyManagerTest, StartSession) {
+IN_PROC_BROWSER_TEST_F(UserCloudPolicyManagerTest, StartSession) {
const char* const kStartupURLs[] = {"chrome://policy", "chrome://about"};
SkipToLoginScreen();
@@ -66,8 +61,4 @@ IN_PROC_BROWSER_TEST_P(UserCloudPolicyManagerTest, StartSession) {
}
}
-INSTANTIATE_TEST_CASE_P(UserCloudPolicyManagerTestSuite,
- UserCloudPolicyManagerTest,
- testing::Bool());
-
} // namespace policy

Powered by Google App Engine
This is Rietveld 408576698