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

Side by Side Diff: chrome/browser/chromeos/login/enrollment/enrollment_screen.h

Issue 2716383002: Add Active Directory enterprise enrollment/domain join tests (Closed)
Patch Set: Created 3 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 FRIEND_TEST_ALL_PREFIXES(AttestationAuthEnrollmentScreenTest, TestCancel); 93 FRIEND_TEST_ALL_PREFIXES(AttestationAuthEnrollmentScreenTest, TestCancel);
94 FRIEND_TEST_ALL_PREFIXES(ForcedAttestationAuthEnrollmentScreenTest, 94 FRIEND_TEST_ALL_PREFIXES(ForcedAttestationAuthEnrollmentScreenTest,
95 TestCancel); 95 TestCancel);
96 FRIEND_TEST_ALL_PREFIXES(MultiAuthEnrollmentScreenTest, TestCancel); 96 FRIEND_TEST_ALL_PREFIXES(MultiAuthEnrollmentScreenTest, TestCancel);
97 FRIEND_TEST_ALL_PREFIXES(EnterpriseEnrollmentTest, 97 FRIEND_TEST_ALL_PREFIXES(EnterpriseEnrollmentTest,
98 TestProperPageGetsLoadedOnEnrollmentSuccess); 98 TestProperPageGetsLoadedOnEnrollmentSuccess);
99 FRIEND_TEST_ALL_PREFIXES(EnterpriseEnrollmentTest, 99 FRIEND_TEST_ALL_PREFIXES(EnterpriseEnrollmentTest,
100 TestAttributePromptPageGetsLoaded); 100 TestAttributePromptPageGetsLoaded);
101 FRIEND_TEST_ALL_PREFIXES(EnterpriseEnrollmentTest, 101 FRIEND_TEST_ALL_PREFIXES(EnterpriseEnrollmentTest,
102 TestAuthCodeGetsProperlyReceivedFromGaia); 102 TestAuthCodeGetsProperlyReceivedFromGaia);
103 FRIEND_TEST_ALL_PREFIXES(EnterpriseEnrollmentTest,
104 TestActiveDirectoryEnrollment_Success);
105 FRIEND_TEST_ALL_PREFIXES(EnterpriseEnrollmentTest,
106 TestActiveDirectoryEnrollment_UIErrors);
103 FRIEND_TEST_ALL_PREFIXES(HandsOffNetworkScreenTest, RequiresNoInput); 107 FRIEND_TEST_ALL_PREFIXES(HandsOffNetworkScreenTest, RequiresNoInput);
104 FRIEND_TEST_ALL_PREFIXES(HandsOffNetworkScreenTest, ContinueClickedOnlyOnce); 108 FRIEND_TEST_ALL_PREFIXES(HandsOffNetworkScreenTest, ContinueClickedOnlyOnce);
105 FRIEND_TEST_ALL_PREFIXES(EnrollmentScreenUnitTest, Retries); 109 FRIEND_TEST_ALL_PREFIXES(EnrollmentScreenUnitTest, Retries);
106 FRIEND_TEST_ALL_PREFIXES(EnrollmentScreenUnitTest, DoesNotRetryOnTopOfUser); 110 FRIEND_TEST_ALL_PREFIXES(EnrollmentScreenUnitTest, DoesNotRetryOnTopOfUser);
107 FRIEND_TEST_ALL_PREFIXES(EnrollmentScreenUnitTest, DoesNotRetryAfterSuccess); 111 FRIEND_TEST_ALL_PREFIXES(EnrollmentScreenUnitTest, DoesNotRetryAfterSuccess);
108 112
109 // The authentication mechanisms that this class can use. 113 // The authentication mechanisms that this class can use.
110 enum Auth { 114 enum Auth {
111 AUTH_ATTESTATION, 115 AUTH_ATTESTATION,
112 AUTH_OAUTH, 116 AUTH_OAUTH,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 std::unique_ptr<EnterpriseEnrollmentHelper> enrollment_helper_; 185 std::unique_ptr<EnterpriseEnrollmentHelper> enrollment_helper_;
182 OnDomainJoinedCallback on_joined_callback_; 186 OnDomainJoinedCallback on_joined_callback_;
183 base::WeakPtrFactory<EnrollmentScreen> weak_ptr_factory_; 187 base::WeakPtrFactory<EnrollmentScreen> weak_ptr_factory_;
184 188
185 DISALLOW_COPY_AND_ASSIGN(EnrollmentScreen); 189 DISALLOW_COPY_AND_ASSIGN(EnrollmentScreen);
186 }; 190 };
187 191
188 } // namespace chromeos 192 } // namespace chromeos
189 193
190 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_H_ 194 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698