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

Side by Side Diff: chrome/test/data/extensions/api_test/file_manager_browsertest/background.js

Issue 309263002: Add browser test for VOLUME_TYPE_MTP volumes on Files.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 * Extension ID of Files.app. 8 * Extension ID of Files.app.
9 * @type {string} 9 * @type {string}
10 * @const 10 * @const
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 ENTRIES.testSharedDocument 611 ENTRIES.testSharedDocument
612 ]; 612 ];
613 613
614 var NESTED_ENTRY_SET = [ 614 var NESTED_ENTRY_SET = [
615 ENTRIES.directoryA, 615 ENTRIES.directoryA,
616 ENTRIES.directoryB, 616 ENTRIES.directoryB,
617 ENTRIES.directoryC 617 ENTRIES.directoryC
618 ]; 618 ];
619 619
620 /** 620 /**
621 * Expecetd list of preset entries in fake test volumes. This should be in sync
622 * with FakeTestVolume::PrepareTestEntries in the test harness.
623 *
624 * @type {Array.<TestEntryInfo>}
625 * @const
626 */
627 var BASIC_FAKE_ENTRY_SET = [
628 ENTRIES.hello,
629 ENTRIES.directoryA
630 ];
631
632 /**
621 * Expected files shown in "Recent". Directories (e.g. 'photos') are not in this 633 * Expected files shown in "Recent". Directories (e.g. 'photos') are not in this
622 * list as they are not expected in "Recent". 634 * list as they are not expected in "Recent".
623 * 635 *
624 * @type {Array.<TestEntryInfo>} 636 * @type {Array.<TestEntryInfo>}
625 * @const 637 * @const
626 */ 638 */
627 var RECENT_ENTRY_SET = [ 639 var RECENT_ENTRY_SET = [
628 ENTRIES.hello, 640 ENTRIES.hello,
629 ENTRIES.world, 641 ENTRIES.world,
630 ENTRIES.desktop, 642 ENTRIES.desktop,
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 chrome.test.fail(testCaseName + ' is not found.'); 817 chrome.test.fail(testCaseName + ' is not found.');
806 return; 818 return;
807 } 819 }
808 // Specify the name of test to the test system. 820 // Specify the name of test to the test system.
809 targetTest.generatedName = testCaseName; 821 targetTest.generatedName = testCaseName;
810 chrome.test.runTests([targetTest]); 822 chrome.test.runTests([targetTest]);
811 } 823 }
812 ]; 824 ];
813 steps.shift()(); 825 steps.shift()();
814 }); 826 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698