Revision: 6155
Author: [email protected]
Date: Thu Sep 17 10:15:35 2009
Log: Minor changes (round 1) in response to John's review comments.


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

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

=======================================
--- /branches/farewellSwt/user/src/com/google/gwt/junit/JUnitShell.java Thu  
Sep 10 16:26:01 2009
+++ /branches/farewellSwt/user/src/com/google/gwt/junit/JUnitShell.java Thu  
Sep 17 10:15:35 2009
@@ -427,7 +427,7 @@
     * begin running the test. "Contacted" does not necessarily mean "the  
test has
     * begun," e.g. for linker errors stopping the test initialization.
     */
-  private static final int TEST_BEGIN_TIMEOUT_MILLIS = 6000000;
+  private static final int TEST_BEGIN_TIMEOUT_MILLIS = 60000;

    /**
     * The amount of time to wait for all clients to complete a single test
@@ -617,7 +617,6 @@
     */
    private JUnitShell() {
      setRunTomcat(true);
-    setHeadless(false);
      setHeadless(GraphicsEnvironment.isHeadless());

      // Legacy: -Dgwt.hybrid runs web mode
@@ -647,8 +646,8 @@
    protected void initializeLogger() {
      if (isHeadless()) {
        consoleLogger = new PrintWriterTreeLogger();
-      // TODO (amitmanjhi): GwtShell overlay fix.
-      consoleLogger.setMaxDetail(TreeLogger.INFO);
+      // previously, in legacy hosted mode, the call was:
+      // consoleLogger.setMaxDetail(getCompilerOptions().getLogLevel());
      } else {
        super.initializeLogger();
      }

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

Reply via email to