test_metadatajob_writing.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 startMetadataJob (items, type, writeProperties)
 

Variables

var gTestFileLocation = "testharness/metadatamanager/files/"
 Test creation and execution of metadata writing jobs. More...
 
var gSupportedFileExtensions
 

Function Documentation

function getMediaFilesInFolder (   folder)

Get an array of all media files below the given folder

Definition at line 258 of file test_metadatajob_writing.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 290 of file test_metadatajob_writing.js.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

function startMetadataJob (   items,
  type,
  writeProperties 
)

Get a metadata job for the given items

Definition at line 304 of file test_metadatajob_writing.js.

Here is the caller graph for this function:

Variable Documentation

var gSupportedFileExtensions
Initial value:
= [
"mp3", "mov", "m4p", "ogm", "ogx", "tta", "wv",
"ogg", "flac", "mpc"
]

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.