OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
8 #include "base/thread_task_runner_handle.h" | 8 #include "base/thread_task_runner_handle.h" |
9 #include "chrome/browser/extensions/extension_apitest.h" | 9 #include "chrome/browser/extensions/extension_apitest.h" |
10 #include "chrome/browser/sync_file_system/file_status_observer.h" | 10 #include "chrome/browser/sync_file_system/file_status_observer.h" |
11 #include "chrome/browser/sync_file_system/local_change_processor.h" | 11 #include "chrome/browser/sync_file_system/local_change_processor.h" |
12 #include "chrome/browser/sync_file_system/mock_remote_file_sync_service.h" | 12 #include "chrome/browser/sync_file_system/mock_remote_file_sync_service.h" |
13 #include "chrome/browser/sync_file_system/sync_file_system_service.h" | 13 #include "chrome/browser/sync_file_system/sync_file_system_service.h" |
14 #include "chrome/browser/sync_file_system/sync_file_system_service_factory.h" | 14 #include "chrome/browser/sync_file_system/sync_file_system_service_factory.h" |
15 #include "chrome/browser/sync_file_system/sync_status_code.h" | 15 #include "chrome/browser/sync_file_system/sync_status_code.h" |
16 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" | 16 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" |
17 #include "chrome/common/chrome_version_info.h" | 17 #include "chrome/common/channel_info.h" |
brettw
2015/07/31 21:13:15
Ditto
| |
18 #include "chrome/test/base/test_switches.h" | 18 #include "chrome/test/base/test_switches.h" |
19 #include "storage/browser/fileapi/file_system_url.h" | 19 #include "storage/browser/fileapi/file_system_url.h" |
20 #include "storage/browser/quota/quota_manager.h" | 20 #include "storage/browser/quota/quota_manager.h" |
21 #include "testing/gmock/include/gmock/gmock.h" | 21 #include "testing/gmock/include/gmock/gmock.h" |
22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
23 | 23 |
24 using ::testing::_; | 24 using ::testing::_; |
25 using ::testing::Eq; | 25 using ::testing::Eq; |
26 using ::testing::Ne; | 26 using ::testing::Ne; |
27 using ::testing::Property; | 27 using ::testing::Property; |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
195 ASSERT_TRUE(RunPlatformAppTest("sync_file_system/conflict_resolution_policy")) | 195 ASSERT_TRUE(RunPlatformAppTest("sync_file_system/conflict_resolution_policy")) |
196 << message_; | 196 << message_; |
197 } | 197 } |
198 | 198 |
199 IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, GetServiceStatus) { | 199 IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, GetServiceStatus) { |
200 mock_remote_service()->SetServiceState( | 200 mock_remote_service()->SetServiceState( |
201 sync_file_system::REMOTE_SERVICE_AUTHENTICATION_REQUIRED); | 201 sync_file_system::REMOTE_SERVICE_AUTHENTICATION_REQUIRED); |
202 ASSERT_TRUE(RunPlatformAppTest("sync_file_system/get_service_status")) | 202 ASSERT_TRUE(RunPlatformAppTest("sync_file_system/get_service_status")) |
203 << message_; | 203 << message_; |
204 } | 204 } |
OLD | NEW |