test_servicepane.js File Reference

Go to the source code of this file.

Functions

Components utils import ("resource://gre/modules/XPCOMUtils.jsm")
 Basic service pane unit tests. More...
 
function DBG (s)
 
function testAttributes (aNode)
 
function testTreeManipulation (SPS, aRoot)
 
function testNodeByAttribute (SPS, aRoot)
 
function testAddRemoveNode (SPS, aRoot)
 
function testModuleInteraction (SPS, aRoot)
 
function testListeners (SPS, aRoot)
 
function testContentPrefix (SPS, aRoot)
 
function runTest ()
 Advanced DataRemote unit tests. More...
 

Variables

var testModule
 

Function Documentation

function DBG (   s)

Definition at line 33 of file test_servicepane.js.

Here is the call graph for this function:

Here is the caller graph for this function:

Components utils import ( "resource://gre/modules/XPCOMUtils.jsm"  )

Basic service pane unit tests.

vim: ts=2 sw=2 expandtab ai

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

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.

Run the unit tests.

Tests single thread synchronous and asynchronous events

Confirm that Songbird doesn't crash or damage files when metadata jobs fail

Copy some media files into a temp directory, then confirm that metadata properties can be modified using a write job.

Ensure metadata.enableWriting pref can prevent writing.

Start by creating a library and doing a directory import of the metadata unit test files.

test the localizationKey attribute on sbIPropertyInfo on registered properties

Listener used to track the events

Listener used to track the events

Definition at line 1199 of file test_servicepane.js.

Here is the call graph for this function:

function testAddRemoveNode (   SPS,
  aRoot 
)

Definition at line 691 of file test_servicepane.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testAttributes (   aNode)

Definition at line 156 of file test_servicepane.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testContentPrefix (   SPS,
  aRoot 
)

Definition at line 1117 of file test_servicepane.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testListeners (   SPS,
  aRoot 
)

Definition at line 838 of file test_servicepane.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testModuleInteraction (   SPS,
  aRoot 
)

Definition at line 728 of file test_servicepane.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testNodeByAttribute (   SPS,
  aRoot 
)

Definition at line 525 of file test_servicepane.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testTreeManipulation (   SPS,
  aRoot 
)

Definition at line 332 of file test_servicepane.js.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

var testModule

Definition at line 35 of file test_servicepane.js.