| <!-- --> | |
| <!-- Copyright 2008 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. --> | |
| <!-- Deferred binding rules for browser selection. --> | |
| <!-- --> | |
| <!-- Do not inherit this module directly. Running GWTTestCase under JUnit --> | |
| <!-- will inherit this module automatically. --> | |
| <module> | |
| <inherits name="com.google.gwt.user.User"/> | |
| <super-source path="translatable"/> | |
| <source path="client"/> | |
| <generate-with class="com.google.gwt.junit.rebind.GWTRunnerGenerator"> | |
| <when-type-is class="com.google.gwt.junit.client.impl.GWTRunner"/> | |
| </generate-with> | |
| <generate-with class="com.google.gwt.junit.rebind.JUnitTestCaseStubGenerator"> | |
| <when-type-assignable class="com.google.gwt.junit.client.GWTTestCase"/> | |
| </generate-with> | |
| <!-- We want to provide consistent stack traces across all browsers. --> | |
| <set-configuration-property name="compiler.emulatedStack.recordFileNames" value="true" /> | |
| <set-property name="compiler.stackMode" value="emulated" /> | |
| <!-- Override the regular symbolMaps linker to put the data somewhere we can find it --> | |
| <define-linker name="symbolMaps" class="com.google.gwt.junit.linker.JUnitSymbolMapsLinker" /> | |
| <servlet path='/junithost/*' class='com.google.gwt.junit.server.JUnitHostImpl'/> | |
| </module> |