Author: ygrego Date: 2015-05-22 14:07:13 +0000 (Fri, 22 May 2015) New Revision: 1437 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1437 Log: Addition of method "testGetOwnerApplicationWithNull". Modified: oipf/js/test/ApplicationManagerTest.js Modified: oipf/js/test/ApplicationManagerTest.js =================================================================== --- oipf/js/test/ApplicationManagerTest.js 2015-05-22 14:05:50 UTC (rev 1436) +++ oipf/js/test/ApplicationManagerTest.js 2015-05-22 14:07:13 UTC (rev 1437) @@ -27,7 +27,18 @@ } else { reject(); } - } + }, + testGetOwnerApplicationWithNull: function(resolve, reject) { + var application = this.applicationManagerObject + .getOwnerApplication(null); + + if (this.assertEquals(application, null)) { + resolve(); + } else { + reject(); + } + }, + });
participants (1)
-
ygregoï¼ users.nuiton.org