Author: ygrego Date: 2015-04-08 07:37:09 +0000 (Wed, 08 Apr 2015) New Revision: 1098 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1098 Log: Addition of method "addTransitionWithError". Modified: oipf/js/test/SearchManagerTest.js Modified: oipf/js/test/SearchManagerTest.js =================================================================== --- oipf/js/test/SearchManagerTest.js 2015-04-07 22:22:29 UTC (rev 1097) +++ oipf/js/test/SearchManagerTest.js 2015-04-08 07:37:09 UTC (rev 1098) @@ -60,6 +60,15 @@ this.addTransitionWithError(begin, end, null, callback); }, + addTransitionWithError: function(begin, end, error, callback) { + this.transitions.push({ + begin: begin, + end: end, + error: error, + callback: callback + }); + }, + afterTest: function(resolve, reject) { this.vidBroadObj.removeEventListener("PlayStateChange", this.onPlayStateChange); },
participants (1)
-
ygregoï¼ users.nuiton.org