Go to the source code of this file.
Functions | |
function | retries (aHandlers) |
function | runTest () |
Advanced DataRemote unit tests. More... | |
function | importFilesToLibrary (files, library) |
function | startMetadataJob (items, type, writeProperties) |
Variables | |
var | gTestFileLocation = "testharness/metadatamanager/errorcases/" |
Test error handling in metadata jobs. More... | |
var | gErrorExpected = 0 |
var | gRetriesExpected = 0 |
function importFilesToLibrary | ( | files, | |
library | |||
) |
Add files to a library, returning media items
Definition at line 381 of file test_metadatajob_errorcases.js.
function retries | ( | aHandlers | ) |
Calculate how many retries are expected for a given set of metadata handlers
aHandlers | an array of handlers expected |
Definition at line 42 of file test_metadatajob_errorcases.js.
function runTest | ( | ) |
Advanced DataRemote unit tests.
Confirm that Songbird doesn't crash or damage files when metadata jobs fail
Definition at line 62 of file test_metadatajob_errorcases.js.
function startMetadataJob | ( | items, | |
type, | |||
writeProperties | |||
) |
Get a metadata job for the given items
Definition at line 396 of file test_metadatajob_errorcases.js.
var gErrorExpected = 0 |
Definition at line 33 of file test_metadatajob_errorcases.js.
var gRetriesExpected = 0 |
Definition at line 35 of file test_metadatajob_errorcases.js.
var gTestFileLocation = "testharness/metadatamanager/errorcases/" |
Test error handling in metadata jobs.
Definition at line 30 of file test_metadatajob_errorcases.js.