test_playlistcommands.js File Reference

Go to the source code of this file.

Functions

function RegistrationInstruction (aMediaListOrLibrary, aTypeOrGUID, aServicePaneOrMenu, aRegisterString, aCommand)
 

Variables

const NUMRECURSE = 2
 Playlist Commands Unit Test File. More...
 
const TESTLENGTH = 500
 
const REGISTRATION_PARAM_COMBOS
 
var gCmdMgr
 
var gTestLibrary = null
 
var gPrimarySimpleList = null
 
var gSecondarySimpleList = null
 
var gSmartList = null
 

Function Documentation

function RegistrationInstruction (   aMediaListOrLibrary,
  aTypeOrGUID,
  aServicePaneOrMenu,
  aRegisterString,
  aCommand 
)

Definition at line 60 of file test_playlistcommands.js.

Variable Documentation

var gCmdMgr
Initial value:
=
Components.classes["@songbirdnest.com/Songbird/PlaylistCommandsManager;1"]
.createInstance(Components.interfaces.sbIPlaylistCommandsManager)

Definition at line 48 of file test_playlistcommands.js.

var gPrimarySimpleList = null

Definition at line 53 of file test_playlistcommands.js.

var gSecondarySimpleList = null

Definition at line 54 of file test_playlistcommands.js.

var gSmartList = null

Definition at line 55 of file test_playlistcommands.js.

var gTestLibrary = null

Definition at line 52 of file test_playlistcommands.js.

const NUMRECURSE = 2

Playlist Commands Unit Test File.

Definition at line 33 of file test_playlistcommands.js.

const REGISTRATION_PARAM_COMBOS
Initial value:
= [
["medialist", "guid", "servicepane"],
["medialist", "guid", "menu"],
["medialist", "type", "servicepane"],
["medialist", "type", "menu"],
["library", "guid", "servicepane"],
["library", "guid", "menu"]
]
const PlaylistCommandsBuilder = new Components.
Constructor("@songbirdnest.com/Songbird/PlaylistCommandsBuilder;1",
"sbIPlaylistCommandsBuilder", "init")
const PlaylistCommandsBuilder

Definition at line 35 of file test_playlistcommands.js.

const TESTLENGTH = 500

Definition at line 34 of file test_playlistcommands.js.