Author: ygrego Date: 2015-05-20 07:45:39 +0000 (Wed, 20 May 2015) New Revision: 1408 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1408 Log: Addition of severals tests in test section "ParentalControlManagerTest". Modified: oipf/js/test/Test.js Modified: oipf/js/test/Test.js =================================================================== --- oipf/js/test/Test.js 2015-05-19 15:13:20 UTC (rev 1407) +++ oipf/js/test/Test.js 2015-05-20 07:45:39 UTC (rev 1408) @@ -788,6 +788,31 @@ { label: "Call method 'setBlockUnrated' with an invalid pin and value 'false' to don't blocked unrated contents.", method: "testSetBlockUnratedWithInvalidPINAndFalse" + }, + { + label: "Call method 'setParentalControlStatus' with a valid pin\ + and value 'true' to active parental control.", + method: "testSetParentalControlStatusWithValidPINAndTrue" + }, + { + label: "Call method 'setParentalControlStatus' with a valid pin\ + and value 'false' to desactive parental control.", + method: "testSetParentalControlStatusWithValidPINAndFalse" + }, + { + label: "Call method 'setParentalControlStatus' with an invalid\ + pin and value 'true' to active parental control.", + method: "testSetParentalControlStatusWithInvalidPINAndTrue" + }, + { + label: "Call method 'setParentalControlStatus' with an invalid\ + pin and value 'false' to desactive parental control.", + method: "testSetParentalControlStatusWithInvalidPINAndFalse" + }, + { + label: "Call method 'setParentalControlStatus' with an invalid\ + pin and value 'false' to verify the PIN entry locking", + method: "testSetParentalControlStatusWithInvalidOldPINAndValidNewPIN10Times" } ] }],