You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2007/02/27 05:22:12 UTC

svn commit: r512132 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java

Author: dion
Date: Mon Feb 26 20:22:11 2007
New Revision: 512132

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

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

Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java?view=diff&rev=512132&r1=512131&r2=512132
==============================================================================
--- jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java (original)
+++ jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java Mon Feb 26 20:22:11 2007
@@ -46,17 +46,18 @@
 
 public class EmailTest extends BaseEmailTestCase
 {
-    /** */
-    private MockEmailConcrete email = null;
-
-    /** */
+    /** valid email addresses */
     public static final String[] ARR_VALID_EMAILS =
         {
             "me@home.com",
             "joe.doe@apache.org",
             "someone_here@work-address.com.au"};
+
+    /** mock for testing */
+    private MockEmailConcrete email;
+
     /**
-     * @param name name
+     * @param name test name
      */
     public EmailTest(String name)
     {
@@ -388,8 +389,9 @@
     }
 
     /**
-     * @throws EmailException
-     * @throws UnsupportedEncodingException */
+     * @throws EmailException when there are problems adding an address
+     * @throws UnsupportedEncodingException on bad email addresses
+     */
     public void testAddTo() throws EmailException, UnsupportedEncodingException
     {
         // ====================================================================
@@ -419,8 +421,9 @@
     }
 
     /**
-     * @throws UnsupportedEncodingException
-     * @throws EmailException */
+     * @throws EmailException when there are problems adding an address
+     * @throws UnsupportedEncodingException on bad email addresses
+     */
     public void testAddToWithEncoding() throws UnsupportedEncodingException, EmailException
     {
         // ====================================================================
@@ -457,8 +460,9 @@
     }
 
     /**
-     * @throws UnsupportedEncodingException
-     * @throws EmailException */
+     * @throws EmailException when there are problems adding an address
+     * @throws UnsupportedEncodingException on bad email addresses
+     */
     public void testAddTo2() throws UnsupportedEncodingException, EmailException
     {
         // ====================================================================



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