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
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/file_manager/file_manager_jstest_base.h"
7 class GalleryJsTest
: public FileManagerJsTestBase
{
9 GalleryJsTest() : FileManagerJsTestBase(
10 base::FilePath(FILE_PATH_LITERAL("ui/file_manager/gallery/js"))) {}
13 IN_PROC_BROWSER_TEST_F(GalleryJsTest
, ImageEncoderTest
) {
14 RunTest(base::FilePath(
15 FILE_PATH_LITERAL("image_editor/image_encoder_unittest.html")));
18 IN_PROC_BROWSER_TEST_F(GalleryJsTest
, ExifEncoderTest
) {
19 RunTest(base::FilePath(
20 FILE_PATH_LITERAL("image_editor/exif_encoder_unittest.html")));
23 IN_PROC_BROWSER_TEST_F(GalleryJsTest
, ImageViewTest
) {
24 RunTest(base::FilePath(
25 FILE_PATH_LITERAL("image_editor/image_view_unittest.html")));
28 IN_PROC_BROWSER_TEST_F(GalleryJsTest
, EntryListWatcherTest
) {
29 RunTest(base::FilePath(
30 FILE_PATH_LITERAL("entry_list_watcher_unittest.html")));
33 IN_PROC_BROWSER_TEST_F(GalleryJsTest
, GalleryUtilTest
) {
34 RunTest(base::FilePath(
35 FILE_PATH_LITERAL("gallery_util_unittest.html")));
38 IN_PROC_BROWSER_TEST_F(GalleryJsTest
, GalleryItemTest
) {
39 RunTest(base::FilePath(
40 FILE_PATH_LITERAL("gallery_item_unittest.html")));
43 IN_PROC_BROWSER_TEST_F(GalleryJsTest
, GalleryDataModelTest
) {
44 RunTest(base::FilePath(
45 FILE_PATH_LITERAL("gallery_data_model_unittest.html")));
48 IN_PROC_BROWSER_TEST_F(GalleryJsTest
, MosaicModeTest
) {
49 RunTest(base::FilePath(
50 FILE_PATH_LITERAL("mosaic_mode_unittest.html")));