Go to the source code of this file.
Functions | |
| function | runTest () |
| Advanced DataRemote unit tests. More... | |
| function | getMediaFilesInFolder (folder) |
| function | importFilesToLibrary (files, library) |
| function | startMetadataJob (items, type, writeProperties) |
Variables | |
| var | gTestFileLocation = "testharness/metadatamanager/files/" |
| Test creation and execution of metadata writing jobs. More... | |
| var | gSupportedFileExtensions |
| function getMediaFilesInFolder | ( | folder | ) |
Get an array of all media files below the given folder
Definition at line 258 of file test_metadatajob_writing.js.
| function importFilesToLibrary | ( | files, | |
| library | |||
| ) |
Add files to a library, returning media items
Definition at line 290 of file test_metadatajob_writing.js.
| function runTest | ( | ) |
Advanced DataRemote unit tests.
Copy some media files into a temp directory, then confirm that metadata properties can be modified using a write job.
Definition at line 53 of file test_metadatajob_writing.js.
| function startMetadataJob | ( | items, | |
| type, | |||
| writeProperties | |||
| ) |
Get a metadata job for the given items
Definition at line 304 of file test_metadatajob_writing.js.
| var gSupportedFileExtensions |
Definition at line 34 of file test_metadatajob_writing.js.
| var gTestFileLocation = "testharness/metadatamanager/files/" |
Test creation and execution of metadata writing jobs.
Definition at line 31 of file test_metadatajob_writing.js.