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 er...@apache.org on 2010/08/16 17:20:20 UTC
svn commit: r985988 [1/2] - in /james/imap/trunk: deployment/
deployment/src/test/java/org/apache/james/imap/functional/inmemory/
deployment/src/test/java/org/apache/james/imap/functional/jcr/
deployment/src/test/java/org/apache/james/imap/functional/t...
Author: eric
Date: Mon Aug 16 15:20:18 2010
New Revision: 985988
URL: http://svn.apache.org/viewvc?rev=985988&view=rev
Log:
Move memory/torque/jcr tests from functional project to their store projects (IMAP-187)
Added:
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/AuthenticatedStateTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ConcurrentSessionsTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/EventTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ExpungeTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchBodySectionTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchBodyStructureTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchHeadersTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/JCRHostSystem.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/JCRStressTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ListingTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/NonAuthenticatedStateTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/PartialFetchTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/RenameTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SearchTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SecurityTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectedInboxTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectedStateTest.java
james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/UidSearchTest.java
james/imap/trunk/jcr/src/test/resources/
james/imap/trunk/jcr/src/test/resources/test-repository.xml
- copied unchanged from r985981, james/imap/trunk/deployment/src/test/resources/test-repository.xml
james/imap/trunk/memory/src/test/java/org/
james/imap/trunk/memory/src/test/java/org/apache/
james/imap/trunk/memory/src/test/java/org/apache/james/
james/imap/trunk/memory/src/test/java/org/apache/james/imap/
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/AuthenticatedStateTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ConcurrentSessionsTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/EventTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ExpungeTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchBodySectionTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchBodyStructureTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchHeadersTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/InMemoryHostSystem.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ListingTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/NonAuthenticatedStateTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/PartialFetchTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/RenameTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SearchTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SecurityTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SelectTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SelectedInboxTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SelectedStateTest.java
james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/UidSearchTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/AuthenticatedStateTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/ConcurrentSessionsTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/EventTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/ExpungeTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/FetchBodySectionTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/FetchBodyStructureTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/FetchHeadersTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/FetchTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/ListingTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/NonAuthenticatedStateTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/PartialFetchTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/RenameTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/SearchTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/SecurityTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/SelectTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/SelectedInboxTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/SelectedStateTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/imap/functional/torque/UidSearchTest.java
james/imap/trunk/torque/src/test/java/org/apache/james/mailboxmanager/torque/TorqueHostSystem.java
james/imap/trunk/torque/src/test/java/org/apache/james/mailboxmanager/torque/TorqueHostSystemFactory.java
james/imap/trunk/torque/src/test/java/org/apache/james/mailboxmanager/torque/TorqueMailboxManagerProviderSingleton.java
james/imap/trunk/torque/src/test/resources/org/
james/imap/trunk/torque/src/test/resources/org/apache/
james/imap/trunk/torque/src/test/resources/org/apache/james/
james/imap/trunk/torque/src/test/resources/org/apache/james/mailboxmanager/
james/imap/trunk/torque/src/test/resources/org/apache/james/mailboxmanager/testdata/
james/imap/trunk/torque/src/test/resources/org/apache/james/mailboxmanager/testdata/DefaultMailboxManagerConf.xml
james/imap/trunk/torque/src/test/resources/org/apache/james/mailboxmanager/testdata/MixedMailstores.xml
james/imap/trunk/torque/src/test/resources/org/apache/james/mailboxmanager/testdata/VirtualRepositoryMix.xml
Removed:
james/imap/trunk/deployment/src/test/java/org/apache/james/imap/functional/inmemory/
james/imap/trunk/deployment/src/test/java/org/apache/james/imap/functional/jcr/
james/imap/trunk/deployment/src/test/java/org/apache/james/imap/functional/torque/
james/imap/trunk/deployment/src/test/java/org/apache/james/mailboxmanager/torque/
james/imap/trunk/deployment/src/test/resources/org/
james/imap/trunk/deployment/src/test/resources/test-repository.xml
Modified:
james/imap/trunk/deployment/pom.xml
james/imap/trunk/jcr/pom.xml
james/imap/trunk/memory/pom.xml
james/imap/trunk/torque/pom.xml
Modified: james/imap/trunk/deployment/pom.xml
URL: http://svn.apache.org/viewvc/james/imap/trunk/deployment/pom.xml?rev=985988&r1=985987&r2=985988&view=diff
==============================================================================
--- james/imap/trunk/deployment/pom.xml (original)
+++ james/imap/trunk/deployment/pom.xml Mon Aug 16 15:20:18 2010
@@ -67,16 +67,6 @@
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
- <artifactId>apache-james-imap-torque</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.james</groupId>
- <artifactId>apache-james-imap-memory</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.james</groupId>
<artifactId>apache-james-imap-seda</artifactId>
<scope>test</scope>
</dependency>
@@ -86,11 +76,6 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.apache.james</groupId>
- <artifactId>apache-james-imap-jcr</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<scope>test</scope>
@@ -107,35 +92,12 @@
</dependency>
<dependency>
- <groupId>org.apache.torque</groupId>
- <artifactId>torque-runtime</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.openjpa</groupId>
- <artifactId>openjpa</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.jackrabbit</groupId>
- <artifactId>jackrabbit-core</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>runtime</scope>
Modified: james/imap/trunk/jcr/pom.xml
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/pom.xml?rev=985988&r1=985987&r2=985988&view=diff
==============================================================================
--- james/imap/trunk/jcr/pom.xml (original)
+++ james/imap/trunk/jcr/pom.xml Mon Aug 16 15:20:18 2010
@@ -45,9 +45,44 @@
</dependency>
<dependency>
+ <groupId>org.apache.torque</groupId>
+ <artifactId>torque-runtime</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-james-imap-deployment</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-james-imap-processor</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-james-imap-seda</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-james-imap-seda</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-james-imap-protocol-tester</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- </dependency>
+ </dependency>
<dependency>
<groupId>javax.jcr</groupId>
@@ -55,8 +90,18 @@
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
+ <artifactId>jackrabbit-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-james-imap-jcr</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-jcr-commons</artifactId>
</dependency>
+
</dependencies>
</project>
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/AuthenticatedStateTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/AuthenticatedStateTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/AuthenticatedStateTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/AuthenticatedStateTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,29 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.AuthenticatedState;
+
+public class AuthenticatedStateTest extends
+ AuthenticatedState {
+ public AuthenticatedStateTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ConcurrentSessionsTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ConcurrentSessionsTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ConcurrentSessionsTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ConcurrentSessionsTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,31 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.ConcurrentSessions;
+
+public class ConcurrentSessionsTest extends
+ ConcurrentSessions {
+
+ public ConcurrentSessionsTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/EventTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/EventTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/EventTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/EventTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.Events;
+
+public class EventTest extends Events {
+
+ public EventTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ExpungeTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ExpungeTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ExpungeTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ExpungeTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.Expunge;
+
+public class ExpungeTest extends Expunge {
+
+ public ExpungeTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchBodySectionTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchBodySectionTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchBodySectionTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchBodySectionTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,29 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.FetchBodySection;
+
+public class FetchBodySectionTest extends FetchBodySection {
+
+ public FetchBodySectionTest() throws Exception {
+ super(JCRHostSystem.build());
+
+ }
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchBodyStructureTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchBodyStructureTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchBodyStructureTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchBodyStructureTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,31 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.FetchBodyStructure;
+
+public class FetchBodyStructureTest extends
+ FetchBodyStructure {
+
+ public FetchBodyStructureTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchHeadersTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchHeadersTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchHeadersTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchHeadersTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.FetchHeaders;
+
+public class FetchHeadersTest extends FetchHeaders {
+
+ public FetchHeadersTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/FetchTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,29 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.Fetch;
+
+public class FetchTest extends Fetch {
+
+ public FetchTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/JCRHostSystem.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/JCRHostSystem.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/JCRHostSystem.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/JCRHostSystem.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,142 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import java.io.File;
+
+import org.apache.commons.io.FileUtils;
+import org.apache.commons.logging.impl.SimpleLog;
+import org.apache.jackrabbit.core.RepositoryImpl;
+import org.apache.jackrabbit.core.config.RepositoryConfig;
+import org.apache.james.imap.encode.main.DefaultImapEncoderFactory;
+import org.apache.james.imap.functional.ImapHostSystem;
+import org.apache.james.imap.functional.InMemoryUserManager;
+import org.apache.james.imap.jcr.GlobalMailboxSessionJCRRepository;
+import org.apache.james.imap.jcr.JCRMailboxManager;
+import org.apache.james.imap.jcr.JCRMailboxSessionMapperFactory;
+import org.apache.james.imap.jcr.JCRSubscriptionManager;
+import org.apache.james.imap.jcr.JCRUtils;
+import org.apache.james.imap.jcr.JCRVmNodeLocker;
+import org.apache.james.imap.mailbox.MailboxSession;
+import org.apache.james.imap.main.DefaultImapDecoderFactory;
+import org.apache.james.imap.processor.main.DefaultImapProcessorFactory;
+import org.apache.james.test.functional.HostSystem;
+import org.xml.sax.InputSource;
+
+public class JCRHostSystem extends ImapHostSystem{
+
+ public static HostSystem build() throws Exception {
+ return new JCRHostSystem();
+ }
+
+ private final JCRMailboxManager mailboxManager;
+ private final InMemoryUserManager userManager;
+
+ private static final String JACKRABBIT_HOME = "target/jackrabbit";
+ public static final String META_DATA_DIRECTORY = "target/user-meta-data";
+ private RepositoryImpl repository;
+
+ public JCRHostSystem() throws Exception {
+
+ delete(new File(JACKRABBIT_HOME));
+
+ try {
+
+ String user = "user";
+ String pass = "pass";
+ String workspace = null;
+ RepositoryConfig config = RepositoryConfig.create(new InputSource(this.getClass().getClassLoader().getResourceAsStream("test-repository.xml")), JACKRABBIT_HOME);
+ repository = RepositoryImpl.create(config);
+ GlobalMailboxSessionJCRRepository sessionRepos = new GlobalMailboxSessionJCRRepository(repository, workspace, user, pass);
+
+ // Register imap cnd file
+ JCRUtils.registerCnd(repository, workspace, user, pass);
+
+ userManager = new InMemoryUserManager();
+ JCRMailboxSessionMapperFactory mf = new JCRMailboxSessionMapperFactory(sessionRepos, new JCRVmNodeLocker());
+
+ //TODO: Fix the scaling stuff so the tests will pass with max scaling too
+ mailboxManager = new JCRMailboxManager(mf, userManager, new JCRSubscriptionManager(mf));
+ final DefaultImapProcessorFactory defaultImapProcessorFactory = new DefaultImapProcessorFactory();
+ resetUserMetaData();
+ MailboxSession session = mailboxManager.createSystemSession("test", new SimpleLog("TestLog"));
+ mailboxManager.startProcessingRequest(session);
+ //mailboxManager.deleteEverything(session);
+ mailboxManager.endProcessingRequest(session);
+ mailboxManager.logout(session, false);
+
+ defaultImapProcessorFactory.configure(mailboxManager);
+ configure(new DefaultImapDecoderFactory().buildImapDecoder(), new DefaultImapEncoderFactory().buildImapEncoder(), defaultImapProcessorFactory.buildImapProcessor());
+ } catch (Exception e) {
+ shutdownRepository();
+ throw e;
+ }
+ }
+
+
+ public boolean addUser(String user, String password) {
+ userManager.addUser(user, password);
+ return true;
+ }
+
+ public void resetData() throws Exception {
+ resetUserMetaData();
+
+ }
+
+ public void resetUserMetaData() throws Exception {
+ File dir = new File(META_DATA_DIRECTORY);
+ if (dir.exists()) {
+ FileUtils.deleteDirectory(dir);
+ }
+ dir.mkdirs();
+ }
+
+
+ @Override
+ public void afterTests() throws Exception {
+ shutdownRepository();
+ }
+
+ private void shutdownRepository() throws Exception{
+ if (repository != null) {
+ repository.shutdown();
+ repository = null;
+ }
+ }
+
+ private void delete(File home) throws Exception{
+ if (home.exists()) {
+ File[] files = home.listFiles();
+ if (files == null) return;
+ for (int i = 0;i < files.length; i++) {
+ File f = files[i];
+ if (f.isDirectory()) {
+ delete(f);
+ } else {
+ f.delete();
+ }
+ }
+ home.delete();
+ }
+ }
+
+
+
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/JCRStressTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/JCRStressTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/JCRStressTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/JCRStressTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,89 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import java.io.File;
+
+import javax.jcr.RepositoryException;
+
+import org.apache.commons.logging.impl.SimpleLog;
+import org.apache.jackrabbit.core.RepositoryImpl;
+import org.apache.jackrabbit.core.config.RepositoryConfig;
+import org.apache.james.imap.functional.AbstractStressTest;
+import org.apache.james.imap.jcr.GlobalMailboxSessionJCRRepository;
+import org.apache.james.imap.jcr.JCRMailboxManager;
+import org.apache.james.imap.jcr.JCRMailboxSessionMapperFactory;
+import org.apache.james.imap.jcr.JCRSubscriptionManager;
+import org.apache.james.imap.jcr.JCRUtils;
+import org.apache.james.imap.jcr.JCRVmNodeLocker;
+import org.apache.james.imap.jcr.MailboxSessionJCRRepository;
+import org.apache.james.imap.mailbox.MailboxSession;
+import org.apache.james.imap.store.StoreMailboxManager;
+import org.junit.After;
+import org.junit.Before;
+import org.xml.sax.InputSource;
+
+public class JCRStressTest extends AbstractStressTest{
+
+ private JCRMailboxManager mailboxManager;
+
+ private static final String JACKRABBIT_HOME = "target/jackrabbit";
+ public static final String META_DATA_DIRECTORY = "target/user-meta-data";
+ private RepositoryImpl repository;
+
+
+ @Before
+ public void setUp() throws RepositoryException {
+
+ new File(JACKRABBIT_HOME).delete();
+
+ String user = "user";
+ String pass = "pass";
+ String workspace = null;
+ RepositoryConfig config = RepositoryConfig.create(new InputSource(this.getClass().getClassLoader().getResourceAsStream("test-repository.xml")), JACKRABBIT_HOME);
+ repository = RepositoryImpl.create(config);
+
+ // Register imap cnd file
+ JCRUtils.registerCnd(repository, workspace, user, pass);
+
+ MailboxSessionJCRRepository sessionRepos = new GlobalMailboxSessionJCRRepository(repository, workspace, user, pass);
+ JCRMailboxSessionMapperFactory mf = new JCRMailboxSessionMapperFactory(sessionRepos, new JCRVmNodeLocker());
+ mailboxManager = new JCRMailboxManager(mf, null, new JCRSubscriptionManager(mf));
+
+ }
+
+
+ @After
+
+ public void tearDown() {
+ MailboxSession session = mailboxManager.createSystemSession("test", new SimpleLog("Test"));
+ session.close();
+ repository.shutdown();
+ new File(JACKRABBIT_HOME).delete();
+
+ }
+
+
+ @Override
+ protected StoreMailboxManager<?> getMailboxManager() {
+ return mailboxManager;
+ }
+
+
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ListingTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ListingTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ListingTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/ListingTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,28 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.Listing;
+
+public class ListingTest extends Listing{
+
+ public ListingTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/NonAuthenticatedStateTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/NonAuthenticatedStateTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/NonAuthenticatedStateTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/NonAuthenticatedStateTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.NonAuthenticatedState;
+
+public class NonAuthenticatedStateTest extends
+ NonAuthenticatedState {
+
+ public NonAuthenticatedStateTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/PartialFetchTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/PartialFetchTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/PartialFetchTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/PartialFetchTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.PartialFetch;
+
+public class PartialFetchTest extends PartialFetch {
+
+ public PartialFetchTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/RenameTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/RenameTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/RenameTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/RenameTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,12 @@
+package org.apache.james.imap.jcr;
+
+import org.apache.james.imap.functional.suite.Rename;
+
+public class RenameTest extends Rename {
+
+ public RenameTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+
+}
+
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SearchTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SearchTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SearchTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SearchTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,10 @@
+package org.apache.james.imap.jcr;
+
+import org.apache.james.imap.functional.suite.Search;
+
+public class SearchTest extends Search{
+
+ public SearchTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SecurityTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SecurityTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SecurityTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SecurityTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.Security;
+
+public class SecurityTest extends Security {
+
+ public SecurityTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,10 @@
+package org.apache.james.imap.jcr;
+
+import org.apache.james.imap.functional.suite.Select;
+
+public class SelectTest extends Select{
+
+ public SelectTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectedInboxTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectedInboxTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectedInboxTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectedInboxTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,29 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.SelectedInbox;
+
+public class SelectedInboxTest extends SelectedInbox {
+
+ public SelectedInboxTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectedStateTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectedStateTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectedStateTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/SelectedStateTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,29 @@
+/****************************************************************
+ * 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.imap.jcr;
+
+import org.apache.james.imap.functional.suite.SelectedState;
+
+public class SelectedStateTest extends SelectedState {
+
+ public SelectedStateTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+}
Added: james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/UidSearchTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/UidSearchTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/UidSearchTest.java (added)
+++ james/imap/trunk/jcr/src/test/java/org/apache/james/imap/jcr/UidSearchTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,10 @@
+package org.apache.james.imap.jcr;
+
+import org.apache.james.imap.functional.suite.UidSearch;
+
+public class UidSearchTest extends UidSearch{
+
+ public UidSearchTest() throws Exception {
+ super(JCRHostSystem.build());
+ }
+}
Modified: james/imap/trunk/memory/pom.xml
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/pom.xml?rev=985988&r1=985987&r2=985988&view=diff
==============================================================================
--- james/imap/trunk/memory/pom.xml (original)
+++ james/imap/trunk/memory/pom.xml Mon Aug 16 15:20:18 2010
@@ -43,5 +43,34 @@
<artifactId>apache-james-imap-store</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-james-imap-deployment</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-james-imap-processor</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-james-imap-seda</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-james-imap-seda</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-james-imap-protocol-tester</artifactId>
+ <scope>test</scope>
+ </dependency>
+
</dependencies>
</project>
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/AuthenticatedStateTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/AuthenticatedStateTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/AuthenticatedStateTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/AuthenticatedStateTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,29 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.AuthenticatedState;
+
+public class AuthenticatedStateTest extends
+ AuthenticatedState {
+ public AuthenticatedStateTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ConcurrentSessionsTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ConcurrentSessionsTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ConcurrentSessionsTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ConcurrentSessionsTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,31 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.ConcurrentSessions;
+
+public class ConcurrentSessionsTest extends
+ ConcurrentSessions {
+
+ public ConcurrentSessionsTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/EventTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/EventTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/EventTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/EventTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.Events;
+
+public class EventTest extends Events {
+
+ public EventTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ExpungeTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ExpungeTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ExpungeTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ExpungeTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.Expunge;
+
+public class ExpungeTest extends Expunge {
+
+ public ExpungeTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchBodySectionTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchBodySectionTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchBodySectionTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchBodySectionTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,31 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.FetchBodySection;
+
+public class FetchBodySectionTest extends
+ FetchBodySection {
+
+ public FetchBodySectionTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchBodyStructureTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchBodyStructureTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchBodyStructureTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchBodyStructureTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,31 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.FetchBodyStructure;
+
+public class FetchBodyStructureTest extends
+ FetchBodyStructure {
+
+ public FetchBodyStructureTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchHeadersTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchHeadersTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchHeadersTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchHeadersTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.FetchHeaders;
+
+public class FetchHeadersTest extends FetchHeaders {
+
+ public FetchHeadersTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/FetchTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,29 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.Fetch;
+
+public class FetchTest extends Fetch {
+
+ public FetchTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/InMemoryHostSystem.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/InMemoryHostSystem.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/InMemoryHostSystem.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/InMemoryHostSystem.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,64 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.encode.main.DefaultImapEncoderFactory;
+import org.apache.james.imap.functional.ImapHostSystem;
+import org.apache.james.imap.functional.InMemoryUserManager;
+import org.apache.james.imap.inmemory.InMemoryMailboxManager;
+import org.apache.james.imap.inmemory.InMemoryMailboxSessionMapperFactory;
+import org.apache.james.imap.inmemory.InMemorySubscriptionManager;
+import org.apache.james.imap.main.DefaultImapDecoderFactory;
+import org.apache.james.imap.processor.main.DefaultImapProcessorFactory;
+import org.apache.james.test.functional.HostSystem;
+
+public class InMemoryHostSystem extends ImapHostSystem {
+
+ private final InMemoryMailboxManager mailboxManager;
+ private final InMemoryUserManager userManager;
+ private final InMemoryMailboxSessionMapperFactory factory;
+ static HostSystem build() throws Exception {
+ InMemoryHostSystem host = new InMemoryHostSystem();
+ return host;
+ }
+
+ private InMemoryHostSystem() {
+ userManager = new InMemoryUserManager();
+ factory = new InMemoryMailboxSessionMapperFactory();
+ mailboxManager = new InMemoryMailboxManager(factory, userManager, new InMemorySubscriptionManager(factory));
+ final DefaultImapProcessorFactory defaultImapProcessorFactory = new DefaultImapProcessorFactory();
+ defaultImapProcessorFactory.configure(mailboxManager);
+ configure(new DefaultImapDecoderFactory().buildImapDecoder(),
+ new DefaultImapEncoderFactory().buildImapEncoder(),
+ defaultImapProcessorFactory.buildImapProcessor());
+ }
+
+ @Override
+ public boolean addUser(String user, String password) throws Exception {
+ userManager.addUser(user, password);
+ return true;
+ }
+
+ @Override
+ protected void resetData() throws Exception {
+ mailboxManager.deleteEverything();
+ }
+
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ListingTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ListingTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ListingTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/ListingTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.Listing;
+
+public class ListingTest extends Listing {
+
+ public ListingTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/NonAuthenticatedStateTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/NonAuthenticatedStateTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/NonAuthenticatedStateTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/NonAuthenticatedStateTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.NonAuthenticatedState;
+
+public class NonAuthenticatedStateTest extends
+ NonAuthenticatedState {
+
+ public NonAuthenticatedStateTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/PartialFetchTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/PartialFetchTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/PartialFetchTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/PartialFetchTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.PartialFetch;
+
+public class PartialFetchTest extends PartialFetch {
+
+ public PartialFetchTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/RenameTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/RenameTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/RenameTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/RenameTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.Rename;
+
+public class RenameTest extends Rename {
+
+ public RenameTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SearchTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SearchTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SearchTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SearchTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,29 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.Search;
+
+public class SearchTest extends Search {
+
+ public SearchTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+}
Added: james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SecurityTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SecurityTest.java?rev=985988&view=auto
==============================================================================
--- james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SecurityTest.java (added)
+++ james/imap/trunk/memory/src/test/java/org/apache/james/imap/functional/inmemory/SecurityTest.java Mon Aug 16 15:20:18 2010
@@ -0,0 +1,30 @@
+/****************************************************************
+ * 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.imap.functional.inmemory;
+
+import org.apache.james.imap.functional.suite.Security;
+
+public class SecurityTest extends Security {
+
+ public SecurityTest() throws Exception {
+ super(InMemoryHostSystem.build());
+ }
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org