maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r685431 - /maven/sandbox/trunk/mercury/mercury-transport/mercury-transport-http/src/test/java/org/apache/maven/mercury/spi/http/client/JettyRetrieverTest.java
Date Wed, 13 Aug 2008 04:08:29 GMT
Author: janb
Date: Tue Aug 12 21:08:29 2008
New Revision: 685431

URL: http://svn.apache.org/viewvc?rev=685431&view=rev
Log:
Temporarily comment out most retrieval tests to try and focus on failing tests on windows.

Modified:
    maven/sandbox/trunk/mercury/mercury-transport/mercury-transport-http/src/test/java/org/apache/maven/mercury/spi/http/client/JettyRetrieverTest.java

Modified: maven/sandbox/trunk/mercury/mercury-transport/mercury-transport-http/src/test/java/org/apache/maven/mercury/spi/http/client/JettyRetrieverTest.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/mercury/mercury-transport/mercury-transport-http/src/test/java/org/apache/maven/mercury/spi/http/client/JettyRetrieverTest.java?rev=685431&r1=685430&r2=685431&view=diff
==============================================================================
--- maven/sandbox/trunk/mercury/mercury-transport/mercury-transport-http/src/test/java/org/apache/maven/mercury/spi/http/client/JettyRetrieverTest.java
(original)
+++ maven/sandbox/trunk/mercury/mercury-transport/mercury-transport-http/src/test/java/org/apache/maven/mercury/spi/http/client/JettyRetrieverTest.java
Tue Aug 12 21:08:29 2008
@@ -159,7 +159,7 @@
         assert dir.canWrite();
         return dir;
     }
-    
+    /*
     public void testSyncRetrievalAllGood()
     throws Exception
     {
@@ -199,9 +199,10 @@
         
         RetrievalResponse response = retriever.retrieve(request);
         
-        //for (MercuryException t:response.getExceptions())
-        //    t.printStackTrace();
-        
+        System.err.println("--------- testSyncRetrievalAllGood --------------");
+        for (HttpClientException t:response.getExceptions())
+            t.printStackTrace();
+        System.err.println("-------------------------------------------------");
         assertEquals(2,response.getExceptions().size());
         assertTrue(!file0.exists());
         assertTrue(!file1.exists());
@@ -211,7 +212,7 @@
         assertTrue(!file5.exists());
 
     }
-
+*/
     
     public void testSyncRetrievalPgpGood()
     throws Exception
@@ -240,13 +241,13 @@
         System.err.println("--------- testSyncRetrievalPgpGood --------------");
         for (HttpClientException t:response.getExceptions())
             t.printStackTrace();
-        
+        System.err.println("-------------------------------------------------");
         assertEquals( 0, response.getExceptions().size() );
         assertTrue( file6.exists() );
-        System.err.println("-------------------------------------------------");
+       
     }
 
-
+/*
     public void testSyncRetrievalFailFast()
         throws Exception
     {
@@ -306,7 +307,8 @@
         
         Thread.sleep(100);
     }
-
+    */
+/*
     public void testSyncRetrievalLenient0()
         throws Exception
     {
@@ -360,7 +362,7 @@
         assertTrue(!file4.exists());
         assertTrue(!file5.exists());
     }
-
+*/
     public void testSyncRetrievalLenient1()
     throws Exception
     {
@@ -410,7 +412,7 @@
         assertTrue(file5.exists());
 
     }
-    
+    /*
     public void testValidatorSuccess() throws Exception
     {
         factories.add(new SHA1VerifierFactory(true, true)); //lenient, sufficient
@@ -464,7 +466,8 @@
         assertTrue(file4.exists());
         assertTrue(file5.exists());
     }
-    
+    */
+    /*
     public void testValidatorFailure () throws Exception
     {
         factories.add(new SHA1VerifierFactory(true, true)); //lenient, sufficient
@@ -518,7 +521,8 @@
         assertTrue(!file4.exists());
         assertTrue(!file5.exists());
     }
-    
+    */
+    /*
 
     public void testMemoryRetrieval () throws Exception
     {
@@ -562,4 +566,5 @@
         IO.copy(is,os);
         assertEquals(os.toByteArray().length, binding5.getInboundContent().length);
     }
+    */
 }



Mime
View raw message