geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r579884 - in /geronimo/sandbox/AsyncHttpClient/src/test: catalina/webapps/auth_basic/secure.jsp java/org/apache/ahc/AuthTest.java
Date Thu, 27 Sep 2007 04:04:44 GMT
Author: jgenender
Date: Wed Sep 26 21:04:44 2007
New Revision: 579884

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

Modified:
    geronimo/sandbox/AsyncHttpClient/src/test/catalina/webapps/auth_basic/secure.jsp
    geronimo/sandbox/AsyncHttpClient/src/test/java/org/apache/ahc/AuthTest.java

Modified: geronimo/sandbox/AsyncHttpClient/src/test/catalina/webapps/auth_basic/secure.jsp
URL: http://svn.apache.org/viewvc/geronimo/sandbox/AsyncHttpClient/src/test/catalina/webapps/auth_basic/secure.jsp?rev=579884&r1=579883&r2=579884&view=diff
==============================================================================
--- geronimo/sandbox/AsyncHttpClient/src/test/catalina/webapps/auth_basic/secure.jsp (original)
+++ geronimo/sandbox/AsyncHttpClient/src/test/catalina/webapps/auth_basic/secure.jsp Wed Sep
26 21:04:44 2007
@@ -1,2 +1 @@
 Hello World!
-

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=579884&r1=579883&r2=579884&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:04:44 2007
@@ -43,7 +43,8 @@
             semaphore.wait(5000);
         }
 
-        System.out.println(callback.getMessage().getStatusCode());
+
+        assertEquals("Hello World!\n", callback.getMessage().getStringContent());
     }
 
     public void testDigestAuth() throws Exception {
@@ -60,7 +61,7 @@
             semaphore.wait(5000);
         }
 
-        System.out.println(callback.getMessage().getStatusCode());
+        assertEquals("Hello World!\n", callback.getMessage().getStringContent());
     }
 
     protected void setUp() throws Exception {



Mime
View raw message