1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/file_manager/file_manager_jstest_base.h"
7 class FileManagerJsTest
: public FileManagerJsTestBase
{
9 FileManagerJsTest() : FileManagerJsTestBase(
10 base::FilePath(FILE_PATH_LITERAL("ui/file_manager/file_manager"))) {}
13 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, NavigationListModelTest
) {
14 RunTest(base::FilePath(
15 FILE_PATH_LITERAL("foreground/js/navigation_list_model_unittest.html")));
18 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, FileOperationHandlerTest
) {
19 RunTest(base::FilePath(
20 FILE_PATH_LITERAL("background/js/file_operation_handler_unittest.html")));
23 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, ProgressCenterItemGroupTest
) {
24 RunTest(base::FilePath(FILE_PATH_LITERAL(
25 "foreground/js/progress_center_item_group_unittest.html")));
28 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, DeviceHandlerTest
) {
29 RunTest(base::FilePath(
30 FILE_PATH_LITERAL("background/js/device_handler_unittest.html")));
33 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, MetadataCacheTest
) {
34 RunTest(base::FilePath(FILE_PATH_LITERAL(
35 "foreground/js/metadata/metadata_cache_unittest.html")));
38 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, FileOperationManagerTest
) {
39 RunTest(base::FilePath(
40 FILE_PATH_LITERAL("background/js/file_operation_manager_unittest.html")));
43 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, ImporterCommonTest
) {
44 RunTest(base::FilePath(
45 FILE_PATH_LITERAL("common/js/importer_common_unittest.html")));
48 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, ImportHistoryTest
) {
49 RunTest(base::FilePath(
50 FILE_PATH_LITERAL("background/js/import_history_unittest.html")));
53 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, VolumeManagerTest
) {
54 RunTest(base::FilePath(
55 FILE_PATH_LITERAL("background/js/volume_manager_unittest.html")));
58 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, DirectoryTreeTest
) {
59 RunTest(base::FilePath(
60 FILE_PATH_LITERAL("foreground/js/ui/directory_tree_unittest.html")));
63 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, MediaScannerTest
) {
64 RunTest(base::FilePath(
65 FILE_PATH_LITERAL("background/js/media_scanner_unittest.html")));
68 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, LRUCacheTest
) {
69 RunTest(base::FilePath(
70 FILE_PATH_LITERAL("common/js/lru_cache_unittest.html")));
73 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, MediaImportHandlerTest
) {
74 RunTest(base::FilePath(
75 FILE_PATH_LITERAL("background/js/media_import_handler_unittest.html")));
78 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, TaskQueueTest
) {
79 RunTest(base::FilePath(
80 FILE_PATH_LITERAL("background/js/task_queue_unittest.html")));
83 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, DuplicateFinderTest
) {
84 RunTest(base::FilePath(
85 FILE_PATH_LITERAL("background/js/duplicate_finder_unittest.html")));
88 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, ImportControllerTest
) {
89 RunTest(base::FilePath(
90 FILE_PATH_LITERAL("foreground/js/import_controller_unittest.html")));
93 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, AsyncUtilTest
) {
94 RunTest(base::FilePath(
95 FILE_PATH_LITERAL("common/js/async_util_unittest.html")));
98 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, MetricsTest
) {
99 RunTest(base::FilePath(FILE_PATH_LITERAL("common/js/metrics_unittest.html")));
102 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, TaskController
) {
103 RunTest(base::FilePath(
104 FILE_PATH_LITERAL("foreground/js/task_controller_unittest.html")));
107 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, FileTasks
) {
108 RunTest(base::FilePath(
109 FILE_PATH_LITERAL("foreground/js/file_tasks_unittest.html")));
112 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, ThumbnailLoader
) {
113 RunTest(base::FilePath(
114 FILE_PATH_LITERAL("foreground/js/thumbnail_loader_unittest.html")));
117 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, MetadataCacheItem
) {
118 RunTest(base::FilePath(FILE_PATH_LITERAL(
119 "foreground/js/metadata/metadata_cache_item_unittest.html")));
122 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, MetadataCacheSet
) {
123 RunTest(base::FilePath(FILE_PATH_LITERAL(
124 "foreground/js/metadata/metadata_cache_set_unittest.html")));
127 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, MultiMetadataProvider
) {
128 RunTest(base::FilePath(FILE_PATH_LITERAL(
129 "foreground/js/metadata/multi_metadata_provider_unittest.html")));
132 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, ListThumbnailLoader
) {
133 RunTest(base::FilePath(
134 FILE_PATH_LITERAL("foreground/js/list_thumbnail_loader_unittest.html")));
137 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, FileSystemMetadataProvider
) {
138 RunTest(base::FilePath(FILE_PATH_LITERAL(
139 "foreground/js/metadata/file_system_metadata_provider_unittest.html")));
142 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, ExternalMetadataProvider
) {
143 RunTest(base::FilePath(FILE_PATH_LITERAL(
144 "foreground/js/metadata/external_metadata_provider_unittest.html")));
147 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, ContentMetadataProvider
) {
148 RunTest(base::FilePath(FILE_PATH_LITERAL(
149 "foreground/js/metadata/content_metadata_provider_unittest.html")));
152 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, MetadataModel
) {
153 RunTest(base::FilePath(FILE_PATH_LITERAL(
154 "foreground/js/metadata/metadata_model_unittest.html")));
157 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, ThumbnailModel
) {
158 RunTest(base::FilePath(FILE_PATH_LITERAL(
159 "foreground/js/metadata/thumbnail_model_unittest.html")));
162 IN_PROC_BROWSER_TEST_F(FileManagerJsTest
, ExifParser
) {
163 RunTest(base::FilePath(FILE_PATH_LITERAL(
164 "foreground/js/metadata/exif_parser_unittest.html")));