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

Unified Diff: chrome/browser/chromeos/login/ownership_service_unittest.cc

Issue 6538098: [Chrome OS] Owner keys are generated outside Chrome now; handle appropriately (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
« no previous file with comments | « chrome/browser/chromeos/login/ownership_service.cc ('k') | chrome/browser/chromeos/login/user_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/ownership_service_unittest.cc
diff --git a/chrome/browser/chromeos/login/ownership_service_unittest.cc b/chrome/browser/chromeos/login/ownership_service_unittest.cc
index cbd72d789ffbea08f6595bf7b376f589c49a090a..e6ee824ee991f76ff73cd3162cf7aff41e8e15f3 100644
--- a/chrome/browser/chromeos/login/ownership_service_unittest.cc
+++ b/chrome/browser/chromeos/login/ownership_service_unittest.cc
@@ -123,24 +123,6 @@ TEST_F(OwnershipServiceTest, LoadOwnerKey) {
message_loop_.Run();
}
-TEST_F(OwnershipServiceTest, AttemptKeyGeneration) {
- // We really only care that we initiate key generation here;
- // actual key-generation paths are tested in owner_manager_unittest.cc
- StartUnowned();
- MockKeyLoadObserver loader;
- loader.ExpectKeyFetchSuccess(false);
-
- EXPECT_CALL(*mock_, GenerateKeyPair())
- .WillOnce(Return(reinterpret_cast<RSAPrivateKey*>(NULL)))
- .RetiresOnSaturation();
- EXPECT_CALL(*mock_, GetOwnerKeyFilePath())
- .WillRepeatedly(Return(tmpfile_));
-
- service_->StartTakeOwnershipAttempt("me");
-
- message_loop_.Run();
-}
-
TEST_F(OwnershipServiceTest, NotYetOwnedVerify) {
StartUnowned();
« no previous file with comments | « chrome/browser/chromeos/login/ownership_service.cc ('k') | chrome/browser/chromeos/login/user_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698