commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r512132 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
Date Tue, 27 Feb 2007 04:22:12 GMT
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


Mime
View raw message