test_device_firmware_handler.js File Reference

Go to the source code of this file.

Functions

function getTempFolder ()
 
function getCopyOfFolder (folder, tempName)
 Copy the given folder to tempName, returning an nsIFile for the new location. More...
 
function runTest ()
 Device Firmware Tests. More...
 

Variables

var TEST_FILE_LOCATION = "testharness/devicefirmware/files/"
 
var PORT_NUMBER = getTestServerPortNumber()
 
var REMOTE_FILE_PREFIX = "http://localhost:" + PORT_NUMBER + "/files/"
 
var gTempFolder = null
 

Function Documentation

function getCopyOfFolder (   folder,
  tempName 
)

Copy the given folder to tempName, returning an nsIFile for the new location.

Definition at line 60 of file test_device_firmware_handler.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function getTempFolder ( )

Definition at line 43 of file test_device_firmware_handler.js.

Here is the caller graph for this function:

function runTest ( )

Device Firmware Tests.

Advanced DataRemote unit tests.

Definition at line 75 of file test_device_firmware_handler.js.

Here is the call graph for this function:

Variable Documentation

var gTempFolder = null

Get a temporary folder for use in metadata tests. Will be removed in tail_metadatamanager.js

Definition at line 42 of file test_device_firmware_handler.js.

var PORT_NUMBER = getTestServerPortNumber()

Definition at line 34 of file test_device_firmware_handler.js.

var REMOTE_FILE_PREFIX = "http://localhost:" + PORT_NUMBER + "/files/"

Definition at line 35 of file test_device_firmware_handler.js.

var TEST_FILE_LOCATION = "testharness/devicefirmware/files/"

Unit test constants

Definition at line 33 of file test_device_firmware_handler.js.