Re: [gwt-contrib] Re: Developing a new remote RunStyle for PhantomJS

2013-01-21 Thread Maik Riechert
Just created another run style for local testing via PhantomJS. It works surprisingly well! (https://github.com/neothemachine/gwt-phantomjs-junit-runstyle) Am Dienstag, 15. Januar 2013 11:22:45 UTC+1 schrieb Thomas Broyer: On Tuesday, January 15, 2013 10:27:57 AM UTC+1, Maik Riechert wrote

Re: [gwt-contrib] Re: Developing a new remote RunStyle for PhantomJS

2013-01-15 Thread Maik Riechert
not applicable to Travis CI, there's GhostDriver (WebDriver for PhantomJS) which should allow you to use the Selenium RunStyle to drive PhantomJS. On Monday, January 14, 2013 8:59:14 PM UTC+1, Maik Riechert wrote: Hi all, As htmlunit isn't suited for all testing scenarios (in particular layout

Re: [gwt-contrib] Re: Developing a new remote RunStyle for PhantomJS

2013-01-15 Thread Maik Riechert
Am 15.01.2013 11:22, schrieb Thomas Broyer: On Tuesday, January 15, 2013 10:27:57 AM UTC+1, Maik Riechert wrote: I see, it's probably perfectly applicable to Travis CI (I would just start the phantomjs webdriver server before executing tests) but what about: http

[gwt-contrib] Developing a new remote RunStyle for PhantomJS

2013-01-14 Thread Maik Riechert
Hi all, As htmlunit isn't suited for all testing scenarios (in particular layout specific ones), I'd like to use PhantomJS as an alternative (production mode only). It is a headless webkit engine and can be easily controlled with JS files, meaning that the new RunStyle would fork a shell

Re: [gwt-contrib] Developing a new remote RunStyle for PhantomJS

2013-01-14 Thread Maik Riechert
Ah, great! Someone should document that, at least I didn't find it anywhere. Am 14.01.2013 21:12, schrieb Matthew Dempsky: You can write your own RunStyle class and then run the JUnit shell with -runStyle your.fully.qualified.PhantomJSRunStyle. On Mon, Jan 14, 2013 at 11:59 AM, Maik Riechert

[gwt-contrib] Adding wrap method to Canvas and/or make constructor protected

2012-10-25 Thread Maik Riechert
Hi, I'm using 2.5.0rc2 and find the Canvas class not useable if I use JS libraries through JSNI which give me canvas elements (I'm contributing to KineticGWT, a wrapper for KineticJS). There's no wrap() method like in the other widget classes and I can't even solve it by subclassing Canvas, as