Go to the source code of this file.
Functions | |
Components utils | import ("resource://app/jsmodules/sbProperties.jsm") |
Some globally useful stuff for the local database library tests. More... | |
function | createNewLibrary (databaseGuid, databaseLocation) |
function | getPlatform () |
function | assertObjectIsSubsetOf (mapA, mapB) |
function | reportJobProgress (job, jobName) |
function | getCopyOfFolder (folder, tempName) |
function | getCopyOfFile (file, tempName, optionalLocation) |
function | getTempFolder () |
function | removeTempFolder () |
Variables | |
var | gFilesToClose = [] |
var | gTailCallback = [] |
var | gTempFolder = null |
function assertObjectIsSubsetOf | ( | mapA, | |
mapB | |||
) |
Assert that all key/value pairs in mapA exist in mapB
Definition at line 100 of file head_metadatamanager.js.
function createNewLibrary | ( | databaseGuid, | |
databaseLocation | |||
) |
Definition at line 37 of file head_metadatamanager.js.
function getCopyOfFile | ( | file, | |
tempName, | |||
optionalLocation | |||
) |
Copy the given folder to tempName, returning an nsIFile for the new location
Definition at line 142 of file head_metadatamanager.js.
function getCopyOfFolder | ( | folder, | |
tempName | |||
) |
Copy the given folder to tempName, returning an nsIFile for the new location
Definition at line 127 of file head_metadatamanager.js.
function getPlatform | ( | ) |
function getTempFolder | ( | ) |
Components utils import | ( | "resource://app/jsmodules/sbProperties.jsm" | ) |
Some globally useful stuff for the local database library tests.
function removeTempFolder | ( | ) |
Get rid of the temp folder created by getTempFolder. Called in tail_metadatamanager.js
Definition at line 174 of file head_metadatamanager.js.
function reportJobProgress | ( | job, | |
jobName | |||
) |
Dump information for an sbIJobProgress interface. Used for debugging.
Definition at line 111 of file head_metadatamanager.js.
var gFilesToClose = [] |
Definition at line 34 of file head_metadatamanager.js.
var gTailCallback = [] |
Definition at line 35 of file head_metadatamanager.js.
var gTempFolder = null |
Get a temporary folder for use in metadata tests. Will be removed in tail_metadatamanager.js
Definition at line 156 of file head_metadatamanager.js.