You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by da...@apache.org on 2006/12/09 01:52:57 UTC

svn commit: r484867 - /geronimo/server/trunk/modules/geronimo-mail/src/test/java/org/apache/geronimo/mail/MailGBeanTest.java

Author: dain
Date: Fri Dec  8 16:52:56 2006
New Revision: 484867

URL: http://svn.apache.org/viewvc?view=rev&rev=484867
Log:
Disable broken javamail test

Modified:
    geronimo/server/trunk/modules/geronimo-mail/src/test/java/org/apache/geronimo/mail/MailGBeanTest.java

Modified: geronimo/server/trunk/modules/geronimo-mail/src/test/java/org/apache/geronimo/mail/MailGBeanTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-mail/src/test/java/org/apache/geronimo/mail/MailGBeanTest.java?view=diff&rev=484867&r1=484866&r2=484867
==============================================================================
--- geronimo/server/trunk/modules/geronimo-mail/src/test/java/org/apache/geronimo/mail/MailGBeanTest.java (original)
+++ geronimo/server/trunk/modules/geronimo-mail/src/test/java/org/apache/geronimo/mail/MailGBeanTest.java Fri Dec  8 16:52:56 2006
@@ -30,8 +30,9 @@
  * @version $Rev$ $Date$
  */
 public class MailGBeanTest extends TestCase {
+    public void testNotheing() {}
 
-    public void testProperties() throws Exception {
+    public void XtestProperties() throws Exception {
         Properties properties = new Properties();
         properties.put("mail.store.protocol", "testStore");
         properties.put("mail.transport.protocol", "testTransport");
@@ -53,7 +54,7 @@
 
     }
 
-    public void testDefaultOverrides() throws Exception {
+    public void XtestDefaultOverrides() throws Exception {
         Properties properties = new Properties();
         properties.put("mail.store.protocol", "POOKIE");
         properties.put("mail.transport.protocol", "BEAR");
@@ -75,7 +76,7 @@
 
     }
 
-    public void testSMTPOverrides() throws Exception {
+    public void XtestSMTPOverrides() throws Exception {
         // these are defaults, all to be overridden
         Properties properties = new Properties();
         properties.put("mail.store.protocol", "POOKIE");
@@ -110,7 +111,7 @@
 
     }
 
-    public void testPOP3Overrides() throws Exception {
+    public void XtestPOP3Overrides() throws Exception {
         Properties properties = new Properties();
         properties.put("mail.store.protocol", "POOKIE");
         properties.put("mail.transport.protocol", "BEAR");
@@ -136,7 +137,7 @@
 
     }
 
-    public void testIMAPOverrides() throws Exception {
+    public void XtestIMAPOverrides() throws Exception {
         Properties properties = new Properties();
         properties.put("mail.store.protocol", "POOKIE");
         properties.put("mail.transport.protocol", "BEAR");



Re: Disabled broken javamail test

Posted by Dain Sundstrom <da...@iq80.com>.
I don't think the javamail default providers is a real properties  
file and it doesn't support comments.

-dain

On Dec 8, 2006, at 5:13 PM, Kevan Miller wrote:

>
> On Dec 8, 2006, at 7:55 PM, Dain Sundstrom wrote:
>
>> For some reason this test just started failing, so I have disabled  
>> it.  Hopefully someone that knows something about javamail can  
>> revive it.
>
> My bad, I think. I probably messed up a property file by adding a  
> license header... I'll have a look.
>
> --kevan


Re: Disabled broken javamail test

Posted by Kevan Miller <ke...@gmail.com>.
On Dec 8, 2006, at 7:55 PM, Dain Sundstrom wrote:

> For some reason this test just started failing, so I have disabled  
> it.  Hopefully someone that knows something about javamail can  
> revive it.

My bad, I think. I probably messed up a property file by adding a  
license header... I'll have a look.

--kevan

Disabled broken javamail test

Posted by Dain Sundstrom <da...@iq80.com>.
For some reason this test just started failing, so I have disabled  
it.  Hopefully someone that knows something about javamail can revive  
it.

-dain

On Dec 8, 2006, at 4:52 PM, dain@apache.org wrote:

> Author: dain
> Date: Fri Dec  8 16:52:56 2006
> New Revision: 484867
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=484867
> Log:
> Disable broken javamail test
>
> Modified:
>     geronimo/server/trunk/modules/geronimo-mail/src/test/java/org/ 
> apache/geronimo/mail/MailGBeanTest.java
>
> Modified: geronimo/server/trunk/modules/geronimo-mail/src/test/java/ 
> org/apache/geronimo/mail/MailGBeanTest.java
> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ 
> geronimo-mail/src/test/java/org/apache/geronimo/mail/ 
> MailGBeanTest.java?view=diff&rev=484867&r1=484866&r2=484867
> ====================================================================== 
> ========
> --- geronimo/server/trunk/modules/geronimo-mail/src/test/java/org/ 
> apache/geronimo/mail/MailGBeanTest.java (original)
> +++ geronimo/server/trunk/modules/geronimo-mail/src/test/java/org/ 
> apache/geronimo/mail/MailGBeanTest.java Fri Dec  8 16:52:56 2006
> @@ -30,8 +30,9 @@
>   * @version $Rev$ $Date$
>   */
>  public class MailGBeanTest extends TestCase {
> +    public void testNotheing() {}
>
> -    public void testProperties() throws Exception {
> +    public void XtestProperties() throws Exception {
>          Properties properties = new Properties();
>          properties.put("mail.store.protocol", "testStore");
>          properties.put("mail.transport.protocol", "testTransport");
> @@ -53,7 +54,7 @@
>
>      }
>
> -    public void testDefaultOverrides() throws Exception {
> +    public void XtestDefaultOverrides() throws Exception {
>          Properties properties = new Properties();
>          properties.put("mail.store.protocol", "POOKIE");
>          properties.put("mail.transport.protocol", "BEAR");
> @@ -75,7 +76,7 @@
>
>      }
>
> -    public void testSMTPOverrides() throws Exception {
> +    public void XtestSMTPOverrides() throws Exception {
>          // these are defaults, all to be overridden
>          Properties properties = new Properties();
>          properties.put("mail.store.protocol", "POOKIE");
> @@ -110,7 +111,7 @@
>
>      }
>
> -    public void testPOP3Overrides() throws Exception {
> +    public void XtestPOP3Overrides() throws Exception {
>          Properties properties = new Properties();
>          properties.put("mail.store.protocol", "POOKIE");
>          properties.put("mail.transport.protocol", "BEAR");
> @@ -136,7 +137,7 @@
>
>      }
>
> -    public void testIMAPOverrides() throws Exception {
> +    public void XtestIMAPOverrides() throws Exception {
>          Properties properties = new Properties();
>          properties.put("mail.store.protocol", "POOKIE");
>          properties.put("mail.transport.protocol", "BEAR");
>