Author: ygrego Date: 2015-02-19 14:55:01 +0000 (Thu, 19 Feb 2015) New Revision: 832 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/832 Log: Deletion of operator "===" in condition test of "if instruction". Modified: oipf/js/test/SearchManagerTest.js Modified: oipf/js/test/SearchManagerTest.js =================================================================== --- oipf/js/test/SearchManagerTest.js 2015-02-19 14:44:16 UTC (rev 831) +++ oipf/js/test/SearchManagerTest.js 2015-02-19 14:55:01 UTC (rev 832) @@ -13,7 +13,7 @@ console.log("[TEST-RUNNING][Info] Id: smTestInstanceCreation, Label: Object creation, State: " + state); this.searchManagerTest = oipfObjectFactory.createSearchManagerObject(); - if ((this.assertNotNull(this.searchManagerTest) === true) && (this.assertNotUndefined(this.searchManagerTest))) { + if (this.assertNotNull(this.searchManagerTest) && this.assertNotUndefined(this.searchManagerTest)) { state = "Successfull"; console.log("[TEST-RUNNING][Info] Id: smTestInstanceCreation, Label: Object creation, State: " + state); resolve(state); @@ -36,7 +36,7 @@ switch (state) { case 0: - if (self.assertNotNull(search.result[0]) === true) { + if (self.assertNotNull(search.result[0])) { stat = "Success"; console.log("[TEST-RUNNING][Info] " + "Id: smTestGetCurrentProgram, Label: Obtain current program according to oipf norm, State: " + stat); resolve("Success");