Revision: 7057
Author: jlaba...@google.com
Date: Fri Nov 20 07:22:26 2009
Log: Revert r7040 because it breaks the build.  Browsers are not running  
tests in dev mode.

Patch by: jlabanca


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

Modified:
  /trunk/user/src/com/google/gwt/junit/JUnitShell.java

=======================================
--- /trunk/user/src/com/google/gwt/junit/JUnitShell.java        Thu Nov 19  
13:58:41 2009
+++ /trunk/user/src/com/google/gwt/junit/JUnitShell.java        Fri Nov 20  
07:22:26 2009
@@ -148,7 +148,7 @@
        registerHandler(new ArgHandlerFlag() {
          @Override
          public String getPurpose() {
-          return "Causes your test to run in -noserver development mode  
(defaults to development mode)";
+          return "Causes your test to run in -noserver hosted mode  
(defaults to hosted mode)";
          }

          @Override
@@ -166,7 +166,7 @@
        registerHandler(new ArgHandlerFlag() {
          @Override
          public String getPurpose() {
-          return "Causes your test to run in web (compiled) mode (defaults  
to development mode)";
+          return "Causes your test to run in web (compiled) mode (defaults  
to hosted mode)";
          }

          @Override
@@ -648,7 +648,7 @@
    private TestInfo currentTestInfo;

    /**
-   * True if we are running the test in development mode.
+   * True if we are running the test in hosted mode.
     */
    private boolean developmentMode = true;

@@ -689,7 +689,7 @@
    private String[] remoteUserAgents;

    /**
-   * What type of test we're running; Local development, local web, or  
remote web.
+   * What type of test we're running; Local hosted, local web, or remote  
web.
     */
    private RunStyle runStyle = null;

@@ -747,7 +747,7 @@
          + (standardsMode ? "/junit-standards.html" : "/junit.html");
      if (developmentMode) {
        // CHECKSTYLE_OFF
-      url += "?gwt.codesvr=" + localhost + ":" + codeServerPort;
+      url += "?gwt.hosted=" + localhost + ":" + codeServerPort;
        // CHECKSTYLE_ON
      }
      return url;
@@ -933,7 +933,7 @@
    }

    /**
-   * Accessor method to DevModeBase.setHeadless -- without this, we get
+   * Accessor method to HostedModeBase.setHeadless -- without this, we get
     * IllegalAccessError from the -notHeadless arg handler. Compiler bug?
     *
     * @param headlessMode

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

Reply via email to