Go to the source code of this file.
Functions | |
Components utils | import ("resource://gre/modules/XPCOMUtils.jsm") |
Test the media core listener. More... | |
function | testListener () |
function | createEventTarget () |
function | createEvent (type, error, data) |
function | runTest () |
Advanced DataRemote unit tests. More... | |
function | testSimpleListener (async) |
Variables | |
testListener | prototype |
var | eventTarget = null |
var | listener = null |
function createEvent | ( | type, | |
error, | |||
data | |||
) |
Definition at line 78 of file test_BaseMediacoreEventTarget.js.
function createEventTarget | ( | ) |
Definition at line 73 of file test_BaseMediacoreEventTarget.js.
Components utils import | ( | "resource://gre/modules/XPCOMUtils.jsm" | ) |
Test the media core listener.
function runTest | ( | ) |
Advanced DataRemote unit tests.
Tests single thread synchronous and asynchronous events
Definition at line 87 of file test_BaseMediacoreEventTarget.js.
function testListener | ( | ) |
Definition at line 36 of file test_BaseMediacoreEventTarget.js.
function testSimpleListener | ( | async | ) |
Definition at line 104 of file test_BaseMediacoreEventTarget.js.
var eventTarget = null |
Definition at line 101 of file test_BaseMediacoreEventTarget.js.
var listener = null |
Definition at line 102 of file test_BaseMediacoreEventTarget.js.
testListener prototype |
Definition at line 42 of file test_BaseMediacoreEventTarget.js.