You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ba...@apache.org on 2007/01/16 10:23:30 UTC

svn commit: r496634 - /james/server/trunk/src/test/org/apache/james/mailrepository/MBoxMailRepositoryTest.java

Author: bago
Date: Tue Jan 16 01:23:29 2007
New Revision: 496634

URL: http://svn.apache.org/viewvc?view=rev&rev=496634
Log:
Fix case for repository url and added a comment about MBoxMailRepositoryTest history.

Modified:
    james/server/trunk/src/test/org/apache/james/mailrepository/MBoxMailRepositoryTest.java

Modified: james/server/trunk/src/test/org/apache/james/mailrepository/MBoxMailRepositoryTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/src/test/org/apache/james/mailrepository/MBoxMailRepositoryTest.java?view=diff&rev=496634&r1=496633&r2=496634
==============================================================================
--- james/server/trunk/src/test/org/apache/james/mailrepository/MBoxMailRepositoryTest.java (original)
+++ james/server/trunk/src/test/org/apache/james/mailrepository/MBoxMailRepositoryTest.java Tue Jan 16 01:23:29 2007
@@ -31,8 +31,11 @@
 import org.apache.james.test.mock.avalon.MockLogger;
 
 /**
- * NOTE NOTE NOTE: this test is disabled because MBoxMailRepository does not
+ * NOTE this test *WAS* disabled because MBoxMailRepository does not
  * currently support most simple operations for the MailRepository interface.
+ * 
+ * NOTE this previously extended AbstractMailRepositoryTest to run all of the
+ * common mail repository tests on the MBox implementation.
  */
 public class MBoxMailRepositoryTest extends TestCase {
 
@@ -42,7 +45,7 @@
 
         mr.enableLogging(new MockLogger());
         DefaultConfiguration defaultConfiguration = new DefaultConfiguration("ReposConf");
-        defaultConfiguration.setAttribute("destinationURL","mbox://src/test/org/apache/james/mailrepository/testdata/inbox");
+        defaultConfiguration.setAttribute("destinationURL","mbox://src/test/org/apache/james/mailrepository/testdata/Inbox");
         defaultConfiguration.setAttribute("type","MAIL");
         mr.configure(defaultConfiguration);
         return mr;
@@ -62,6 +65,14 @@
     
         assertFalse("No messages", keys.hasNext());
     }
+
+    /*
+    public void runBare() throws Throwable {
+        System.err.println("TEST DISABLED!");
+        // Decomment this or remove this method to re-enable the MBoxRepository testing
+        // super.runBare();
+    }
+    */
 
 }
 



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