Revision: 6864
Author: [email protected]
Date: Wed Nov 11 20:59:51 2009
Log: Fixes a unit testing break introduced by r6859.

Review by: rdayal (TBR)
http://code.google.com/p/google-web-toolkit/source/detail?r=6864

Modified:
   
/trunk/dev/core/test/com/google/gwt/dev/shell/remoteui/MessageTransportTest.java

=======================================
---  
/trunk/dev/core/test/com/google/gwt/dev/shell/remoteui/MessageTransportTest.java
         
Wed Nov 11 18:23:59 2009
+++  
/trunk/dev/core/test/com/google/gwt/dev/shell/remoteui/MessageTransportTest.java
         
Wed Nov 11 20:59:51 2009
@@ -281,8 +281,8 @@
        fail("Should not have timed out");
      } catch (ExecutionException e) {
        // This is where we should hit
-      assertTrue("Expected: IllegalStateException, actual:" + e.getCause(),
-          e.getCause() instanceof IllegalStateException);
+      assertTrue("Expected: MessageTransport.RequestException, actual:"
+          + e.getCause(), e.getCause() instanceof RequestException);
        RequestException re = (RequestException) e.getCause();
        assertEquals(re.getMessage(), "Unable to process the request.");
      } catch (Exception e) {

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

Reply via email to