Reviewers: rjrjr,

Description:
Make client-side JUnit 3 classes available without GWTTestCase.

Review by: rj...@google.com

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

Affected files:
  M user/src/com/google/gwt/junit/JUnit.gwt.xml
  A user/src/com/google/gwt/junit/JUnit3.gwt.xml


Index: user/src/com/google/gwt/junit/JUnit.gwt.xml
===================================================================
--- user/src/com/google/gwt/junit/JUnit.gwt.xml (revision 10641)
+++ user/src/com/google/gwt/junit/JUnit.gwt.xml (working copy)
@@ -18,6 +18,7 @@
<!-- will inherit this module automatically. -->
 <module>
   <inherits name="com.google.gwt.user.User"/>
+  <inherits name="com.google.gwt.junit.JUnit3"/>

   <super-source path="translatable"/>

Index: user/src/com/google/gwt/junit/JUnit3.gwt.xml
===================================================================
--- user/src/com/google/gwt/junit/JUnit3.gwt.xml        (revision 0)
+++ user/src/com/google/gwt/junit/JUnit3.gwt.xml        (revision 0)
@@ -0,0 +1,26 @@
+<!-- --> +<!-- Copyright 2011 Google Inc. --> +<!-- Licensed under the Apache License, Version 2.0 (the "License"); you --> +<!-- may not use this file except in compliance with the License. You may --> +<!-- may obtain a copy of the License at --> +<!-- --> +<!-- http://www.apache.org/licenses/LICENSE-2.0 --> +<!-- --> +<!-- Unless required by applicable law or agreed to in writing, software --> +<!-- distributed under the License is distributed on an "AS IS" BASIS, --> +<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or --> +<!-- implied. License for the specific language governing permissions and --> +<!-- limitations under the License. -->
+
+<!-- Defines GWT-translatable versions of the JUnit 3 classes, such as
+junit.framework.Assert.
+
+Normally you don't need to inherit this module. It isn't necessary when using +GWTTestCase, and these classes shouldn't be used in production web apps. But
+you might need it if you're writing testing tools. -->
+
+<module>
+  <super-source path="translatable">
+    <include name="junit/**/*.java"/>
+  </super-source>
+</module>


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

Reply via email to