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

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

Issue 303503004: Change directory if the active list item on navigation list is changed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add browser tests for folder shortcuts. 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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 directoryB: new TestEntryInfo( 565 directoryB: new TestEntryInfo(
566 EntryType.DIRECTORY, null, 'A/B', 566 EntryType.DIRECTORY, null, 'A/B',
567 null, SharedOption.NONE, 'Jan 1, 2000 1:00 AM', 567 null, SharedOption.NONE, 'Jan 1, 2000 1:00 AM',
568 'B', '--', 'Folder'), 568 'B', '--', 'Folder'),
569 569
570 directoryC: new TestEntryInfo( 570 directoryC: new TestEntryInfo(
571 EntryType.DIRECTORY, null, 'A/B/C', 571 EntryType.DIRECTORY, null, 'A/B/C',
572 null, SharedOption.NONE, 'Jan 1, 2000 1:00 AM', 572 null, SharedOption.NONE, 'Jan 1, 2000 1:00 AM',
573 'C', '--', 'Folder'), 573 'C', '--', 'Folder'),
574 574
575 directoryD: new TestEntryInfo(
576 EntryType.DIRECTORY, null, 'D',
577 null, SharedOption.NONE, 'Jan 1, 2000 1:00 AM',
578 'D', '--', 'Folder'),
579
580 directoryE: new TestEntryInfo(
581 EntryType.DIRECTORY, null, 'D/E',
582 null, SharedOption.NONE, 'Jan 1, 2000 1:00 AM',
583 'E', '--', 'Folder'),
584
585 directoryF: new TestEntryInfo(
586 EntryType.DIRECTORY, null, 'D/E/F',
587 null, SharedOption.NONE, 'Jan 1, 2000 1:00 AM',
588 'F', '--', 'Folder'),
589
575 zipArchive: new TestEntryInfo( 590 zipArchive: new TestEntryInfo(
576 EntryType.FILE, 'archive.zip', 'archive.zip', 591 EntryType.FILE, 'archive.zip', 'archive.zip',
577 'application/x-zip', SharedOption.NONE, 'Jan 1, 2014 1:00 AM', 592 'application/x-zip', SharedOption.NONE, 'Jan 1, 2014 1:00 AM',
578 'archive.zip', '533 bytes', 'Zip archive') 593 'archive.zip', '533 bytes', 'Zip archive')
579 }; 594 };
580 595
581 /** 596 /**
582 * Basic entry set for the local volume. 597 * Basic entry set for the local volume.
583 * @type {Array.<TestEntryInfo>} 598 * @type {Array.<TestEntryInfo>}
584 * @const 599 * @const
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 chrome.test.fail(testCaseName + ' is not found.'); 820 chrome.test.fail(testCaseName + ' is not found.');
806 return; 821 return;
807 } 822 }
808 // Specify the name of test to the test system. 823 // Specify the name of test to the test system.
809 targetTest.generatedName = testCaseName; 824 targetTest.generatedName = testCaseName;
810 chrome.test.runTests([targetTest]); 825 chrome.test.runTests([targetTest]);
811 } 826 }
812 ]; 827 ];
813 steps.shift()(); 828 steps.shift()();
814 }); 829 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698