Home | History | Annotate | Download | only in login

Lines Matching refs:mock_library_

94     mock_library_ = new MockCryptohomeLibrary();
95 test_api->SetCryptohomeLibrary(mock_library_, true);
221 MockCryptohomeLibrary* mock_library_;
236 ON_CALL(*mock_library_, GetSystemSalt())
238 EXPECT_CALL(*mock_library_, GetSystemSalt())
325 mock_library_->SetUp(true, 0);
326 EXPECT_CALL(*mock_library_, AsyncMountForBwsi(_))
340 mock_library_->SetUp(false, 0);
341 EXPECT_CALL(*mock_library_, AsyncMountForBwsi(_))
356 mock_library_->SetUp(true, 0);
357 EXPECT_CALL(*mock_library_, AsyncRemove(username_, _))
360 EXPECT_CALL(*mock_library_, AsyncMount(username_, hash_ascii_, true, _))
376 mock_library_->SetUp(false, 0);
377 EXPECT_CALL(*mock_library_, AsyncRemove(username_, _))
404 mock_library_->SetUp(true, 0);
405 EXPECT_CALL(*mock_library_, AsyncMigrateKey(username_, _, hash_ascii_, _))
408 EXPECT_CALL(*mock_library_, AsyncMount(username_, hash_ascii_, false, _))
411 EXPECT_CALL(*mock_library_, GetSystemSalt())
428 mock_library_->SetUp(false, chromeos::kCryptohomeMountErrorKeyFailure);
429 EXPECT_CALL(*mock_library_, AsyncMigrateKey(username_, _, hash_ascii_, _))
432 EXPECT_CALL(*mock_library_, GetSystemSalt())
477 mock_library_->SetUp(true, 0);
478 EXPECT_CALL(*mock_library_, AsyncMount(username_, hash_ascii_, true, _))
537 mock_library_->SetUp(true, 0);
538 EXPECT_CALL(*mock_library_, AsyncMigrateKey(username_,
544 EXPECT_CALL(*mock_library_, GetSystemSalt())
582 EXPECT_CALL(*mock_library_, GetSystemSalt())
660 mock_library_->SetUp(true, 0);
661 EXPECT_CALL(*mock_library_, AsyncMountForBwsi(_))
692 mock_library_->SetUp(true, 0);
693 EXPECT_CALL(*mock_library_, AsyncCheckKey(username_, _, _))
696 EXPECT_CALL(*mock_library_, GetSystemSalt())
710 mock_library_->SetUp(false, 0);
711 EXPECT_CALL(*mock_library_, AsyncCheckKey(username_, _, _))
714 EXPECT_CALL(*mock_library_, GetSystemSalt())