test_audio_processing.js File Reference

Go to the source code of this file.

Functions

Components utils import ("resource://gre/modules/XPCOMUtils.jsm")
 Test that the audio processing API acts as expected on some short sample files. More...
 
 if (typeof(Cc)=="undefined") this.Cc
 
function checkFormat (listener, processor, test, eventDetails)
 
function pauseTest (listener, processor, test, eventDetails)
 
function startAgain (listener, processor, test, eventDetails)
 
function stopProcessing (listener, processor, test, eventDetails)
 
function pauseMomentarily (listener, processor, test, unused)
 
function runAudioProcessingTest (library, test)
 
function runTest ()
 Advanced DataRemote unit tests. More...
 

Variables

var TEST_FILES = newAppRelativeFile("testharness/gstreamer/files")
 
const K_TEST_CASES
 

Function Documentation

function checkFormat (   listener,
  processor,
  test,
  eventDetails 
)

Definition at line 40 of file test_audio_processing.js.

Here is the call graph for this function:

if ( typeof(Cc = ="undefined")

Debug Wrapper. Subclasses and replaces DateRemote to keep track of how many dataremotes are alive, and for which keys.

Enable DEBUG_DATAREMOTES to track down leaks.

Definition at line 524 of file sbDataRemote.js.

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

Test that the audio processing API acts as expected on some short sample files.

function pauseMomentarily (   listener,
  processor,
  test,
  unused 
)

Definition at line 100 of file test_audio_processing.js.

Here is the call graph for this function:

function pauseTest (   listener,
  processor,
  test,
  eventDetails 
)

Definition at line 65 of file test_audio_processing.js.

Here is the call graph for this function:

function runAudioProcessingTest (   library,
  test 
)

Definition at line 290 of file test_audio_processing.js.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 396 of file test_audio_processing.js.

Here is the call graph for this function:

function startAgain (   listener,
  processor,
  test,
  eventDetails 
)

Definition at line 81 of file test_audio_processing.js.

Here is the call graph for this function:

function stopProcessing (   listener,
  processor,
  test,
  eventDetails 
)

Definition at line 94 of file test_audio_processing.js.

Variable Documentation

const K_TEST_CASES

Definition at line 109 of file test_audio_processing.js.

var TEST_FILES = newAppRelativeFile("testharness/gstreamer/files")

Definition at line 38 of file test_audio_processing.js.