32 var enumerator = libraryManager.getLibraries();
36 while (enumerator.hasMoreElements()) {
37 let library = enumerator.getNext();
38 let propBag = library.creationParameters;
39 let dbFile = propBag.getPropertyAsInterface(
"databaseFile",
Ci.nsIFile);
41 fileNames[libraryCount] = dbFile.leafName;
46 assertTrue(fileNames.indexOf(
"main@library.songbirdnest.com.db") != -1);
47 assertTrue(fileNames.indexOf(
"web@library.songbirdnest.com.db") != -1);
48 assertTrue(fileNames.indexOf(
"playqueue@library.songbirdnest.com.db") != -1);
50 enumerator = libraryManager.getLibraries();
51 var library = enumerator.getNext();
function assertTrue(aTest, aMessage)
getService(Ci.sbIFaceplateManager)
function runTest()
Test file.