| OLD | NEW |
| 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 * Sends a test message. | 8 * Sends a test message. |
| 9 * @param {Object} message Message to be sent. It is converted into JSON string | 9 * @param {Object} message Message to be sent. It is converted into JSON string |
| 10 * before sending. | 10 * before sending. |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 'unsupported.foo', '8 KB', 'FOO file'), | 213 'unsupported.foo', '8 KB', 'FOO file'), |
| 214 | 214 |
| 215 desktop: new TestEntryInfo( | 215 desktop: new TestEntryInfo( |
| 216 EntryType.FILE, 'image.png', 'My Desktop Background.png', | 216 EntryType.FILE, 'image.png', 'My Desktop Background.png', |
| 217 'image/png', SharedOption.NONE, 'Jan 18, 2038, 1:02 AM', | 217 'image/png', SharedOption.NONE, 'Jan 18, 2038, 1:02 AM', |
| 218 'My Desktop Background.png', '272 bytes', 'PNG image'), | 218 'My Desktop Background.png', '272 bytes', 'PNG image'), |
| 219 | 219 |
| 220 image2: new TestEntryInfo( | 220 image2: new TestEntryInfo( |
| 221 EntryType.FILE, 'image2.png', 'image2.png', | 221 EntryType.FILE, 'image2.png', 'image2.png', |
| 222 'image/png', SharedOption.NONE, 'Jan 18, 2038, 1:02 AM', | 222 'image/png', SharedOption.NONE, 'Jan 18, 2038, 1:02 AM', |
| 223 'image2.png', '272 bytes', 'PNG image'), | 223 'image2.png', '4 KB', 'PNG image'), |
| 224 | 224 |
| 225 image3: new TestEntryInfo( | 225 image3: new TestEntryInfo( |
| 226 EntryType.FILE, 'image3.jpg', 'image3.jpg', | 226 EntryType.FILE, 'image3.jpg', 'image3.jpg', |
| 227 'image/jpg', SharedOption.NONE, 'Jan 18, 2038, 1:02 AM', | 227 'image/jpg', SharedOption.NONE, 'Jan 18, 2038, 1:02 AM', |
| 228 'image3.jpg', '272 bytes', 'JPEG image'), | 228 'image3.jpg', '272 bytes', 'JPEG image'), |
| 229 | 229 |
| 230 beautiful: new TestEntryInfo( | 230 beautiful: new TestEntryInfo( |
| 231 EntryType.FILE, 'music.ogg', 'Beautiful Song.ogg', | 231 EntryType.FILE, 'music.ogg', 'Beautiful Song.ogg', |
| 232 'text/plain', SharedOption.NONE, 'Nov 12, 2086, 12:00 PM', | 232 'text/plain', SharedOption.NONE, 'Nov 12, 2086, 12:00 PM', |
| 233 'Beautiful Song.ogg', '14 KB', 'OGG audio'), | 233 'Beautiful Song.ogg', '14 KB', 'OGG audio'), |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 directoryF: new TestEntryInfo( | 282 directoryF: new TestEntryInfo( |
| 283 EntryType.DIRECTORY, null, 'D/E/F', | 283 EntryType.DIRECTORY, null, 'D/E/F', |
| 284 null, SharedOption.NONE, 'Jan 1, 2000, 1:00 AM', | 284 null, SharedOption.NONE, 'Jan 1, 2000, 1:00 AM', |
| 285 'F', '--', 'Folder'), | 285 'F', '--', 'Folder'), |
| 286 | 286 |
| 287 zipArchive: new TestEntryInfo( | 287 zipArchive: new TestEntryInfo( |
| 288 EntryType.FILE, 'archive.zip', 'archive.zip', | 288 EntryType.FILE, 'archive.zip', 'archive.zip', |
| 289 'application/x-zip', SharedOption.NONE, 'Jan 1, 2014, 1:00 AM', | 289 'application/x-zip', SharedOption.NONE, 'Jan 1, 2014, 1:00 AM', |
| 290 'archive.zip', '533 bytes', 'Zip archive') | 290 'archive.zip', '533 bytes', 'Zip archive') |
| 291 }; | 291 }; |
| OLD | NEW |