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/file_path.h" | 6 #include "base/file_path.h" |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
9 #include "base/json/json_file_value_serializer.h" | 9 #include "base/json/json_file_value_serializer.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 // Configure the drive service to return only one search result at a time | 504 // Configure the drive service to return only one search result at a time |
505 // to simulate paginated searches. | 505 // to simulate paginated searches. |
506 fake_drive_service_->set_default_max_results(1); | 506 fake_drive_service_->set_default_max_results(1); |
507 EXPECT_TRUE(RunFileSystemExtensionApiTest( | 507 EXPECT_TRUE(RunFileSystemExtensionApiTest( |
508 "file_browser/drive_search_test", | 508 "file_browser/drive_search_test", |
509 FILE_PATH_LITERAL("manifest.json"), | 509 FILE_PATH_LITERAL("manifest.json"), |
510 "", | 510 "", |
511 FLAGS_NONE)) << message_; | 511 FLAGS_NONE)) << message_; |
512 } | 512 } |
513 | 513 |
| 514 IN_PROC_BROWSER_TEST_F(DriveFileSystemExtensionApiTest, AppFileHanlder) { |
| 515 EXPECT_TRUE(RunFileSystemExtensionApiTest( |
| 516 "file_browser/handler_test_runner", |
| 517 FILE_PATH_LITERAL("manifest_v2.json"), |
| 518 "file_browser/app_file_handler", |
| 519 FLAGS_USE_FILE_HANDLER)) << message_; |
| 520 } |
| 521 |
514 } // namespace | 522 } // namespace |
OLD | NEW |