Home
last modified time | relevance | path

Searched refs:mock_library_ (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/chromeos/login/
Dparallel_authenticator_unittest.cc94 mock_library_ = new MockCryptohomeLibrary(); in SetUp()
95 test_api->SetCryptohomeLibrary(mock_library_, true); in SetUp()
221 MockCryptohomeLibrary* mock_library_; member in chromeos::ParallelAuthenticatorTest
236 ON_CALL(*mock_library_, GetSystemSalt()) in TEST_F()
238 EXPECT_CALL(*mock_library_, GetSystemSalt()) in TEST_F()
325 mock_library_->SetUp(true, 0); in TEST_F()
326 EXPECT_CALL(*mock_library_, AsyncMountForBwsi(_)) in TEST_F()
340 mock_library_->SetUp(false, 0); in TEST_F()
341 EXPECT_CALL(*mock_library_, AsyncMountForBwsi(_)) in TEST_F()
356 mock_library_->SetUp(true, 0); in TEST_F()
[all …]
Dcryptohome_op_unittest.cc37 mock_library_(new MockCryptohomeLibrary) { in CryptohomeOpTest()
54 test_api->SetCryptohomeLibrary(mock_library_.get(), false); in SetUp()
55 mock_library_->SetUp(false, 0); in SetUp()
69 EXPECT_CALL(*(mock_library_.get()), AsyncMigrateKey(username_, in ExpectMigrate()
76 EXPECT_CALL(*(mock_library_.get()), AsyncMigrateKey(username_, in ExpectMigrate()
86 EXPECT_CALL(*(mock_library_.get()), in ExpectMount()
93 EXPECT_CALL(*(mock_library_.get()), AsyncMountForBwsi(_)) in ExpectMountGuest()
99 EXPECT_CALL(*(mock_library_.get()), AsyncRemove(username_, _)) in ExpectRemove()
105 EXPECT_CALL(*(mock_library_.get()), in ExpectCheckKey()
112 mock_library_->SetAsyncBehavior(outcome, code); in RunTest()
[all …]
Dgoogle_authenticator_unittest.cc81 mock_library_ = new MockCryptohomeLibrary(); in SetUp()
82 test_api->SetCryptohomeLibrary(mock_library_, true); in SetUp()
161 MockCryptohomeLibrary* mock_library_; member in chromeos::GoogleAuthenticatorTest
179 ON_CALL(*mock_library_, GetSystemSalt()) in TEST_F()
181 EXPECT_CALL(*mock_library_, GetSystemSalt()) in TEST_F()
223 EXPECT_CALL(*mock_library_, Mount(username_, hash_ascii_, _)) in TEST_F()
240 EXPECT_CALL(*mock_library_, Mount(username_, hash_ascii_, _)) in TEST_F()
258 EXPECT_CALL(*mock_library_, Mount(username_, hash_ascii_, _)) in TEST_F()
266 EXPECT_CALL(*mock_library_, GetSystemSalt()) in TEST_F()
269 EXPECT_CALL(*mock_library_, MigrateKey(username_, _, hash_ascii_)) in TEST_F()
[all …]