Reviewers: fabbott,


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

Affected files:
  M user/src/com/google/gwt/junit/JUnitShell.java


Index: user/src/com/google/gwt/junit/JUnitShell.java
diff --git a/user/src/com/google/gwt/junit/JUnitShell.java b/user/src/com/google/gwt/junit/JUnitShell.java index f54929fab0a6a9e6c84ac5c92ae7333b8cf314a6..122e0ef607bf7ef871930a0beb0c12a52c08cfcd 100644
--- a/user/src/com/google/gwt/junit/JUnitShell.java
+++ b/user/src/com/google/gwt/junit/JUnitShell.java
@@ -273,7 +273,7 @@ public class JUnitShell extends DevMode {
       registerHandler(new ArgHandlerInt() {
         @Override
         public String[] getDefaultArgs() {
-          return new String[]{getTag(), "1"};
+ return new String[]{getTag(), String.valueOf(DEFAULT_BEGIN_TIMEOUT_MINUTES)};
         }

         @Override
@@ -530,6 +530,7 @@ public class JUnitShell extends DevMode {
      * system classloader to dominate. This makes JUnitHostImpl live in the
      * right classloader (mine).
      */
+    @SuppressWarnings("unchecked")
     @Override
     protected WebAppContext createWebAppContext(TreeLogger logger,
         File appRootDir) {
@@ -547,6 +548,11 @@ public class JUnitShell extends DevMode {
   }

   /**
+   * How many minutes to wait for the browser to contact the test system.
+   */
+  private static final int DEFAULT_BEGIN_TIMEOUT_MINUTES = 1;
+
+  /**
* This is a system property that, when set, emulates command line arguments.
    */
   private static final String PROP_GWT_ARGS = "gwt.args";


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

Reply via email to