[gwt-contrib] Re: Proposed API Addition - GWTTestCase#getStrategy() to allow precompilation of JUnit tests

2009-09-25 Thread Scott Blum
There are two versions of Benchmark, a JVM version that does reference Strategy, and a super-src version for GWT use that doesn't. A user would similarly have to split their testcase if they actually wanted to override the strategy, because that interface isn't available to client code. On Fri, S

[gwt-contrib] Re: Proposed API Addition - GWTTestCase#getStrategy() to allow precompilation of JUnit tests

2009-09-25 Thread John LaBanca
It isn't client code, but it is part of the user code. Couldn't somebody override getStrategy() to return a new strategy, the same way we did with Benchmark? Thanks, John LaBanca jlaba...@google.com On Fri, Sep 25, 2009 at 1:01 PM, Scott Blum wrote: > John, I'm kind of puzzled... how would a

[gwt-contrib] Re: Proposed API Addition - GWTTestCase#getStrategy() to allow precompilation of JUnit tests

2009-09-25 Thread Scott Blum
John, I'm kind of puzzled... how would a user actually override getStrategy()? The Strategy type is not compilable GWT client code, so a GWTTestCase that actually does the override should fail to compile as GWT client code. What am I missing? On Fri, Sep 25, 2009 at 11:33 AM, John LaBanca wrote

[gwt-contrib] Re: Proposed API Addition - GWTTestCase#getStrategy() to allow precompilation of JUnit tests

2009-09-25 Thread Ray Ryan
Please forward this to GWT announce, and cc skybrian On Friday, September 25, 2009, John LaBanca wrote: > If you override JUnitShell.Strategy, you should consider this email. > > > JUnitShell.Strategy, > which determines how GWT modules are compiled for test cases, is > currently an interface.