You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jg...@apache.org on 2007/09/27 06:05:47 UTC

svn commit: r579885 - /geronimo/sandbox/AsyncHttpClient/src/test/java/org/apache/ahc/AuthTest.java

Author: jgenender
Date: Wed Sep 26 21:05:47 2007
New Revision: 579885

URL: http://svn.apache.org/viewvc?rev=579885&view=rev
Log:
Fix tests

Modified:
    geronimo/sandbox/AsyncHttpClient/src/test/java/org/apache/ahc/AuthTest.java

Modified: geronimo/sandbox/AsyncHttpClient/src/test/java/org/apache/ahc/AuthTest.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/AsyncHttpClient/src/test/java/org/apache/ahc/AuthTest.java?rev=579885&r1=579884&r2=579885&view=diff
==============================================================================
--- geronimo/sandbox/AsyncHttpClient/src/test/java/org/apache/ahc/AuthTest.java (original)
+++ geronimo/sandbox/AsyncHttpClient/src/test/java/org/apache/ahc/AuthTest.java Wed Sep 26 21:05:47 2007
@@ -44,6 +44,7 @@
         }
 
 
+        assertEquals(200, callback.getMessage().getStatusCode());
         assertEquals("Hello World!\n", callback.getMessage().getStringContent());
     }
 
@@ -61,6 +62,7 @@
             semaphore.wait(5000);
         }
 
+        assertEquals(200, callback.getMessage().getStatusCode());
         assertEquals("Hello World!\n", callback.getMessage().getStringContent());
     }