Loading .gitignore 0 → 100644 +2 −0 Changes for .gitignore: 2 added lines, 0 removed lines. Original line number Diff line number Diff line .DS_Store spec/config.xml +1 −1 Changes for spec/config.xml: 1 added line, 1 removed line. Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/1.0" id = "com.phonegap.genericpushtest" id = "org.apache.cordova.example" version = "1.0.0"> <name>cordovaExample</name> Loading spec/genericpush.tests.js +3 −3 Changes for spec/genericpush.tests.js: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -31,16 +31,16 @@ describe('Plugin object (window.plugins)', function () { it("should contain a register function", function() { expect(window.plugins.pushNotification.register).toBeDefined(); expect(typeof window.plugins.barcodeScanner.register == 'function').toBe(true); expect(typeof window.plugins.pushNotification.register == 'function').toBe(true); }); it("should contain an unregister function", function() { expect(window.plugins.pushNotification.unregister).toBeDefined(); expect(typeof window.plugins.barcodeScanner.unregister == 'function').toBe(true); expect(typeof window.plugins.pushNotification.unregister == 'function').toBe(true); }); it("should contain a setApplicationIconBadgeNumber function", function() { expect(window.plugins.pushNotification.setApplicationIconBadgeNumber).toBeDefined(); expect(typeof window.plugins.barcodeScanner.setApplicationIconBadgeNumber == 'function').toBe(true); expect(typeof window.plugins.pushNotification.setApplicationIconBadgeNumber == 'function').toBe(true); }); }); spec/index.html +1 −1 Changes for spec/index.html: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ var htmlReporter = new jasmine.HtmlReporter(); jasmineEnv.addReporter(htmlReporter);jasmineEnv.addReporter(jr); jasmineEnv.addReporter(htmlReporter); jasmineEnv.specFilter = function(spec) { return htmlReporter.specFilter(spec); Loading Loading
.gitignore 0 → 100644 +2 −0 Changes for .gitignore: 2 added lines, 0 removed lines. Original line number Diff line number Diff line .DS_Store
spec/config.xml +1 −1 Changes for spec/config.xml: 1 added line, 1 removed line. Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/1.0" id = "com.phonegap.genericpushtest" id = "org.apache.cordova.example" version = "1.0.0"> <name>cordovaExample</name> Loading
spec/genericpush.tests.js +3 −3 Changes for spec/genericpush.tests.js: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -31,16 +31,16 @@ describe('Plugin object (window.plugins)', function () { it("should contain a register function", function() { expect(window.plugins.pushNotification.register).toBeDefined(); expect(typeof window.plugins.barcodeScanner.register == 'function').toBe(true); expect(typeof window.plugins.pushNotification.register == 'function').toBe(true); }); it("should contain an unregister function", function() { expect(window.plugins.pushNotification.unregister).toBeDefined(); expect(typeof window.plugins.barcodeScanner.unregister == 'function').toBe(true); expect(typeof window.plugins.pushNotification.unregister == 'function').toBe(true); }); it("should contain a setApplicationIconBadgeNumber function", function() { expect(window.plugins.pushNotification.setApplicationIconBadgeNumber).toBeDefined(); expect(typeof window.plugins.barcodeScanner.setApplicationIconBadgeNumber == 'function').toBe(true); expect(typeof window.plugins.pushNotification.setApplicationIconBadgeNumber == 'function').toBe(true); }); });
spec/index.html +1 −1 Changes for spec/index.html: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ var htmlReporter = new jasmine.HtmlReporter(); jasmineEnv.addReporter(htmlReporter);jasmineEnv.addReporter(jr); jasmineEnv.addReporter(htmlReporter); jasmineEnv.specFilter = function(spec) { return htmlReporter.specFilter(spec); Loading