Go to the source code of this file.
Functions | |
| Components utils | import ("resource://gre/modules/XPCOMUtils.jsm") |
| function | testAppendInsertRemove (aCommand, aMenuID, aTestLength, aNumSubCommands) |
| function | testAppendActions (aCommand, aMenuID, aTestLength, aNumSubCommands) |
| function | testRemoveSubobjects (aCommand, aMenuID, aTestLength, aNumSubCommands) |
| function | testInsertActions (aCommand, aMenuID, aTestLength, aNumSubCommands) |
| function | testAppendAndInsertAllTypes (aCommand, aMenuID, aTestLength, aNumSubCommands) |
| function | ExecuteInstructions (aCommand, aInstructions, aMenuID) |
| function | completeFunctionName (aType, aFunctionName) |
| function | addChoiceMenuItems (aCommand, aChoiceMenuId, aCheckObject) |
| function | testCommandCallbacksAndShortcuts (aCommand, aMenuID, aTestLength, aNumSubCommands) |
| function | testInitShutdownCB (aCommand) |
| function | testCommandVisibleAndEnabled (aCommand, aMenuID, aTestLength, aNumSubCommands) |
| function | testCommandShortcut (aCommand, aMenuID, aTestLength, aNumSubCommands) |
| function | testTriggerActions (aCommand, aMenuID, aTestLength, aNumSubCommands) |
| function | testSubmenus (aCommand, aMenuID, aTestLength, aNumSubCommands) |
| function | makeTriggerCallback (aActionID) |
| function | makeValueCallback (aActionID, aCallbackval) |
| function | makeValueSetter (aActionID) |
| function | makeInstantiationCallback (aActionID) |
| function | makeRefreshCallback (aActionID) |
| function | assertLog (aCommandObject) |
| function | assertType (aCommandObject, aCheckObject, aIndex) |
| function | assertId (aCommandObject, aCheckObject, aIndex) |
| function | assertLabel (aCommandObject, aCheckObject, aIndex) |
| function | assertTooltip (aCommandObject, aCheckObject, aIndex) |
| function | assertUICallbacks (aCommandObject, aCheckObject, aIndex) |
| function | assertShortcuts (aCommandObject, aCheckObject, aIndex) |
| function | assertValueCallback (aCommandObject, aCheckObject, aIndex) |
| function | assertValueSetter (aCommandObject, aCheckObject, aIndex) |
| function | assertChoiceMenuItems (aCommandObject, aCheckObject, aIndex) |
| function | assertSubActions (aCommandObject, aCheckObject, aIndex) |
| function | assertTriggerCallback (aCommandObject, aCheckObject, aIndex) |
| function | assertInstantiate (aCommandObject, aCheckObject, aIndex) |
| function | assertRefresh (aCommandObject, aCheckObject, aIndex) |
| function | assertNumCommands (aCmds, aMenuID, aNum) |
| function | _log (aMsg, aMenuID) |
| function | setLog (aMenuID) |
| function | getCommandData (type) |
Variables | |
| var | gTestPrefix = "PlaylistCommandsBuilder" |
| var | gTriggered = false |
| var | gRefreshed = false |
| var | gValueChecker = null |
| var | gIDCounter = 0 |
| var | dummyNode |
| var | dummyDocument |
| var | FLAG |
| var | gRootLog = new Array() |
| var | gActiveCommandLog = gRootLog |
| function _log | ( | aMsg, | |
| aMenuID | |||
| ) |
Definition at line 1535 of file head_playlistcommands.js.
| function addChoiceMenuItems | ( | aCommand, | |
| aChoiceMenuId, | |||
| aCheckObject | |||
| ) |
Definition at line 755 of file head_playlistcommands.js.
| function assertChoiceMenuItems | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1417 of file head_playlistcommands.js.
| function assertId | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1260 of file head_playlistcommands.js.
| function assertInstantiate | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1490 of file head_playlistcommands.js.
| function assertLabel | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1275 of file head_playlistcommands.js.
| function assertLog | ( | aCommandObject | ) |
Definition at line 1158 of file head_playlistcommands.js.
| function assertNumCommands | ( | aCmds, | |
| aMenuID, | |||
| aNum | |||
| ) |
Definition at line 1520 of file head_playlistcommands.js.
| function assertRefresh | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1506 of file head_playlistcommands.js.
| function assertShortcuts | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1341 of file head_playlistcommands.js.
| function assertSubActions | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1444 of file head_playlistcommands.js.
| function assertTooltip | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1292 of file head_playlistcommands.js.
| function assertTriggerCallback | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1473 of file head_playlistcommands.js.
| function assertType | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1244 of file head_playlistcommands.js.
| function assertUICallbacks | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1314 of file head_playlistcommands.js.
| function assertValueCallback | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1382 of file head_playlistcommands.js.
| function assertValueSetter | ( | aCommandObject, | |
| aCheckObject, | |||
| aIndex | |||
| ) |
Definition at line 1402 of file head_playlistcommands.js.
| function completeFunctionName | ( | aType, | |
| aFunctionName | |||
| ) |
Definition at line 719 of file head_playlistcommands.js.
| function ExecuteInstructions | ( | aCommand, | |
| aInstructions, | |||
| aMenuID | |||
| ) |
Definition at line 550 of file head_playlistcommands.js.
| function getCommandData | ( | type | ) |
Definition at line 1569 of file head_playlistcommands.js.
| Components utils import | ( | "resource://gre/modules/XPCOMUtils.jsm" | ) |
| function makeInstantiationCallback | ( | aActionID | ) |
Definition at line 1120 of file head_playlistcommands.js.
| function makeRefreshCallback | ( | aActionID | ) |
Definition at line 1135 of file head_playlistcommands.js.
| function makeTriggerCallback | ( | aActionID | ) |
Definition at line 1081 of file head_playlistcommands.js.
| function makeValueCallback | ( | aActionID, | |
| aCallbackval | |||
| ) |
Definition at line 1094 of file head_playlistcommands.js.
| function makeValueSetter | ( | aActionID | ) |
Definition at line 1107 of file head_playlistcommands.js.
| function setLog | ( | aMenuID | ) |
Definition at line 1545 of file head_playlistcommands.js.
| function testAppendActions | ( | aCommand, | |
| aMenuID, | |||
| aTestLength, | |||
| aNumSubCommands | |||
| ) |
Definition at line 222 of file head_playlistcommands.js.
| function testAppendAndInsertAllTypes | ( | aCommand, | |
| aMenuID, | |||
| aTestLength, | |||
| aNumSubCommands | |||
| ) |
Definition at line 419 of file head_playlistcommands.js.
| function testAppendInsertRemove | ( | aCommand, | |
| aMenuID, | |||
| aTestLength, | |||
| aNumSubCommands | |||
| ) |
Definition at line 114 of file head_playlistcommands.js.
| function testCommandCallbacksAndShortcuts | ( | aCommand, | |
| aMenuID, | |||
| aTestLength, | |||
| aNumSubCommands | |||
| ) |
Definition at line 793 of file head_playlistcommands.js.
| function testCommandShortcut | ( | aCommand, | |
| aMenuID, | |||
| aTestLength, | |||
| aNumSubCommands | |||
| ) |
Definition at line 936 of file head_playlistcommands.js.
| function testCommandVisibleAndEnabled | ( | aCommand, | |
| aMenuID, | |||
| aTestLength, | |||
| aNumSubCommands | |||
| ) |
Definition at line 904 of file head_playlistcommands.js.
| function testInitShutdownCB | ( | aCommand | ) |
Definition at line 846 of file head_playlistcommands.js.
| function testInsertActions | ( | aCommand, | |
| aMenuID, | |||
| aTestLength, | |||
| aNumSubCommands | |||
| ) |
Definition at line 356 of file head_playlistcommands.js.
| function testRemoveSubobjects | ( | aCommand, | |
| aMenuID, | |||
| aTestLength, | |||
| aNumSubCommands | |||
| ) |
Definition at line 283 of file head_playlistcommands.js.
| function testSubmenus | ( | aCommand, | |
| aMenuID, | |||
| aTestLength, | |||
| aNumSubCommands | |||
| ) |
Definition at line 983 of file head_playlistcommands.js.
| function testTriggerActions | ( | aCommand, | |
| aMenuID, | |||
| aTestLength, | |||
| aNumSubCommands | |||
| ) |
Definition at line 964 of file head_playlistcommands.js.
| var dummyDocument |
Definition at line 43 of file head_playlistcommands.js.
| var dummyNode |
Definition at line 40 of file head_playlistcommands.js.
| var FLAG |
Definition at line 49 of file head_playlistcommands.js.
| var gActiveCommandLog = gRootLog |
Definition at line 86 of file head_playlistcommands.js.
| var gIDCounter = 0 |
Definition at line 37 of file head_playlistcommands.js.
| var gRefreshed = false |
Definition at line 32 of file head_playlistcommands.js.
| var gRootLog = new Array() |
Definition at line 76 of file head_playlistcommands.js.
| var gTestPrefix = "PlaylistCommandsBuilder" |
Definition at line 28 of file head_playlistcommands.js.
| var gTriggered = false |
Definition at line 31 of file head_playlistcommands.js.
| var gValueChecker = null |
Definition at line 33 of file head_playlistcommands.js.