Reviewers: amitmanjhi,

Description:
Description:
============
My recent JUnitShell patch caused JUnitShell to send tests marked with
DoNotRunWith to the client because we now generate all batches for a
module up front, even without a batching strategy.

Fix:
====
GWTTestCase.setName() now checks if the test will be run, and excludes
it from ALL_GWT_TESTS if it will not be.  As a bonus, this means we can
now batch tests in htmlunit mode.

Testing:
========
Ran htmlunit tests manually.

Please review this at http://gwt-code-reviews.appspot.com/64816

Affected files:
   user/build.xml
   user/src/com/google/gwt/junit/DoNotRunWith.java
   user/src/com/google/gwt/junit/JUnitShell.java
   user/src/com/google/gwt/junit/RunStyle.java
   user/src/com/google/gwt/junit/RunStyleManual.java
   user/src/com/google/gwt/junit/client/GWTTestCase.java



--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to