plugman testing

2014-02-19 Thread Gert-Jan Braas
I noticed there are no unit test for firefoxos yet. Is anybody working on that? Mayebe thats a nice thing to pick up for me. Gert-Jan Braas -- U ademt. Dat hebben wij gepatenteerd. Mogen we even vangen? - Klaar met die sociale onzin? Ins

Re: plugman testing

2014-02-19 Thread Steven Gill
Do it! On Feb 19, 2014 3:27 AM, "Gert-Jan Braas" wrote: > I noticed there are no unit test for firefoxos yet. > > Is anybody working on that? > > Mayebe thats a nice thing to pick up for me. > > Gert-Jan Braas > > -- > > U ademt. Dat hebben wij gepatenteerd. > Mogen we even v

Re: plugman testing

2014-02-20 Thread Piotr Zalewa
Please also jump onto #apps or #cordova at irc.mozilla.com if you wish to talk to Mozilla team working on Cordova integration. On 02/19/2014 06:18 PM, Steven Gill wrote: Do it! On Feb 19, 2014 3:27 AM, "Gert-Jan Braas" wrote: I noticed there are no unit test for firefoxos yet. Is anybody

Re: plugman testing

2014-02-25 Thread Gert-Jan Braas
I've added some testing for firefoxos in plugman, but am a bit stuck on the uninstall handler. test: describe('of elements', function() { it('should remove stuff by calling common.removeFile', function(done) { var s = spyOn(common, 'removeFile');

RE: plugman testing

2014-02-25 Thread Jonathan Bond-Caron
On Tue Feb 25 03:24 AM, Gert-Jan Braas wrote: > I've added some testing for firefoxos in plugman, but am a bit stuck on > the > uninstall handler. > > test: > describe('of elements', function() { > it('should remove stuff by calling common.removeFile', > function(done) { >

RE: plugman testing

2014-02-26 Thread Gert-Jan Braas
Jonathan Bond-Caron schreef op 2014-02-25 21:33: On Tue Feb 25 03:24 AM, Gert-Jan Braas wrote: I've added some testing for firefoxos in plugman, but am a bit stuck on the uninstall handler. test: describe('of elements', function() { it('should remove stuff by calling co

RE: plugman testing

2014-02-26 Thread Jonathan Bond-Caron
On Wed Feb 26 09:24 AM, Gert-Jan Braas wrote: > >> expect(s).toHaveBeenCalledWith(temp, > >> path.join('src', 'plugins', 'dummyplugin', 'DummyPlugin.js')); > >> done(); > >> }); > >> }); > >> }); > >> > > > > Jasmine

RE: plugman testing

2014-02-27 Thread Gert-Jan Braas
Found it. Was because of my own doing. I altered spec/plugins/DummyPlugin/plugin.xml with: version="1.0.0.0"/> in config_changer PlatformMunger stumbels with the message PlatformMunger_process. error: grafti

RE: plugman testing

2014-02-27 Thread Gert-Jan Braas
ah... saved the day. The test now completes. Hope it is the corect setting for Firefoxos. Could anyone explain to me where the exception went before I catched it? Gert-Jan Braas schreef op 2014-02-27 22:31: Found it. Was because of my own doing. I altered spec/plugins/DummyPlugin

Re: plugman testing

2014-03-03 Thread Gert-Jan Braas
Hi, Created a pull-reqeust on github for: PB-6134 Add unit testing for Firefoxos in plugman Could somebody please review and pull https://github.com/apache/cordova-plugman/pull/59 or tel me what (and how) to improve. Gert-Jan Braas -- U ademt. Dat hebben wij gepatente