head_metadatamanager.js File Reference

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 Documentation

function assertObjectIsSubsetOf (   mapA,
  mapB 
)

Assert that all key/value pairs in mapA exist in mapB

Definition at line 100 of file head_metadatamanager.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function createNewLibrary (   databaseGuid,
  databaseLocation 
)

Definition at line 37 of file head_metadatamanager.js.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

function getPlatform ( )

Definition at line 74 of file head_metadatamanager.js.

Here is the caller graph for this function:

function getTempFolder ( )

Definition at line 157 of file head_metadatamanager.js.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

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.