Author: ygrego Date: 2015-06-11 08:05:14 +0000 (Thu, 11 Jun 2015) New Revision: 1697 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1697 Log: The current channel was always undefined. Modified: oipf/test/js/VideoBroadcastTest.js Modified: oipf/test/js/VideoBroadcastTest.js =================================================================== --- oipf/test/js/VideoBroadcastTest.js 2015-06-11 07:37:03 UTC (rev 1696) +++ oipf/test/js/VideoBroadcastTest.js 2015-06-11 08:05:14 UTC (rev 1697) @@ -92,10 +92,14 @@ * @returns {undefined} */ testBindToCurrentChannelWhenNoChannelPresentation(resolve, reject) { + var self = this; //Subject to modification not rigth way failed on the tv plateform. this.vidBroadObj._channelService.currentChannel = null; - this.addTransitionWithError(this.UNREALIZED, this.UNREALIZED, 100, resolve); + this.addTransitionWithError(this.UNREALIZED, this.UNREALIZED, 100, function() { + self.vidBroadObj._channelService.setCurrentChannel("ARTE"); + resolve(); + }); this.vidBroadObj.bindToCurrentChannel(); }
participants (1)
-
ygregoï¼ users.nuiton.org