test_metadatajob_pref.js File Reference

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 Documentation

function getMediaFilesInFolder (   folder)

Get an array of all media files below the given folder

Definition at line 83 of file test_metadatajob_pref.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function importFilesToLibrary (   files,
  library 
)

Add files to a library, returning media items

Definition at line 115 of file test_metadatajob_pref.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function runTest ( )

Advanced DataRemote unit tests.

Ensure metadata.enableWriting pref can prevent writing.

Definition at line 36 of file test_metadatajob_pref.js.

Here is the call graph for this function:

function startMetadataWriteJob (   items)

Get a metadata job for the given items

Definition at line 129 of file test_metadatajob_pref.js.

Here is the caller graph for this function:

Variable Documentation

var gTestFileLocation = "testharness/metadatamanager/files/"

Test creation and execution of metadata writing jobs.

Definition at line 31 of file test_metadatajob_pref.js.