commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r219480 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/settings/EmailConfiguration.java
Date Mon, 18 Jul 2005 12:42:11 GMT
Author: dion
Date: Mon Jul 18 05:41:50 2005
New Revision: 219480

URL: http://svn.apache.org/viewcvs?rev=219480&view=rev
Log:
use local resource instead of apache web site in test of embedding images

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

Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/settings/EmailConfiguration.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/settings/EmailConfiguration.java?rev=219480&r1=219479&r2=219480&view=diff
==============================================================================
--- jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/settings/EmailConfiguration.java
(original)
+++ jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/settings/EmailConfiguration.java
Mon Jul 18 05:41:50 2005
@@ -35,8 +35,9 @@
     /** */
     public static final String TEST_PASSWD = "passwd";
     /** */
-    public static final String TEST_URL =
-        "http://www.apache.org/images/asf_logo_wide.gif";
+    public static final String TEST_URL = EmailConfiguration.class
+        .getResource("/images/asf_logo_wide.gif")
+        .toExternalForm();
     /** Amount of time to wait for Dumbster to start up */
     public static final int TIME_OUT = 500;
 }



---------------------------------------------------------------------
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