| OLD | NEW |
| 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 Loading... |
| 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 | |
| 590 zipArchive: new TestEntryInfo( | 575 zipArchive: new TestEntryInfo( |
| 591 EntryType.FILE, 'archive.zip', 'archive.zip', | 576 EntryType.FILE, 'archive.zip', 'archive.zip', |
| 592 'application/x-zip', SharedOption.NONE, 'Jan 1, 2014 1:00 AM', | 577 'application/x-zip', SharedOption.NONE, 'Jan 1, 2014 1:00 AM', |
| 593 'archive.zip', '533 bytes', 'Zip archive') | 578 'archive.zip', '533 bytes', 'Zip archive') |
| 594 }; | 579 }; |
| 595 | 580 |
| 596 /** | 581 /** |
| 597 * Basic entry set for the local volume. | 582 * Basic entry set for the local volume. |
| 598 * @type {Array.<TestEntryInfo>} | 583 * @type {Array.<TestEntryInfo>} |
| 599 * @const | 584 * @const |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 chrome.test.fail(testCaseName + ' is not found.'); | 805 chrome.test.fail(testCaseName + ' is not found.'); |
| 821 return; | 806 return; |
| 822 } | 807 } |
| 823 // Specify the name of test to the test system. | 808 // Specify the name of test to the test system. |
| 824 targetTest.generatedName = testCaseName; | 809 targetTest.generatedName = testCaseName; |
| 825 chrome.test.runTests([targetTest]); | 810 chrome.test.runTests([targetTest]); |
| 826 } | 811 } |
| 827 ]; | 812 ]; |
| 828 steps.shift()(); | 813 steps.shift()(); |
| 829 }); | 814 }); |
| OLD | NEW |