head_localdatabaselibrary.js File Reference

Go to the source code of this file.

Functions

function StringArrayEnumerator (aArray)
 
function SimpleArrayEnumerator (aArray)
 
function makeArray (library)
 
function assertSort (array, dataFile)
 
function assertArray (array, dataFile)
 
function assertList (list, data)
 
function TestMediaListListener ()
 

Variables

var SB_NS = "http://songbirdnest.com/data/1.0#"
 Some globally useful stuff for the local database library tests. More...
 
StringArrayEnumerator prototype hasMore
 
SimpleArrayEnumerator prototype hasMoreElements
 

Function Documentation

function assertArray (   array,
  dataFile 
)

Definition at line 98 of file head_localdatabaselibrary.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertList (   list,
  data 
)

Definition at line 115 of file head_localdatabaselibrary.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertSort (   array,
  dataFile 
)

Definition at line 80 of file head_localdatabaselibrary.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function makeArray (   library)

Definition at line 71 of file head_localdatabaselibrary.js.

function SimpleArrayEnumerator (   aArray)

Definition at line 51 of file head_localdatabaselibrary.js.

Here is the caller graph for this function:

function StringArrayEnumerator (   aArray)

Definition at line 31 of file head_localdatabaselibrary.js.

Here is the caller graph for this function:

function TestMediaListListener ( )

Definition at line 143 of file head_localdatabaselibrary.js.

Here is the caller graph for this function:

Variable Documentation

Initial value:
= function() {
return this._current < this._array.length;
}
StringArrayEnumerator.prototype.getNext = function() {
return this._array[this._current++];
}
StringArrayEnumerator.prototype.QueryInterface = function(iid) {
if (!iid.equals(Components.interfaces.nsIStringEnumerator) &&
!iid.equals(Components.interfaces.nsISupports))
throw Components.results.NS_ERROR_NO_INTERFACE;
return this;
}
function StringArrayEnumerator(aArray)

Definition at line 36 of file head_localdatabaselibrary.js.

Initial value:
= function() {
return this._current < this._array.length;
}
SimpleArrayEnumerator.prototype.getNext = function() {
return this._array[this._current++];
}
SimpleArrayEnumerator.prototype.QueryInterface = function(iid) {
if (!iid.equals(Components.interfaces.nsISimpleEnumerator) &&
!iid.equals(Components.interfaces.nsISupports))
throw Components.results.NS_ERROR_NO_INTERFACE;
return this;
}
function SimpleArrayEnumerator(aArray)

Definition at line 56 of file head_localdatabaselibrary.js.

var SB_NS = "http://songbirdnest.com/data/1.0#"

Some globally useful stuff for the local database library tests.

Definition at line 29 of file head_localdatabaselibrary.js.