You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2012/12/09 13:28:50 UTC

svn commit: r1418913 - /commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailUtilsTest.java

Author: tn
Date: Sun Dec  9 12:28:49 2012
New Revision: 1418913

URL: http://svn.apache.org/viewvc?rev=1418913&view=rev
Log:
Update unit test.

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

Modified: commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailUtilsTest.java?rev=1418913&r1=1418912&r2=1418913&view=diff
==============================================================================
--- commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailUtilsTest.java (original)
+++ commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailUtilsTest.java Sun Dec  9 12:28:49 2012
@@ -17,6 +17,8 @@
 
 package org.apache.commons.mail;
 
+import java.io.UnsupportedEncodingException;
+
 import junit.framework.TestCase;
 
 /**
@@ -36,7 +38,7 @@ public class EmailUtilsTest extends Test
         super(name);
     }
 
-    public void testUrlEncoding()
+    public void testUrlEncoding() throws UnsupportedEncodingException
     {
         assertEquals("abcdefg", EmailUtils.encodeUrl("abcdefg"));
         assertEquals("0123456789", EmailUtils.encodeUrl("0123456789"));