Home
last modified time | relevance | path

Searched refs:metadata_storage_ (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_cache_unittest.cc46 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
49 ASSERT_TRUE(metadata_storage_->Initialize()); in SetUp()
52 metadata_storage_.get(), in SetUp()
68 metadata_storage_; member in drive::internal::FileCacheTest
82 EXPECT_EQ(FILE_ERROR_OK, metadata_storage_->PutEntry(entry)); in TEST_F()
134 EXPECT_EQ(FILE_ERROR_OK, metadata_storage_->PutEntry(entry)); in TEST_F()
145 EXPECT_EQ(FILE_ERROR_OK, metadata_storage_->PutEntry(entry)); in TEST_F()
160 EXPECT_EQ(FILE_ERROR_OK, metadata_storage_->GetEntry(id_tmp, &entry)); in TEST_F()
164 EXPECT_EQ(FILE_ERROR_OK, metadata_storage_->GetEntry(id_pinned, &entry)); in TEST_F()
187 EXPECT_EQ(FILE_ERROR_OK, metadata_storage_->PutEntry(entry)); in TEST_F()
[all …]
Dremove_stale_cache_files_unittest.cc31 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
34 cache_.reset(new FileCache(metadata_storage_.get(), in SetUp()
40 metadata_storage_.get(), cache_.get(), in SetUp()
43 ASSERT_TRUE(metadata_storage_->Initialize()); in SetUp()
52 test_util::DestroyHelperForTests> metadata_storage_; member in drive::internal::RemoveStaleCacheFilesTest
Ddirectory_loader_unittest.cc85 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
87 ASSERT_TRUE(metadata_storage_->Initialize()); in SetUp()
89 cache_.reset(new FileCache(metadata_storage_.get(), in SetUp()
96 metadata_storage_.get(), cache_.get(), in SetUp()
134 test_util::DestroyHelperForTests> metadata_storage_; member in drive::internal::DirectoryLoaderTest
Dchange_list_loader_unittest.cc91 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
93 ASSERT_TRUE(metadata_storage_->Initialize()); in SetUp()
95 cache_.reset(new FileCache(metadata_storage_.get(), in SetUp()
102 metadata_storage_.get(), cache_.get(), in SetUp()
140 test_util::DestroyHelperForTests> metadata_storage_; member in drive::internal::ChangeListLoaderTest
Dsearch_metadata_unittest.cc46 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
48 ASSERT_TRUE(metadata_storage_->Initialize()); in SetUp()
50 cache_.reset(new FileCache(metadata_storage_.get(), in SetUp()
57 new ResourceMetadata(metadata_storage_.get(), in SetUp()
153 test_util::DestroyHelperForTests> metadata_storage_; member in drive::internal::SearchMetadataTest
Dsync_client_unittest.cc126 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
128 ASSERT_TRUE(metadata_storage_->Initialize()); in SetUp()
130 cache_.reset(new FileCache(metadata_storage_.get(), in SetUp()
137 metadata_storage_.get(), cache_.get(), in SetUp()
264 test_util::DestroyHelperForTests> metadata_storage_; member in drive::internal::SyncClientTest
Dchange_list_processor_unittest.cc101 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
103 ASSERT_TRUE(metadata_storage_->Initialize()); in SetUp()
106 cache_.reset(new FileCache(metadata_storage_.get(), in SetUp()
113 metadata_storage_.get(), cache_.get(), in SetUp()
163 test_util::DestroyHelperForTests> metadata_storage_; member in drive::internal::__anond39a327a0111::ChangeListProcessorTest
Ddrive_integration_service.cc254 metadata_storage_.reset(new internal::ResourceMetadataStorage( in DriveIntegrationService()
258 metadata_storage_.get(), in DriveIntegrationService()
265 metadata_storage_.get(), cache_.get(), blocking_task_runner_)); in DriveIntegrationService()
485 metadata_storage_.get(), in Initialize()
Dfile_system_unittest.cc105 metadata_storage_.reset(new internal::ResourceMetadataStorage( in SetUpResourceMetadataAndFileSystem()
107 ASSERT_TRUE(metadata_storage_->Initialize()); in SetUpResourceMetadataAndFileSystem()
112 metadata_storage_.get(), in SetUpResourceMetadataAndFileSystem()
119 metadata_storage_.get(), cache_.get(), in SetUpResourceMetadataAndFileSystem()
222 metadata_storage_.get(), cache.get(), in SetUpTestFileSystem()
306 test_util::DestroyHelperForTests> metadata_storage_; member in drive::FileSystemTest
Dresource_metadata_unittest.cc140 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
142 ASSERT_TRUE(metadata_storage_->Initialize()); in SetUp()
145 cache_.reset(new FileCache(metadata_storage_.get(), in SetUp()
152 metadata_storage_.get(), cache_.get(), in SetUp()
163 metadata_storage_; member in drive::internal::ResourceMetadataTest
Ddrive_integration_service.h172 util::DestroyHelper> metadata_storage_; variable
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Doperation_test_base.cc78 metadata_storage_.reset(new internal::ResourceMetadataStorage( in SetUp()
85 base::Unretained(metadata_storage_.get())), in SetUp()
91 cache_.reset(new internal::FileCache(metadata_storage_.get(), in SetUp()
105 metadata_.reset(new internal::ResourceMetadata(metadata_storage_.get(), in SetUp()
Doperation_test_base.h142 test_util::DestroyHelperForTests> metadata_storage_; variable