35 .getService(Components.interfaces.sbIMetadataManager);
45 var itemsRead = handler.read();
51 var expectedProperties = {};
52 expectedProperties[SBProperties.artistName] =
"Songbird";
53 expectedProperties[SBProperties.albumName] =
"Unit Test Classics";
54 expectedProperties[SBProperties.trackName] =
"Sample";
60 handler.props.clear();
61 var newProperties = {};
62 newProperties[SBProperties.albumName] =
"New Album";
63 newProperties[SBProperties.artistName] =
"New Artist";
64 newProperties[SBProperties.trackName] =
"New Track";
65 newProperties[SBProperties.year] =
"2008";
66 newProperties[SBProperties.trackNumber] =
"13";
67 SBProperties.addToArray(newProperties, handler.props);
function newAppRelativeFile(path)
function assertNotEqual(aExpected, aActual, aMessage)
function assertEqual(aExpected, aActual, aMessage)
function newFileURI(file)