Commit 26d7685f authored by Sam McNally's avatar Sam McNally Committed by Commit Bot

Closure compile task_queue_unittest.

Bug: 907961
Change-Id: I2fb696f5829d822786380d6abd5573f18deb2474
Reviewed-on: https://chromium-review.googlesource.com/c/1349138Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Commit-Queue: Sam McNally <sammc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610533}
parent 5c5f86f2
......@@ -84,8 +84,7 @@ IN_PROC_BROWSER_TEST_F(FileManagerJsTest, MediaImportHandlerTest) {
}
IN_PROC_BROWSER_TEST_F(FileManagerJsTest, TaskQueueTest) {
RunTest(base::FilePath(
FILE_PATH_LITERAL("background/js/task_queue_unittest.html")));
RunGeneratedTest("/background/js/task_queue_unittest.html");
}
IN_PROC_BROWSER_TEST_F(FileManagerJsTest, DuplicateFinderTest) {
......
......@@ -324,6 +324,18 @@ js_library("task_queue") {
]
}
js_unittest("task_queue_unittest") {
deps = [
":task_queue",
"../../common/js:importer_common",
"//ui/file_manager/base/js:test_error_reporting",
"//ui/file_manager/base/js:volume_manager_types",
"//ui/webui/resources/js:assert",
"//ui/webui/resources/js:cr",
"//ui/webui/resources/js/cr:event_target",
]
}
js_library("test_util_base") {
}
......@@ -409,6 +421,7 @@ js_unit_tests("unit_tests") {
":duplicate_finder_unittest",
":import_history_unittest",
":media_scanner_unittest",
":task_queue_unittest",
":volume_manager_unittest",
]
}
<!DOCTYPE html>
<!-- Copyright 2014 The Chromium Authors. All rights reserved.
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
-->
<html>
<body>
<script src="../../../../../ui/webui/resources/js/cr.js"></script>
<script src="../../../../../ui/webui/resources/js/assert.js"></script>
<script src="../../../../../ui/webui/resources/js/cr/event_target.js"></script>
<script src="../../../base/js/volume_manager_types.js"></script>
<script src="../../common/js/importer_common.js"></script>
<script src="../../../base/js/test_error_reporting.js"></script>
<script src="task_queue.js"></script>
<script src="task_queue_unittest.js"></script>
</body>
</html>
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/** @type {!TaskQueue} */
/** @type {!importer.TaskQueue} */
var queue;
/** @type {!Object<importer.TaskQueue.UpdateType, number>} */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment