sbTestHarness.js File Reference

Implementation of the interface sbITestHarness. More...

Go to the source code of this file.

Functions

function sbTestHarness ()
 
function NSGetModule (compMgr, fileSpec)
 

Variables

const Ci = Components.interfaces
 
const Cc = Components.classes
 
const Cr = Components.results
 
const SONGBIRD_TESTHARNESS_CONTRACTID = "@songbirdnest.com/Songbird/TestHarness;1"
 
const SONGBIRD_TESTHARNESS_CLASSNAME = "Songbird Unit Test Test-Harness"
 
const SONGBIRD_TESTHARNESS_CID = Components.ID("{fd541a71-0e71-48aa-9dd1-971df86d1e01}")
 
const SONGBIRD_TESTHARNESS_IID = Ci.sbITestHarness
 
const SONGBIRD_DEFAULT_DIR = "basetests"
 
const SONGBIRD_HEAD_FILE = "head_songbird.js"
 
const SONGBIRD_TAIL_FILE = "tail_songbird.js"
 
const NS_PREFSERVICE_CONTRACTID = "@mozilla.org/preferences-service;1"
 
const NS_SCRIPT_TIMEOUT_PREF = "dom.max_chrome_script_run_time"
 
const PREF_DOWNLOAD_FOLDER = "songbird.download.music.folder"
 
const PREF_DOWNLOAD_ALWAYSPROMPT = "songbird.download.music.alwaysPrompt"
 
sbTestHarness prototype
 
const sbTestHarnessModule
 

Detailed Description

Implementation of the interface sbITestHarness.

BEGIN SONGBIRD GPL

This file is part of the Songbird web player.

Copyright(c) 2005-2008 POTI, Inc. http://songbirdnest.com

This file may be licensed under the terms of of the GNU General Public License Version 2 (the "GPL").

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the GPL for the specific language governing rights and limitations.

You should have received a copy of the GPL along with this program. If not, go to http://www.gnu.org/licenses/gpl.html or write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

END SONGBIRD GPL

See Also
sbITestHarness.idl

Definition in file sbTestHarness.js.

Function Documentation

function NSGetModule (   compMgr,
  fileSpec 
)

Definition at line 490 of file sbTestHarness.js.

function sbTestHarness ( )

Definition at line 54 of file sbTestHarness.js.

Variable Documentation

const Cc = Components.classes

Definition at line 35 of file sbTestHarness.js.

Definition at line 34 of file sbTestHarness.js.

const Cr = Components.results

Definition at line 36 of file sbTestHarness.js.

const NS_PREFSERVICE_CONTRACTID = "@mozilla.org/preferences-service;1"

Definition at line 48 of file sbTestHarness.js.

const NS_SCRIPT_TIMEOUT_PREF = "dom.max_chrome_script_run_time"

Definition at line 49 of file sbTestHarness.js.

const PREF_DOWNLOAD_ALWAYSPROMPT = "songbird.download.music.alwaysPrompt"

Definition at line 52 of file sbTestHarness.js.

const PREF_DOWNLOAD_FOLDER = "songbird.download.music.folder"

Definition at line 51 of file sbTestHarness.js.

sbTestHarness prototype

Definition at line 56 of file sbTestHarness.js.

const sbTestHarnessModule

Registration for XPCOM

Definition at line 447 of file sbTestHarness.js.

const SONGBIRD_DEFAULT_DIR = "basetests"

Definition at line 44 of file sbTestHarness.js.

const SONGBIRD_HEAD_FILE = "head_songbird.js"

Definition at line 45 of file sbTestHarness.js.

const SONGBIRD_TAIL_FILE = "tail_songbird.js"

Definition at line 46 of file sbTestHarness.js.

const SONGBIRD_TESTHARNESS_CID = Components.ID("{fd541a71-0e71-48aa-9dd1-971df86d1e01}")

Definition at line 41 of file sbTestHarness.js.

const SONGBIRD_TESTHARNESS_CLASSNAME = "Songbird Unit Test Test-Harness"

Definition at line 40 of file sbTestHarness.js.

const SONGBIRD_TESTHARNESS_CONTRACTID = "@songbirdnest.com/Songbird/TestHarness;1"

Definition at line 39 of file sbTestHarness.js.

const SONGBIRD_TESTHARNESS_IID = Ci.sbITestHarness

Definition at line 42 of file sbTestHarness.js.