29 var gst =
Cc[
"@songbirdnest.com/Songbird/Mediacore/GStreamer/Service;1"]
30 .getService(
Ci.sbIGStreamerService);
35 beginInspect:
function() {
37 endInspect:
function() {
39 beginPluginInfo:
function(
aName, aDescription, aFilename, aVersion, aLicense, aSource, aPackage, aOrigin) {
42 endPluginInfo:
function() {
44 beginFactoryInfo:
function(aLongName, aClass, aDescription, aAuthor, aRankName, aRank) {
46 endFactoryInfo:
function() {
48 beginPadTemplateInfo:
function(
aName, aDirection, aPresence, aCodecDescription) {
50 endPadTemplateInfo:
function() {
56 log(list.length +
" plugins found");
60 assertContains(list, [
"staticelements",
"ogg",
"vorbis",
"mozilla"]);
73 log(
"Unknown platform " + platform);
78 for (var
i = 0;
i < b.length;
i++) {
79 assertTrue(a.indexOf(b[
i]) >= 0,
"Plugin not found: " + b[
i]);
84 for (var
i = 0;
i < b.length;
i++) {
85 assertFalse(a.indexOf(b[
i]) >= 0,
"Plugin unexpectedly found: "+b[
i]);
function assertContains(a, b)
function assertDoesNotContain(a, b)
function assertTrue(aTest, aMessage)
function assertFalse(aTest, aMessage)
function runTest()
Advanced DataRemote unit tests.
_getSelectedPageStyle s i