Author: ygrego Date: 2015-06-11 13:08:57 +0000 (Thu, 11 Jun 2015) New Revision: 1699 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1699 Log: Permit the redefinition of VideoBroadcastObject class. Modified: oipf/test/js/VideoBroadcastTest.js Modified: oipf/test/js/VideoBroadcastTest.js =================================================================== --- oipf/test/js/VideoBroadcastTest.js 2015-06-11 08:08:44 UTC (rev 1698) +++ oipf/test/js/VideoBroadcastTest.js 2015-06-11 13:08:57 UTC (rev 1699) @@ -3,8 +3,9 @@ * This class gather a set of method necessary to test a video broadcast object. * */ -class VideoBroadcastTest extends TestCase { +var VideoBroadcastTest = class extends TestCase { + constructor() { super(); this.channel = null; @@ -196,7 +197,11 @@ self.vidBroadObj.bindToCurrentChannel(); }); - this.addTransitionWithError(this.STOPPED, this.STOPPED, 0, resolve); + this.addTransitionWithError(this.STOPPED, this.STOPPED, 0, function() { + self.vidBroadObj._channelService.setCurrentChannel("ARTE"); + console.log("CurrentChannel", self.vidBroadObj.getChannelConfig().currentChannel.name); + resolve(); + }); this.vidBroadObj.bindToCurrentChannel(); } @@ -815,4 +820,5 @@ } -} +}; +