james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r591848 - in /james/server/trunk: experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/imap/ experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/imap/scripts/ phoenix-deployment/src/test/...
Date Sun, 04 Nov 2007 22:03:33 GMT
Author: rdonkin
Date: Sun Nov  4 14:03:32 2007
New Revision: 591848

URL: http://svn.apache.org/viewvc?rev=591848&view=rev
Log:
Tracking down likely bug.

Added:
    james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/imap/AbstractTestListing.java
    james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/imap/scripts/ListPlus.test
    james/server/trunk/phoenix-deployment/src/test/org/apache/james/experimental/imapserver/ExperimentalListingTest.java

Added: james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/imap/AbstractTestListing.java
URL: http://svn.apache.org/viewvc/james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/imap/AbstractTestListing.java?rev=591848&view=auto
==============================================================================
--- james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/imap/AbstractTestListing.java
(added)
+++ james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/imap/AbstractTestListing.java
Sun Nov  4 14:03:32 2007
@@ -0,0 +1,36 @@
+/****************************************************************
+ * 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.test.functional.imap;
+
+import java.util.Locale;
+
+
+abstract public class AbstractTestListing extends BaseTestForAuthenticatedState {
+
+    public AbstractTestListing(HostSystem system) throws Exception
+    {
+        super(system);
+    }
+
+    public void testListPlusUS() throws Exception {
+        scriptTest("ListPlus", Locale.US); 
+    }
+    
+}

Added: james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/imap/scripts/ListPlus.test
URL: http://svn.apache.org/viewvc/james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/imap/scripts/ListPlus.test?rev=591848&view=auto
==============================================================================
--- james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/imap/scripts/ListPlus.test
(added)
+++ james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/imap/scripts/ListPlus.test
Sun Nov  4 14:03:32 2007
@@ -0,0 +1,95 @@
+################################################################
+# 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.                                           #
+################################################################
+# Create a few folders
+C: 10 CREATE listtest
+S: 10 OK CREATE completed.
+C: 11 CREATE listtest.subfolder
+S: 11 OK CREATE completed.
+C: 12 CREATE listtest1
+S: 12 OK CREATE completed.
+C: 13 CREATE listtest1.subfolder1
+S: 13 OK CREATE completed.
+C: 14 CREATE funny
+S: 14 OK CREATE completed.
+C: 15 CREATE "funny.name with gaps"
+S: 15 OK CREATE completed.
+C: 16 CREATE "funny.name"
+S: 16 OK CREATE completed.
+C: 17 CREATE "funny.name with gaps.more"
+S: 17 OK CREATE completed.
+
+# Empty 1st arg searches default context (#mail)
+C: 10 LIST "" listtest
+S: \* LIST \(\) \"\.\" listtest
+S: 10 OK LIST completed.
+
+# % returns all mailboxes matching
+C: a1 LIST "" %
+SUB {
+S: \* LIST \(\) \"\.\" listtest
+S: \* LIST \(\) \"\.\" listtest1
+S: \* LIST \(\) \"\.\" INBOX
+S: \* LIST \(\) \"\.\" funny
+}
+S: a1 OK List completed.
+
+C: a2 list "" funny.%
+SUB {
+S: \* LIST \(\) \"\.\" "\funny.name with gaps\"
+S: \* LIST \(\) \"\.\" \"funny.name\"
+}
+S: a2 OK List completed.
+
+C: a3 LIST "" *
+SUB {
+S: \* LIST \(\) \"\.\" listtest
+S: \* LIST \(\) \"\.\" listtest1
+S: \* LIST \(\) \"\.\" INBOX
+S: \* LIST \(\) \"\.\" funny
+S: \* LIST \(\) \"\.\" "\funny.name with gaps\"
+S: \* LIST \(\) \"\.\" "\funny.name with gaps\.more\"
+S: \* LIST \(\) \"\.\" \"funny.name\"
+}
+S: a3 OK List completed.
+
+C: a4 LIST "" funny.*
+SUB {
+S: \* LIST \(\) \"\.\" "\funny.name with gaps\"
+S: \* LIST \(\) \"\.\" "\funny.name with gaps\.more\"
+S: \* LIST \(\) \"\.\" \"funny.name\"
+}
+S: a4 OK List completed.
+
+# Cleanup
+C: 15 DELETE "funny.name with gaps.more"
+S: 15 OK DELETE completed.
+C: 15 DELETE "funny.name with gaps"
+S: 15 OK DELETE completed.
+C: 16 DELETE "funny.name"
+S: 16 OK DELETE completed.
+C: 14 DELETE funny
+S: 14 OK DELETE completed.
+C: a1 DELETE listtest1.subfolder1
+S: a1 OK DELETE completed.
+C: a1 DELETE listtest1
+S: a1 OK DELETE completed.
+C: a1 DELETE listtest.subfolder
+S: a1 OK DELETE completed.
+C: a1 DELETE listtest
+S: a1 OK DELETE completed.
\ No newline at end of file

Added: 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=591848&view=auto
==============================================================================
--- james/server/trunk/phoenix-deployment/src/test/org/apache/james/experimental/imapserver/ExperimentalListingTest.java
(added)
+++ james/server/trunk/phoenix-deployment/src/test/org/apache/james/experimental/imapserver/ExperimentalListingTest.java
Sun Nov  4 14:03:32 2007
@@ -0,0 +1,35 @@
+/****************************************************************
+ * 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.experimental.imapserver;
+
+import org.apache.james.test.functional.imap.AbstractTestListing;
+
+public class ExperimentalListingTest extends AbstractTestListing {
+
+    public ExperimentalListingTest() throws Exception {
+        super(HostSystemFactory.createStandardImap());
+    }
+
+    public void testListPlusUS() throws Exception {
+        // LIST is buggy
+    }
+
+    
+}



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


Mime
View raw message