Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Unified Diff: ui/file_manager/integration_tests/file_manager/thumbnails.js

Issue 900743002: Move preview panel's components to toolbar and footer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a TODO comment about customized CommandButton. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/integration_tests/file_manager/thumbnails.js
diff --git a/ui/file_manager/integration_tests/file_manager/thumbnails.js b/ui/file_manager/integration_tests/file_manager/thumbnails.js
deleted file mode 100644
index e0ba1c914e84d3525d684c975e56bfe4a8d9a3fe..0000000000000000000000000000000000000000
--- a/ui/file_manager/integration_tests/file_manager/thumbnails.js
+++ /dev/null
@@ -1,39 +0,0 @@
-// 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.
-
-'use strict';
-
-/**
- * Tests if a thumbnail for the selected item shows up in the preview panel.
- * This thumbnail is fetched via the image loader.
- */
-testcase.thumbnailsDownloads = function() {
- var appId;
- StepsRunner.run([
- function() {
- setupAndWaitUntilReady(null, RootPath.DOWNLOADS, this.next);
- },
- // Select the image.
- function(inAppId) {
- appId = inAppId;
- remoteCall.callRemoteTestUtil('selectFile',
- appId,
- ['My Desktop Background.png'],
- this.next);
- },
- // Wait until the thumbnail shows up.
- function(result) {
- chrome.test.assertTrue(result);
- remoteCall.waitForElement(
- appId, '.preview-thumbnails .img-container img').
- then(this.next);
- },
- // Verify the thumbnail.
- function(element) {
- chrome.test.assertTrue(element.attributes.src.indexOf(
- 'data:image/jpeg') === 0);
- checkIfNoErrorsOccured(this.next);
- }
- ]);
-};
« no previous file with comments | « ui/file_manager/file_manager/main.html ('k') | ui/file_manager/integration_tests/file_manager_test_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698