Author: ygrego Date: 2015-05-18 10:32:35 +0000 (Mon, 18 May 2015) New Revision: 1357 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1357 Log: Addition of the class "ParentalControlManagerTest". Added: oipf/js/test/ParentalControlManagerTest.js Added: oipf/js/test/ParentalControlManagerTest.js =================================================================== --- oipf/js/test/ParentalControlManagerTest.js (rev 0) +++ oipf/js/test/ParentalControlManagerTest.js 2015-05-18 10:32:35 UTC (rev 1357) @@ -0,0 +1,33 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ + +var ParentalControlManagerTest = TestCase.extend({ + + init: function() { + this.super.init(); + }, + + beforeTest: function() { + this.parentalControlManagerObject = + oipfObjectFactory.createParentalControlManagerObject(); + }, + + afterTest: function() { + + }, + + testVerifyParentalControlPIN4Times: function(resolve, reject) { + for(var i = 0, li = 4; i < li; i++) { + var result = this.parentalControlManagerObject + .verifyParentalControlPIN("0000"); + + console.log(result); + } + + resolve(); + } + +}); \ No newline at end of file