test_remotemedialist_add2.js File Reference

Go to the source code of this file.

Functions

function runTest ()
 Advanced DataRemote unit tests. More...
 
function startTesting ()
 

Variables

var gWebLib
 Test file. More...
 
var gWebItem1
 
var gWebItem2
 
var gWebItem3
 
var gWebItem4
 
var gWebItemGUID1
 
var gWebItemGUID2
 
var gWebItemGUID3
 
var gWebItemGUID4
 
var gLibraryManager
 
var foobar
 
var gServerPort = getTestServerPortNumber()
 
var gPrefix = "http://localhost:" + gServerPort + "/"
 

Function Documentation

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 45 of file test_remotemedialist_add2.js.

Here is the call graph for this function:

function startTesting ( )

Definition at line 83 of file test_remotemedialist_add2.js.

Here is the caller graph for this function:

Variable Documentation

var foobar

Definition at line 41 of file test_remotemedialist_add2.js.

var gLibraryManager

Definition at line 40 of file test_remotemedialist_add2.js.

var gPrefix = "http://localhost:" + gServerPort + "/"

Definition at line 43 of file test_remotemedialist_add2.js.

var gServerPort = getTestServerPortNumber()

Definition at line 42 of file test_remotemedialist_add2.js.

var gWebItem1

Definition at line 32 of file test_remotemedialist_add2.js.

var gWebItem2

Definition at line 33 of file test_remotemedialist_add2.js.

var gWebItem3

Definition at line 34 of file test_remotemedialist_add2.js.

var gWebItem4

Definition at line 35 of file test_remotemedialist_add2.js.

var gWebItemGUID1

Definition at line 36 of file test_remotemedialist_add2.js.

var gWebItemGUID2

Definition at line 37 of file test_remotemedialist_add2.js.

var gWebItemGUID3

Definition at line 38 of file test_remotemedialist_add2.js.

var gWebItemGUID4

Definition at line 39 of file test_remotemedialist_add2.js.

var gWebLib

Test file.

Definition at line 31 of file test_remotemedialist_add2.js.