OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 SYNC_INTERNAL_API_ATTACHMENTS_ATTACHMENT_STORE_TEST_TEMPLATE_H_ | 5 #ifndef SYNC_INTERNAL_API_ATTACHMENTS_ATTACHMENT_STORE_TEST_TEMPLATE_H_ |
6 #define SYNC_INTERNAL_API_ATTACHMENTS_ATTACHMENT_STORE_TEST_TEMPLATE_H_ | 6 #define SYNC_INTERNAL_API_ATTACHMENTS_ATTACHMENT_STORE_TEST_TEMPLATE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/files/scoped_temp_dir.h" | 12 #include "base/files/scoped_temp_dir.h" |
13 #include "base/memory/ref_counted_memory.h" | 13 #include "base/memory/ref_counted_memory.h" |
14 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
15 #include "base/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
16 #include "sync/api/attachments/attachment.h" | 16 #include "sync/api/attachments/attachment.h" |
17 #include "sync/api/attachments/attachment_store.h" | 17 #include "sync/api/attachments/attachment_store.h" |
18 #include "sync/internal_api/public/attachments/attachment_util.h" | 18 #include "sync/internal_api/public/attachments/attachment_util.h" |
19 #include "sync/protocol/sync.pb.h" | 19 #include "sync/protocol/sync.pb.h" |
20 #include "testing/gmock/include/gmock/gmock-matchers.h" | 20 #include "testing/gmock/include/gmock/gmock-matchers.h" |
21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
22 | 22 |
23 // AttachmentStoreTest defines tests for AttachmentStore. To instantiate these | 23 // AttachmentStoreTest defines tests for AttachmentStore. To instantiate these |
24 // tests for a particular implementation you need to: | 24 // tests for a particular implementation you need to: |
25 // - Include this file in test. | 25 // - Include this file in test. |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 Read_OneNotFound, | 515 Read_OneNotFound, |
516 Drop_DropTwoButOnlyOneExists, | 516 Drop_DropTwoButOnlyOneExists, |
517 Drop_DoesNotExist, | 517 Drop_DoesNotExist, |
518 ReadMetadataById, | 518 ReadMetadataById, |
519 ReadMetadata, | 519 ReadMetadata, |
520 SetSyncReference_DropSyncReference); | 520 SetSyncReference_DropSyncReference); |
521 | 521 |
522 } // namespace syncer | 522 } // namespace syncer |
523 | 523 |
524 #endif // SYNC_INTERNAL_API_ATTACHMENTS_ATTACHMENT_STORE_TEST_TEMPLATE_H_ | 524 #endif // SYNC_INTERNAL_API_ATTACHMENTS_ATTACHMENT_STORE_TEST_TEMPLATE_H_ |
OLD | NEW |