Author: ygrego Date: 2015-04-03 07:53:41 +0000 (Fri, 03 Apr 2015) New Revision: 1063 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1063 Log: Addition of variable "videoBroadcastObject" and "currentChannel" and modification of argument in "findProgrammesFromStream", all these modifications have been done in method "testGetCurrentProgram". Modified: oipf/js/test/SearchManagerTest.js Modified: oipf/js/test/SearchManagerTest.js =================================================================== --- oipf/js/test/SearchManagerTest.js 2015-04-03 07:31:51 UTC (rev 1062) +++ oipf/js/test/SearchManagerTest.js 2015-04-03 07:53:41 UTC (rev 1063) @@ -22,11 +22,12 @@ testGetCurrentProgram: function (resolve, reject) { var stat = "Pending"; console.log("[TEST-RUNNING][Info] Label: Obtain current program according to oipf norm, State: " + stat); - + var videoBroadcastObject = oipfObjectFactory.createVideoBroadcastObject(); + var currentChannel = videoBroadcastObject.bindToCurrentChannel(); var searchTarget = 1; var metaDataSearch = this.searchManagerObj.createSearch(searchTarget); var startTime = null; - metaDataSearch.findProgrammesFromStream(oipfObjectFactory.createVideoBroadcastObject().currentChannel + metaDataSearch.findProgrammesFromStream(currentChannel , startTime); var offset = 0; var count = 1;
participants (1)
-
ygregoï¼ users.nuiton.org