You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/08/05 20:25:53 UTC
svn commit: r1510644 -
/commons/proper/email/trunk/src/test/java/org/apache/commons/mail/MultiPartEmailTest.java
Author: britter
Date: Mon Aug 5 18:25:53 2013
New Revision: 1510644
URL: http://svn.apache.org/r1510644
Log:
No need to document possible execptions in test cases
Modified:
commons/proper/email/trunk/src/test/java/org/apache/commons/mail/MultiPartEmailTest.java
Modified: commons/proper/email/trunk/src/test/java/org/apache/commons/mail/MultiPartEmailTest.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/test/java/org/apache/commons/mail/MultiPartEmailTest.java?rev=1510644&r1=1510643&r2=1510644&view=diff
==============================================================================
--- commons/proper/email/trunk/src/test/java/org/apache/commons/mail/MultiPartEmailTest.java (original)
+++ commons/proper/email/trunk/src/test/java/org/apache/commons/mail/MultiPartEmailTest.java Mon Aug 5 18:25:53 2013
@@ -187,12 +187,8 @@ public class MultiPartEmailTest extends
}
}
- /**
- * @throws MalformedURLException when a bad attachment URL is used
- * @throws EmailException when a bad address or attachment is used
- */
@Test
- public void testAttach() throws MalformedURLException, EmailException, Exception
+ public void testAttach() throws Exception
{
EmailAttachment attachment;
@@ -284,12 +280,8 @@ public class MultiPartEmailTest extends
"Test Attachment Desc");
}
- /**
- * @throws MalformedURLException when a bad attachment URL is used
- * @throws EmailException when a bad address or attachment is used
- */
@Test
- public void testAttach3() throws MalformedURLException, EmailException, Exception
+ public void testAttach3() throws Exception
{
// ====================================================================
// Test Success - URL