| 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 |
| 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 Loading... |
| 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 }); |
| OLD | NEW |