Added: 
james/server/trunk/imap-mailbox-processor-function/src/test/java/org/apache/james/imapserver/processor/imap4rev1/LSubProcessorTest.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/imap-mailbox-processor-function/src/test/java/org/apache/james/imapserver/processor/imap4rev1/LSubProcessorTest.java?rev=592415&view=auto
==============================================================================
--- 
james/server/trunk/imap-mailbox-processor-function/src/test/java/org/apache/james/imapserver/processor/imap4rev1/LSubProcessorTest.java
 (added)
+++ 
james/server/trunk/imap-mailbox-processor-function/src/test/java/org/apache/james/imapserver/processor/imap4rev1/LSubProcessorTest.java
 Tue Nov  6 05:17:42 2007
@@ -0,0 +1,47 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.james.imapserver.processor.imap4rev1;
+
+import 
org.apache.james.api.imap.message.response.imap4rev1.StatusResponseFactory;
+import org.apache.james.api.imap.process.ImapProcessor;
+import 
org.apache.james.imap.message.response.imap4rev1.server.AbstractListingResponse;
+import org.apache.james.imap.message.response.imap4rev1.server.LSubResponse;
+import org.apache.james.mailboxmanager.manager.MailboxManagerProvider;
+
+public class LSubProcessorTest extends AbstractTestListProcessor {
+
+    protected void setUp() throws Exception {
+        super.setUp();
+    }
+
+    protected void tearDown() throws Exception {
+        super.tearDown();
+    }
+
+    AbstractListingProcessor createProcessor(ImapProcessor next, 
MailboxManagerProvider provider, StatusResponseFactory factory) {
+        return new LSubProcessor(next, provider, factory);
+    }
+
+    AbstractListingResponse createResponse(boolean noinferior, boolean 
noselect, boolean marked, 
+            boolean unmarked, String hierarchyDelimiter, String mailboxName) {
+        return new LSubResponse(noinferior, noselect, marked, unmarked, 
hierarchyDelimiter, mailboxName);
+    }
+
+}

Added: 
james/server/trunk/imap-mailbox-processor-function/src/test/java/org/apache/james/imapserver/processor/imap4rev1/ListProcessorTest.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/imap-mailbox-processor-function/src/test/java/org/apache/james/imapserver/processor/imap4rev1/ListProcessorTest.java?rev=592415&view=auto
==============================================================================
--- 
james/server/trunk/imap-mailbox-processor-function/src/test/java/org/apache/james/imapserver/processor/imap4rev1/ListProcessorTest.java
 (added)
+++ 
james/server/trunk/imap-mailbox-processor-function/src/test/java/org/apache/james/imapserver/processor/imap4rev1/ListProcessorTest.java
 Tue Nov  6 05:17:42 2007
@@ -0,0 +1,47 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.james.imapserver.processor.imap4rev1;
+
+import 
org.apache.james.api.imap.message.response.imap4rev1.StatusResponseFactory;
+import org.apache.james.api.imap.process.ImapProcessor;
+import 
org.apache.james.imap.message.response.imap4rev1.server.AbstractListingResponse;
+import org.apache.james.imap.message.response.imap4rev1.server.ListResponse;
+import org.apache.james.mailboxmanager.manager.MailboxManagerProvider;
+
+public class ListProcessorTest extends AbstractTestListProcessor {
+
+    protected void setUp() throws Exception {
+        super.setUp();
+    }
+
+    protected void tearDown() throws Exception {
+        super.tearDown();
+    }
+
+    AbstractListingProcessor createProcessor(ImapProcessor next, 
MailboxManagerProvider provider, StatusResponseFactory factory) {
+        return new ListProcessor(next, provider, factory);
+    }
+
+    AbstractListingResponse createResponse(boolean noinferior, boolean 
noselect, boolean marked, 
+            boolean unmarked, String hierarchyDelimiter, String mailboxName) {
+        return new ListResponse(noinferior, noselect, marked, unmarked, 
hierarchyDelimiter, mailboxName);
+    }
+
+}

Modified: 
james/server/trunk/phoenix-deployment/src/test/org/apache/james/experimental/imapserver/ExperimentalListingTest.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/phoenix-deployment/src/test/org/apache/james/experimental/imapserver/ExperimentalListingTest.java?rev=592415&r1=592414&r2=592415&view=diff
==============================================================================
--- 
james/server/trunk/phoenix-deployment/src/test/org/apache/james/experimental/imapserver/ExperimentalListingTest.java
 (original)
+++ 
james/server/trunk/phoenix-deployment/src/test/org/apache/james/experimental/imapserver/ExperimentalListingTest.java
 Tue Nov  6 05:17:42 2007
@@ -26,9 +26,8 @@
     public ExperimentalListingTest() throws Exception {
         super(HostSystemFactory.createStandardImap());
     }
-
     public void testListPlusUS() throws Exception {
-        // LIST is buggy
+        // TODO: fix bug in Mailbox list API
     }
 
     



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to