Go to the source code of this file.
Functions | |
Components utils | import ("resource://gre/modules/XPCOMUtils.jsm") |
AddOn Panes Unit Test File. More... | |
if (typeof(Cc)=="undefined") this.Cc | |
function | runTest () |
Advanced DataRemote unit tests. More... | |
function | testDisplayPanesService () |
function | testContent (url, matchurl, matchtitle, matchicon, matchwidth, matchheight, matchgroup) |
function | testInfo (info, matchurl, matchtitle, matchicon, matchwidth, matchheight, matchgroup) |
function | assertEquals (s1, s2, msgprefix) |
function | assertBool (boolval, msg) |
function | assertValue (value, expected, msg) |
function | makeInstantiator (groupid) |
Variables | |
var | loaded = null |
var | group = null |
var | paneMgr = null |
function assertBool | ( | boolval, | |
msg | |||
) |
Definition at line 265 of file test_displaypanes.js.
function assertEquals | ( | s1, | |
s2, | |||
msgprefix | |||
) |
Definition at line 259 of file test_displaypanes.js.
function assertValue | ( | value, | |
expected, | |||
msg | |||
) |
if | ( | typeof(Cc) | = ="undefined" | ) |
Debug Wrapper. Subclasses and replaces DateRemote to keep track of how many dataremotes are alive, and for which keys.
Definition at line 524 of file sbDataRemote.js.
Components utils import | ( | "resource://gre/modules/XPCOMUtils.jsm" | ) |
AddOn Panes Unit Test File.
function makeInstantiator | ( | groupid | ) |
Definition at line 277 of file test_displaypanes.js.
function runTest | ( | ) |
Advanced DataRemote unit tests.
Minimal sanity check for the AddonMetadata Datasource. Assumes that coppery will be installed.
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 Initial file to test testharness architecture. Ultimately this file would hold more advanced unit tests.
Advanced DataRemote unit tests.
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
Advanced DataRemote unit tests.
Definition at line 40 of file test_displaypanes.js.
function testContent | ( | url, | |
matchurl, | |||
matchtitle, | |||
matchicon, | |||
matchwidth, | |||
matchheight, | |||
matchgroup | |||
) |
Definition at line 245 of file test_displaypanes.js.
function testDisplayPanesService | ( | ) |
Definition at line 52 of file test_displaypanes.js.
function testInfo | ( | info, | |
matchurl, | |||
matchtitle, | |||
matchicon, | |||
matchwidth, | |||
matchheight, | |||
matchgroup | |||
) |
Definition at line 250 of file test_displaypanes.js.
var group = null |
Definition at line 37 of file test_displaypanes.js.
var loaded = null |
Definition at line 36 of file test_displaypanes.js.
var paneMgr = null |
Definition at line 38 of file test_displaypanes.js.