Disabled testGetStatusCode_Safari because we cannot differentiate between the real Safari and the hosted mode browser. We use a newer version of webkit which fixes the condition whose work around we are trying to test. git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@153 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/http/client/ResponseTest.java b/user/test/com/google/gwt/http/client/ResponseTest.java index a1ea98c..e8783a3 100644 --- a/user/test/com/google/gwt/http/client/ResponseTest.java +++ b/user/test/com/google/gwt/http/client/ResponseTest.java
@@ -65,8 +65,10 @@ /** * Test method for * {@link com.google.gwt.http.client.Response#getStatusCode()}. + * DISABLED - we use a newer version of webkit in our hosted browser than Safari's; we can't reliably + * distinguish between the two so we disabled the test */ - public void testGetStatusCode_Safari() { + public void disabledTestGetStatusCode_Safari() { if (!isSafari()) { // Only test this on Safari return;