commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1507435 - /commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java
Date Fri, 26 Jul 2013 20:53:59 GMT
Author: britter
Date: Fri Jul 26 20:53:59 2013
New Revision: 1507435

URL: http://svn.apache.org/r1507435
Log:
Remove unnecessary assertions

Modified:
    commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java

Modified: commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java?rev=1507435&r1=1507434&r2=1507435&view=diff
==============================================================================
--- commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java (original)
+++ commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java Fri Jul
26 20:53:59 2013
@@ -1203,7 +1203,6 @@ public class EmailTest extends AbstractE
         catch (EmailException e)
         {
             this.fakeMailServer.stop();
-            assertTrue(true);
         }
     }
 
@@ -1234,7 +1233,6 @@ public class EmailTest extends AbstractE
         {
             assertTrue(e.getCause() instanceof ParseException);
             this.fakeMailServer.stop();
-            assertTrue(true);
         }
     }
 
@@ -1255,7 +1253,6 @@ public class EmailTest extends AbstractE
         catch (EmailException e)
         {
             this.fakeMailServer.stop();
-            assertTrue(true);
         }
     }
 
@@ -1276,7 +1273,6 @@ public class EmailTest extends AbstractE
         catch (EmailException e)
         {
             this.fakeMailServer.stop();
-            assertTrue(true);
         }
     }
 
@@ -1299,7 +1295,6 @@ public class EmailTest extends AbstractE
         catch (EmailException e)
         {
             this.fakeMailServer.stop();
-            assertTrue(true);
         }
     }
 
@@ -1323,7 +1318,6 @@ public class EmailTest extends AbstractE
         {
             assertTrue(e.getMessage().contains("bad.host.com:465"));
             this.fakeMailServer.stop();
-            assertTrue(true);
         }
     }
 



Mime
View raw message