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

Side by Side Diff: ui/file_manager/integration_tests/file_manager/copy_between_windows.js

Issue 1056433003: Add button to add new FSP services to Files app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests. Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 'use strict'; 5 'use strict';
6 6
7 /** 7 /**
8 * Opens two window of given root paths. 8 * Opens two window of given root paths.
9 * @param {string} rootPath1 Root path of the first window. 9 * @param {string} rootPath1 Root path of the first window.
10 * @param {string} rootPath2 Root path of the second window. 10 * @param {string} rootPath2 Root path of the second window.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 return remoteCall.callRemoteTestUtil('execCommand', windowId2, ['paste']); 51 return remoteCall.callRemoteTestUtil('execCommand', windowId2, ['paste']);
52 }). 52 }).
53 then(function() { 53 then(function() {
54 return remoteCall.waitForFiles(windowId2, 54 return remoteCall.waitForFiles(windowId2,
55 [file.getExpectedRow()], 55 [file.getExpectedRow()],
56 {ignoreLastModifiedTime: true}); 56 {ignoreLastModifiedTime: true});
57 }); 57 });
58 }; 58 };
59 59
60 var REMOVABLE_VOLUME_QUERY = '#directory-tree > .tree-item > .tree-row ' + 60 var REMOVABLE_VOLUME_QUERY = '#directory-tree > .tree-item > .tree-row ' +
61 '.volume-icon[volume-type-icon="removable"]'; 61 '.item-icon[volume-type-icon="removable"]';
62 62
63 testcase.copyBetweenWindowsDriveToLocal = function() { 63 testcase.copyBetweenWindowsDriveToLocal = function() {
64 var windowId1; 64 var windowId1;
65 var windowId2; 65 var windowId2;
66 StepsRunner.run([ 66 StepsRunner.run([
67 // Make a file in a drive directory. 67 // Make a file in a drive directory.
68 function() { 68 function() {
69 addEntries(['drive'], [ENTRIES.hello], this.next); 69 addEntries(['drive'], [ENTRIES.hello], this.next);
70 }, 70 },
71 // Open windows. 71 // Open windows.
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 }, 273 },
274 // Copy a file between windows. 274 // Copy a file between windows.
275 function(appIds) { 275 function(appIds) {
276 copyBetweenWindows(windowId1, windowId2, ENTRIES.hello).then(this.next); 276 copyBetweenWindows(windowId1, windowId2, ENTRIES.hello).then(this.next);
277 }, 277 },
278 function() { 278 function() {
279 checkIfNoErrorsOccured(this.next); 279 checkIfNoErrorsOccured(this.next);
280 } 280 }
281 ]); 281 ]);
282 }; 282 };
OLDNEW
« no previous file with comments | « ui/file_manager/file_manager/main.html ('k') | ui/file_manager/integration_tests/file_manager/file_display.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698