[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    svn commit: r512622 -
From:       dion () apache ! org
Date:       2007-02-28 6:35:46
Message-ID: 20070228063546.85A5B1A981C () eris ! apache ! org
[Download RAW message or body]

Author: dion
Date: Tue Feb 27 22:35:45 2007
New Revision: 512622

URL: http://svn.apache.org/viewvc?view=rev&rev=512622
Log:
checkstyle fixes

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


Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java
                
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java?view=diff&rev=512622&r1=512621&r2=512622
 ==============================================================================
--- jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java \
                (original)
+++ jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java \
Tue Feb 27 22:35:45 2007 @@ -39,7 +39,7 @@
 public class MultiPartEmailTest extends BaseEmailTestCase
 {
     /** */
-    private MockMultiPartEmailConcrete email = null;
+    private MockMultiPartEmailConcrete email;
     /** File to used to test file attachmetns (Must be valid) */
     private File testFile;
 
@@ -102,8 +102,9 @@
     }
 
     /**
-     * @throws EmailException  
-     * @throws IOException */
+     * @throws EmailException when a bad address or attachment is used
+     * @throws IOException when sending fails
+     */
     public void testSend() throws EmailException, IOException
     {
         // ====================================================================
@@ -189,8 +190,9 @@
     }
 
     /**
-     * @throws MalformedURLException  
-     * @throws EmailException */
+     * @throws MalformedURLException when a bad attachment URL is used
+     * @throws EmailException when a bad address or attachment is used
+     */
     public void testAttach() throws MalformedURLException, EmailException
     {
         EmailAttachment attachment;
@@ -254,15 +256,16 @@
     }
 
     /**
-     * @throws EmailException 
-     * @throws MalformedURLException  */
+     * @throws MalformedURLException when a bad attachment URL is used
+     * @throws EmailException when a bad address or attachment is used
+     */
     public void testAttach2() throws MalformedURLException, EmailException
     {
         // ====================================================================
         // Test Success - URL
         // ====================================================================
         this.email.attach(
-            new URL(this.strTestURL), 
+            new URL(this.strTestURL),
             "Test Attachment",
             "Test Attachment Desc");
 
@@ -274,8 +277,9 @@
     }
 
     /**
-     * @throws EmailException 
-     * @throws MalformedURLException  */
+     * @throws MalformedURLException when a bad attachment URL is used
+     * @throws EmailException when a bad address or attachment is used
+     */
     public void testAttach3() throws MalformedURLException, EmailException
     {
         // ====================================================================
@@ -373,7 +377,7 @@
         assertTrue(true);
     }
 
-    /** */
+    /** init called twice should fail */
     public void testInit()
     {
         // call the init function twice to trigger the IllegalStateException
@@ -389,7 +393,7 @@
         }
     }
 
-    /** */
+    /** test get/set sub type */
     public void testGetSetSubType()
     {
         for (int i = 0; i < testCharsValid.length; i++)



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic