Revision: 6168
Author: [email protected]
Date: Sun Sep 20 11:46:51 2009
Log: Change the default test rules to match the new -runStyle arguments.

http://code.google.com/p/google-web-toolkit/source/detail?r=6168

Modified:
  /changes/jat/noswt/user/build.xml

=======================================
--- /changes/jat/noswt/user/build.xml   Thu Sep 17 16:17:20 2009
+++ /changes/jat/noswt/user/build.xml   Sun Sep 20 11:46:51 2009
@@ -107,7 +107,7 @@
    <target name="test.remoteweb" description="Run a remoteweb test at the  
given host and path" if="gwt.remote.browsers">
      <echo message="Performing remote browser testing at  
${gwt.remote.browsers}" />
      <fileset id="test.remoteweb.tests" dir="${javac.junit.out}"  
includes="${gwt.junit.testcase.web.includes}"  
excludes="${gwt.junit.testcase.web.excludes}" />
-    <gwt.junit test.args="${test.args} -out www -remoteweb  
${gwt.remote.browsers} -batch module" test.out="${junit.out}/remoteweb"  
test.cases="test.remoteweb.tests" >
+    <gwt.junit test.args="${test.args} -out www -runStyle  
RemoteWeb:${gwt.remote.browsers} -batch module"  
test.out="${junit.out}/remoteweb" test.cases="test.remoteweb.tests" >
        <extraclasspaths>
          <path refid="test.extraclasspath" />
        </extraclasspaths>
@@ -121,7 +121,7 @@
    <target name="test.selenium" description="Run a remote test using  
Selenium RC test at the given host and path" if="gwt.selenium.hosts">
      <echo message="Performing remote browser testing using Selenium RC at  
${gwt.selenium.hosts}" />
      <fileset id="test.selenium.tests" dir="${javac.junit.out}"  
includes="${gwt.junit.testcase.web.includes}"  
excludes="${gwt.junit.testcase.web.excludes}" />
-    <gwt.junit test.args="${test.args} -out www -selenium  
${gwt.selenium.hosts} -batch module" test.out="${junit.out}/selenium"  
test.cases="test.selenium.tests" >
+    <gwt.junit test.args="${test.args} -out www -runStyle  
Selenium:${gwt.selenium.hosts} -batch module"  
test.out="${junit.out}/selenium" test.cases="test.selenium.tests" >
        <extraclasspaths>
          <path refid="test.extraclasspath" />
        </extraclasspaths>
@@ -156,7 +156,7 @@

    <target name="test.noserver" depends="compile, compile.tests"  
description="Run noserver hosted-mode tests for this project.">
      <fileset id="test.noserver.tests" dir="${javac.junit.out}"  
includes="${gwt.junit.testcase.noserver.includes}"  
excludes="${gwt.junit.testcase.noserver.excludes}" />
-    <gwt.junit test.args="${test.args} -noserver -batch module"  
test.out="${junit.out}/${build.host.platform}-noserver-mode"  
test.cases="test.noserver.tests">
+    <gwt.junit test.args="${test.args} -web -noserver -batch module"  
test.out="${junit.out}/${build.host.platform}-noserver-mode"  
test.cases="test.noserver.tests">
        <extraclasspaths>
          <path refid="test.extraclasspath" />
        </extraclasspaths>
@@ -172,16 +172,6 @@
      </gwt.junit>
    </target>

-  <target name="test.web.htmlunit" depends="compile, compile.tests"  
description="Run htmlunit web-mode tests for this project.">
-    <!-- TODO: add more browsers later -->
-    <fileset id="test.web.htmlunit.tests" dir="${javac.junit.out}"  
includes="${gwt.junit.testcase.web.includes}"  
excludes="${gwt.junit.testcase.web.excludes}" />
-    <gwt.junit test.args="${test.args} -htmlunit FF3"  
test.out="${junit.out}/${build.host.platform}-htmlunit-web-mode"  
test.cases="test.web.htmlunit.tests" >
-      <extraclasspaths>
-        <path refid="test.extraclasspath" />
-      </extraclasspaths>
-    </gwt.junit>
-  </target>
-
    <target name="test.web.disableClassMetadata" depends="compile,  
compile.tests" description="Run only web-mode tests for this project.">
      <fileset id="test.web.disableClassMetadata.tests"  
dir="${javac.junit.out}" includes="${gwt.junit.testcase.web.includes}"  
excludes="${gwt.junit.testcase.web.excludes}" />
      <gwt.junit test.args="${test.args} -XdisableClassMetadata -out www  
-web -batch module"  
test.out="${junit.out}/${build.host.platform}-web-mode-disableClassMetadata"  
test.cases="test.web.disableClassMetadata.tests" >

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

Reply via email to