Go to the source code of this file.
Functions | |
function | runTest () |
Advanced DataRemote unit tests. More... | |
function | getMediaFilesInFolder (folder) |
function | importFilesToLibrary (files, library) |
function | startMetadataWriteJob (items) |
Variables | |
var | gTestFileLocation = "testharness/metadatamanager/files/" |
Test creation and execution of metadata writing jobs. More... | |
function getMediaFilesInFolder | ( | folder | ) |
Get an array of all media files below the given folder
Definition at line 83 of file test_metadatajob_pref.js.
function importFilesToLibrary | ( | files, | |
library | |||
) |
Add files to a library, returning media items
Definition at line 115 of file test_metadatajob_pref.js.
function runTest | ( | ) |
Advanced DataRemote unit tests.
Ensure metadata.enableWriting pref can prevent writing.
Definition at line 36 of file test_metadatajob_pref.js.
function startMetadataWriteJob | ( | items | ) |
Get a metadata job for the given items
Definition at line 129 of file test_metadatajob_pref.js.
var gTestFileLocation = "testharness/metadatamanager/files/" |
Test creation and execution of metadata writing jobs.
Definition at line 31 of file test_metadatajob_pref.js.